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
 Add cmd [move member-func to other class] Refactor
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jzq740176597
Tomato Guru

China
346 Posts

Posted - Nov 29 2012 :  8:50:57 PM  Show Profile  Reply with Quote
I advise VA Add an function [move member-func to other class] on Refactor menus.

In the Refactor process.Sometimes WE think some member-function is more reasonable to place other class.So If I need accomplish this.
I must change the 3 place and 3 more steps as least.

(1)Change the class-name to new in cpp where the function body located.
(2)copy the declare in old class .and paste it on new class.
(3)move the function body to the right place.

BOOL CalBase::ValidateFlangeWeld(const CForce &F, double*pAf/*=NULL*/)const


So VA may deal with this.Like"Move the imp to source".
This make sense.
Really in practice,I almost need move a group functoins with similar-feature,may 2.,3 or 4...functions.
Is really tedious and low-level efficiency.

Creation come from persist!

Edited by - jzq740176597 on Nov 29 2012 8:54:21 PM

accord
Whole Tomato Software

United Kingdom
3287 Posts

Posted - Nov 30 2012 :  6:28:27 PM  Show Profile  Reply with Quote
Reasonable idea, I have put in a feature request for this:

case=70964
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