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
 1532: Extract Method question
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mindcrime
Senior Member

33 Posts

Posted - Aug 14 2006 :  01:58:55 AM  Show Profile  Reply with Quote
When I extract a method (in C++), the extracted code for the method is put in the header file, not in the cpp file like I would expect. Is this normal behavior? Is there an option to include just the declaration in the header and put the implementation in the cpp file? Or is that something that needs to be done manually?

Edited by - Mindcrime on Aug 14 2006 02:01:00 AM

support
Whole Tomato Software

5566 Posts

Posted - Aug 14 2006 :  09:49:01 AM  Show Profile  Reply with Quote
The behavior is by design. Use "Move Implementation to Source File" after the Extract.

See the paragraph titled, "New Method Remains in Header for C/C++," in the documentation:

www.wholetomato.com/products/features/extractMethod.html?more=yes
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