Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tool to create a superclass?
Message
From
14/12/2020 06:49:34
 
 
To
12/12/2020 01:39:31
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01677529
Message ID:
01677562
Views:
96
>>I have two classes that are subclasses of a common parent, but have realized that I really need to add another level in the hierarchy to be the parent of these two, but not of the other children of the common parent. That is, I want to insert a class into the class hierarchy.
>>
>>Wondering if someone has a tool that can take the original two classes and create the common parent with all the shared PEMs that are new in these classes. (That is, if both classes have a new property called Fred, I want to put a property called Fred in the new parent.)
>>
>>Yes, I know I could write my own (and started scribbling in this direction today), but if someone's already done it, then I don't want to reinvent the wheel.
>>
>>Tamar
>
>Isn't that what Thor's tool "Copy for comparing..." and "Compare with copied..." are for? I remember reading your white paper recently.
>
>http://www.tomorrowssolutionsllc.com/Articles/Try%20Thors%20Terrific%20Tools%20Part%202.pdf

They actually give the opposite of what I'm looking for, a list of differences. I want the matching PEMs and only those added at that level. Even better, I want a tool that would take the two classes as input and create the new parent class with all the common PEMs added there.

Tamar
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform