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
 suggestions for parameters in overloaded virtual
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

bins
Ketchup Master

United Kingdom
77 Posts

Posted - Aug 18 2015 :  06:16:03 AM  Show Profile  Reply with Quote
Hi

If I have this ...


struct foo
{
	virtual void bar(int a, int b);
};


and then type this


struct baz : public foo
{
	void bar()
};


it would be nice if VA would suggest the parameters from foo::bar when I type bar(


Edited by - bins on Aug 18 2015 06:16:26 AM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 18 2015 :  1:38:06 PM  Show Profile  Reply with Quote
Are you aware of Implement Virtual Methods? You can trigger it over foo in the derived class.

You can learn more about this here:
http://docs.wholetomato.com/default.asp?W165
Go to Top of Page

bins
Ketchup Master

United Kingdom
77 Posts

Posted - Aug 19 2015 :  04:02:50 AM  Show Profile  Reply with Quote
I didn't know about that but when I tried it I didn't get the same dialog - the option to implement virtual methods is missing.





I'm on the latest version of va_x :-


License: [email protected] (4-user license) Support ends 2015.09.12
VA_X.dll file version 10.9.2068.0 built 2015.06.09
DevEnv.exe version 12.0.31101.0 Ultimate
msenv.dll version 12.0.31101.0
Comctl32.dll version 6.10.7601.18837
Windows 7 6.1 Build 7601 Service Pack 1
8 processors (x86-64, WOW64)
Language info: 1252, 0x809

Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 21 2015 :  2:45:46 PM  Show Profile  Reply with Quote
Try triggering it on foo, not baz
Go to Top of Page

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Aug 21 2015 :  2:54:16 PM  Show Profile  Reply with Quote
It should work on "baz" as well, so I have put in a bug report for this:

case=91532
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Nov 20 2015 :  4:04:27 PM  Show Profile  Reply with Quote
case=91532 is fixed in build 2083
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