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
 hovering class browser lost class members
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jun 22 2004 :  5:32:04 PM  Show Profile
i don't use VA View much at work, due to the small monitor. apparently they are sorting out a decent monitor for me... (tries not to look to cynical)

until that happens i only use VA View at home, so perhaps i am missing something obvious.

using .NET 2002 and VAX 1239 i am writing a small C++ project for myself.

when i am in my .h file i am seeing:



but when i swap to the matching cpp file, via alt_o i am seeing:



in both cases the HCB says it is telling me about the same class. however, when i am in my cpp file my class doesn't have any member variables

i have VS open in the background currently, and VAX has had a good 5 minutes, if not longer to catch up with its self, and i am still seeing this effect.

support, i can email in the relevant source code if it helps. in case we try this, i am seeing this with the caret at line 21 in the cpp file, and line 18 in the .h file.

the project compiles and works as expected. it doesn't to that much yet, but what it does works. so i don't think i have got any duplicate class names, or anything silly like that.

zen is the art of being at one with the two'ness

feline
Whole Tomato Software

United Kingdom
18939 Posts

Posted - Jun 22 2004 :  6:29:14 PM  Show Profile
i have found the problem. this only goes wrong when i am in the class constructor.

//*****************************************************************************
// public:
//*****************************************************************************
CdIndexDirData::CdIndexDirData()
    : QObject()
{
    m_Parent = NULL;
    m_Children.setAutoDelete(true);
    m_Contents.setAutoDelete(true);
}


this is how i structure constructors for derived classes. i presume the problem is triggered by the ": Object()" line.

*experiments*
doh!

if i edit the code to put ": Object()" on the same line as the function definition the HCB still looses the class members

i have quit and reloaded the IDE already, which didn't help. also telling VAX to re-parse the cpp file isn't making any difference either.

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