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
 1530: refactoring encapsulate field with namespace
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

chowette
New Member

6 Posts

Posted - Jul 13 2006 :  03:50:32 AM  Show Profile  Reply with Quote
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; }
};

support
Whole Tomato Software

5566 Posts

Posted - Jul 13 2006 :  8:43:19 PM  Show Profile  Reply with Quote
case=1483
Go to Top of Page

pogothemonkey
Senior Member

31 Posts

Posted - Jul 14 2006 :  1:35:46 PM  Show Profile  Reply with Quote
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 ::
Go to Top of Page

support
Whole Tomato Software

5566 Posts

Posted - Jul 14 2006 :  2:18:34 PM  Show Profile  Reply with Quote
pogothemonkey: What build of VA X do you have?
Go to Top of Page

chowette
New Member

6 Posts

Posted - Aug 18 2006 :  04:45:27 AM  Show Profile  Reply with Quote
The problem is still in VA 1532
Go to Top of Page

jpizzi
Tomato Guru

USA
642 Posts

Posted - Aug 19 2006 :  02:13:41 AM  Show Profile  Reply with Quote
Yep. The fix is not out quite yet.

Joe Pizzi
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Aug 19 2006 :  4:40:35 PM  Show Profile  Reply with Quote
we are hoping for a fix in the next build

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

support
Whole Tomato Software

5566 Posts

Posted - Aug 27 2006 :  7:14:20 PM  Show Profile  Reply with Quote
Fixed in build 1533.
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