Topic
1 reply Latest Post - ‏2012-12-14T15:47:12Z by MaitreBart
MaitreBart
MaitreBart
60 Posts
ACCEPTED ANSWER

Pinned topic Problem: Rhapsody generate all the code of a class in a single header file

‏2012-12-13T22:54:35Z |
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.
Updated on 2012-12-14T15:47:12Z at 2012-12-14T15:47:12Z by MaitreBart
  • MaitreBart
    MaitreBart
    60 Posts
    ACCEPTED ANSWER

    Re: Problem: Rhapsody generate all the code of a class in a single header file

    ‏2012-12-14T15:47:12Z  in response to MaitreBart
    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.