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.
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 2700058UJ376 Posts
Re: Problem: Rhapsody generate all the code of a class in a single header file2012-12-14T15:47:12ZThis is the accepted answer. This is the accepted answer.My 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.