![]() |
Telelogic Rhapsody (steve huntington) | ![]() |
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 |
![]() |
![]()
|
![]() |
|
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. |
|
![]() |
|
![]() |
|
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: ![]() And try not using an empty sting as this lets Rhapsody pick up a default template. ... I could imagine it works. |
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.