Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 VA Outline: special icon label for const items.
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Esone
Tomato Guru

Russia
115 Posts

Posted - Jan 22 2008 :  09:15:29 AM  Show Profile  Reply with Quote
Would be helpful, if VA Outline displayed specific sign in an icon for const variables and members. This can be some letter 'c' in the right top corner of the icon.

int const a;
class A
{
static const int m_ca;

void f_c() const;
};

feline
Whole Tomato Software

United Kingdom
18946 Posts

Posted - Jan 22 2008 :  09:29:25 AM  Show Profile  Reply with Quote
This is the same as picking out virtual and static members really, which we are considering:

case=7996

zen is the art of being at one with the two'ness
Go to Top of Page

Esone
Tomato Guru

Russia
115 Posts

Posted - Jan 22 2008 :  09:39:56 AM  Show Profile  Reply with Quote
Yes, it is similar. You should just attach to the case=7996 the list of all categories to reflect:

static
virtual
const
mutable
volatile

and allow somehow for their combinations, like: virtual void my_method() const;
Go to Top of Page

Esone
Tomato Guru

Russia
115 Posts

Posted - Jan 22 2008 :  09:48:10 AM  Show Profile  Reply with Quote
A couple more points to consider for this feature:

1) It should work in cpp-s, as well as in .h-s:
case=5755 (http://forum.wholetomato.com/forum/topic.asp?TOPIC_ID=6537)

2) The method in derived class should be marked as virtual even if no "virtual" keyword presents for this method, but it is virtual in a base class.

I am writing that to collect all related ideas in one point, this may be a help for developers. :)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18946 Posts

Posted - Jan 22 2008 :  8:52:40 PM  Show Profile  Reply with Quote
I have added a note about these other keywords.

Showing this information in a different file, access information while in a cpp file for example, is:

case=5755

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000