Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tool to create a superclass?
Message
De
14/12/2020 06:49:34
 
 
À
12/12/2020 01:39:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01677529
Message ID:
01677562
Vues:
95
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform