PhoenixGenerator  3.4.0
Generate code from template files and projects in C++, Rust, Python and wrapped C++ to Python
Loading...
Searching...
No Matches
GeneratorMode Struct Reference

All the genertor modes. More...

#include <GeneratorMode.h>

Public Attributes

PString assertCall {"assert"}
 Assert to be used.
PString assertInclude {"assert.h"}
 Include of the assert to be used.
PString defTemplate
 Template definition for the class header.
bool enableCheckStream {false}
 True to enable check stream interface generator.
bool enableConfigStream {false}
 True to enable config stream interface generator.
bool enableCopy {true}
 True to enable copy trait generator.
bool enableDataStream {false}
 True to enable data stream interface generator.
bool enableFromString {true}
 True to enable fromString trait generator.
bool enableGetter {true}
 True to enable getters trait generator.
bool enableSetter {true}
 True to enable setters trait generator.
bool enableTypeStream {false}
 True to enable type stream interface generator.
bool enableUnitTest {false}
 True to enable the unit tests.
MapClassConfig mapClass
 Map of the generated class in the wrapper mode.
PString moduleName
 Name of the wrapper python module.
PString templateDeclaration
 Template declaration of the method implementation.
ProjectType::ProjectType type {ProjectType::CPP}
 Type of the project to be generated.

Detailed Description

All the genertor modes.

Definition at line 28 of file GeneratorMode.h.

Member Data Documentation

◆ assertCall

PString GeneratorMode::assertCall {"assert"}

◆ assertInclude

PString GeneratorMode::assertInclude {"assert.h"}

Include of the assert to be used.

Definition at line 53 of file GeneratorMode.h.

Referenced by generator_class_testMain().

◆ defTemplate

◆ enableCheckStream

◆ enableConfigStream

◆ enableCopy

bool GeneratorMode::enableCopy {true}

True to enable copy trait generator.

Definition at line 45 of file GeneratorMode.h.

Referenced by CppTraitCopy::testCallFunction(), and CppTraitCopy::testFunction().

◆ enableDataStream

◆ enableFromString

bool GeneratorMode::enableFromString {true}

◆ enableGetter

◆ enableSetter

◆ enableTypeStream

◆ enableUnitTest

bool GeneratorMode::enableUnitTest {false}

◆ mapClass

MapClassConfig GeneratorMode::mapClass

Map of the generated class in the wrapper mode.

Definition at line 61 of file GeneratorMode.h.

Referenced by WrapperTraitDataStream::testFunction(), and wrapper_generator_class_cpp_test().

◆ moduleName

◆ templateDeclaration

◆ type


The documentation for this struct was generated from the following file:
  • /builds/CTA-LAPP/PHOENIX_LIBS2/code-generator/PhoenixGenerator/src/Representation/GeneratorMode.h