IBM Support

How do you automatically generate a #include file.h for a class?

Question & Answer


Question

How do you automatically generate a #include file.h for a class?

Answer

The ImpIncludes and SpecIncludes property (under CPP_CG:Class/ CPP_CG::Package) specifies the locations and names of header files to be #include'ed at the top of implementation/specification files generated for the respective model element. Multiple file names should be separated using commas, without spaces.

131AnswerProduct versionPartner ContentInternal ContentCategoryReference IDAuthor

[{"Product":{"code":"SSB2MU","label":"IBM Engineering Systems Design Rhapsody"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Historical Number

10099

Product Synonym

Rational Rhapsody

Document Information

Modified date:
27 May 2022

UID

swg21323496