![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
Topic Title: Using Rhapsody with Libraries::Inheriting from classes specified inside a library Topic Summary: Created On: 30-Aug-2004 21:44 Status: Read Only |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Greetings.
I need to work from a library built by another division that contains classes and other defintions that will be used by my Rhapsody generated application. In particular I need to be able to specify that some of the Rhapsody generated classes inherit from classes defined in the library. Can I do this? If so how? Examples would be appreciated. Thanks in advance for you help. |
|
![]() |
|
![]() |
|
You could reverse engineer the code for the library as an external reference.
|
|
![]() |
|
![]() |
|
Chris,
I like doing the Reverse Engineering but here are some other simple options. Have you thought about using the property CPP_CG->Class->AdditionalBaseClasses? You can type in any class name you like and it will be inherited from. You also could create the class by hand and set the CPP_CG->Class->UseAsExternal property to TRUE and then inherit from it. You could also use the package property by the same name to specify a whole package of classes like that are external. Thanks, Marty |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.