Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Add cmd [move member-func to other class] Refactor

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
jzq740176597 Posted - Nov 29 2012 : 8:50:57 PM
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.
1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Nov 30 2012 : 6:28:27 PM
Reasonable idea, I have put in a feature request for this:

case=70964

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000