Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic Rhapsody (steve huntington)
Decrease font size
Increase font size
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
Search Topic Search Topic
Topic Tools Topic Tools
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 30-Aug-2004 21:44
User is offline View Users Profile Print this message


Christopher Carson

Posts: 269
Joined: 30-Jun-2004

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.
Report this to a Moderator Report this to a Moderator
 30-Aug-2004 21:44
User is offline View Users Profile Print this message


Paul Urban

Posts: 220
Joined: 30-Jun-2004

You could reverse engineer the code for the library as an external reference.
Report this to a Moderator Report this to a Moderator
 30-Aug-2004 21:45
User is offline View Users Profile Print this message


Martin Bakal

Posts: 333
Joined: 11-Jun-2004

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
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 1 users logged in.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.