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
 find all c'tor and ~c'tor
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

sshaked
New Member

2 Posts

Posted - Jun 13 2018 :  06:51:29 AM  Show Profile  Reply with Quote
Hi friends,

How can I find all the c'tor in visual studio's project that have only 1 string argument?

Thank

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Jun 13 2018 :  08:43:28 AM  Show Profile  Reply with Quote
Do you mean all constructors for a given class? All constructors for a class and all of the classes derived from it? Or actually all constructors of all types?

Also you you mean the declarations, or all calls as well?

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

sshaked
New Member

2 Posts

Posted - Jun 13 2018 :  09:54:27 AM  Show Profile  Reply with Quote
all constructors of all classes

I review a report and I need to check some titles like: void !ctor(string)
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19021 Posts

Posted - Jun 13 2018 :  3:36:48 PM  Show Profile  Reply with Quote
Unfortunately this isn't something VA is designed to help you find. I don't think the IDE is designed to do this either.

If you can assume these are single line strings, I would start by doing a regular expression search for all string literals wrapped in round brackets. Using a regular expression will let you filter out certain types of false positive.

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