IBM Support

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

Technote (FAQ)


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

Historical Number

10099

Document information

More support for: Rational Rhapsody
General Information

Software version: Version Independent

Operating system(s): Platform Independent

Reference #: 1323496

Modified date: 27 October 2010