My coworker created a new class in his project.
When he generates the code, Rhapsody puts everything in the .h file (specification and implementation, one after the other).
All the other classes' code in the project are generated in 2 files (.cpp and .h).
Is there an option to disable on that class in order for Rhapsody to generate the code in 2 files?
Or is it a bug?
We're using Rhapsody 7.5.1.
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
1 reply Latest Post - 2012-12-14T15:47:12Z by MaitreBart
Pinned topic Problem: Rhapsody generate all the code of a class in a single header file
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-12-14T15:47:12Z at 2012-12-14T15:47:12Z by MaitreBart
MaitreBart 2700058UJ367 PostsACCEPTED ANSWER
Re: Problem: Rhapsody generate all the code of a class in a single header file2012-12-14T15:47:12Z in response to MaitreBartMy colleague tried to split the generated file into the 2 files (.cpp and .h) and did a round trip.
It worked partially on the first try (i.e. not all the specification content ended up in the .cpp file).
After subsequent round trips, all the implementation part that was in the .h file ended up in the .cpp file.