CppHModule

Code structure for generation of a C++ header.

The content is structed as: doc header ifdef_guardbegin content ifdef_guard end

Note that the indent is suppressed.

Constructors

this
this(string ifdef_guard)

Members

Functions

render
auto render()

Render the content as a string.

Variables

content
CppModule content;

Main code content.

doc
CppModule doc;

Document root.

header
CppModule header;

Usually a copyright header.

Meta