Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 1530: refactoring encapsulate field with namespace

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
chowette Posted - Jul 13 2006 : 03:50:32 AM
Hello,

I am using VA 1530 in Visual 2005 with C++

I have noticed a bug in the "encapsulate field" feature when using namespace:


namespace Nasa{
	class Shuttle{
		int crashCount;
	};
}

class Congress{
	Nasa::Shuttle	lastShuttle;
};


The encapsulate field on the lastShuttle leads to


class Congress{
	Nasa::Shuttle	lastShuttle;
        Nasa.Shuttle LastShuttle() const { return lastShuttle; }
	void LastShuttle(Nasa.Shuttle val) { lastShuttle = val; }
};


Instead of


class Congress{
	Nasa::Shuttle	lastShuttle;
        Nasa::Shuttle LastShuttle() const { return lastShuttle; }
	void LastShuttle(Nasa::Shuttle val) { lastShuttle = val; }
};

7   L A T E S T    R E P L I E S    (Newest First)
support Posted - Aug 27 2006 : 7:14:20 PM
Fixed in build 1533.
feline Posted - Aug 19 2006 : 4:40:35 PM
we are hoping for a fix in the next build
jpizzi Posted - Aug 19 2006 : 02:13:41 AM
Yep. The fix is not out quite yet.
chowette Posted - Aug 18 2006 : 04:45:27 AM
The problem is still in VA 1532
support Posted - Jul 14 2006 : 2:18:34 PM
pogothemonkey: What build of VA X do you have?
pogothemonkey Posted - Jul 14 2006 : 1:35:46 PM
I don't know if this is the same bug but I have a variable that is declard as


osg::ref_ptr<Producer::Trackball>   m_pTrackball;


the info that pops up when hovering over the variable also denotes it as being


osg::ref_ptr<Producer.Trackball> .... 


Note the period instead of ::
support Posted - Jul 13 2006 : 8:43:19 PM
case=1483

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000