pwaugh
Ketchup Master
USA
68 Posts |
Posted - Feb 27 2008 : 4:32:18 PM
|
Let's say I have two classes, DinnerParty and BirthdayParty, that I now realize I'd like to refactor common code to a super class Party.
I would just create the new class, and then manually cut & paste, but I'm wondering if VAX can help me in any way to do this.
Patrick
|
Programming in C++
VA_X.dll 10.4.1626.0 Built 2008.01.17
(1-user license) Support ends 2009.01.29
DevEnv.exe version 9.0.21022.8 msenv.dll version 9.0.21022.8 Comctl32.dll version 6.0.2900.2982 Windows XP 5.1 Build 2600 Service Pack 2 Single processor Platform: Win32
|
|
feline
Whole Tomato Software
United Kingdom
19022 Posts |
Posted - Feb 28 2008 : 11:05:55 AM
|
I would be tempted to either copy one entire class, and use that as a basis for forming the new base class, or else to use VA Outline to copy specific functions from the existing classes and paste them into the new base class. |
zen is the art of being at one with the two'ness |
|
|