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: Preventing Generation of Description Template on Autogenerated Items
Topic Summary:
Created On: 30-Nov-2006 15:06
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-Nov-2006 15:06
User is offline View Users Profile Print this message


Franklin Bidwell

Posts: 4
Joined: 16-Aug-2005

We are using Rhapdody C++ version 6.2.

In our project we want to have our special headers added to every class and operation in each class. We are doing this by setting the DescriptionTemplate property to put out our headers. We also setup some custom tags that the template uses in order to fill in some special information we want in the header.

The problem is that Rhapsody is also putting these headers on all of its autogenerated code. This makes the headers look bad, since none of the autogenerated code has our tags set on them. This is really a problem when using ports with a lot of interface operations on them.

Is there a way to get Rhapsody to not put the Template stuff on ports? I tried overridding the class->descriptiontemplate property on the port but it had no effect.
Report this to a Moderator Report this to a Moderator
 1-Dec-2006 08:08
User is offline View Users Profile Print this message


Volker Subat

Posts: 13
Joined: 20-Jan-2006

Hello there,

I'm not sure if it helps you but you could at least try overriding all DescriptionTemplates you find in the Properties of a Port. Not only <lang>_CG::Class but <lang>_CG::Attribute, <lang>_CG:peration and so on.

And try not using an empty sting as this lets Rhapsody pick up a default template.

... I could imagine it works.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic Rhapsody forum.
There are currently 0 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.