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
 Technical Support
 1624 VA Outline View
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2322 Posts

Posted - Dec 20 2007 :  6:17:44 PM  Show Profile  Reply with Quote
Namespaces defined in macros are not resolved or shown in the view.
example:
#define BEGIN_XYZ namespace XYZ {
#define END_XYZ }

BEGIN_XYZ
class xxx {};
END_XYZ


Here, class xxx is not shown to be inside the namespace XYZ.

Another weird thing is the way classes are shown when they have base classes. Depending on how the base class(es) are written, the VA view shows the class differently.

examples:

class myClass1 : public std::string {};
class myClass2 :
   public std::string 
{
};


Seems the VA view simply shows everything after the keyword class until the end of the line.

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Dec 21 2007 :  11:17:26 AM  Show Profile  Reply with Quote
The macro's and namespaces, I am inclined to say this is the correct behaviour for VA Outline. It is showing you the file outline as it actually exists, rather than what the compiler (pre-processor strictly speaking) turns the file into.


The derived class where the parent class is wrapped onto the next name, I have put a bug report in for this, since it is reasonable to expect VA Outline to show the parent class:

case=10787

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