PhoenixGenerator  2.8.0
Set of tools to generate code
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 27 of file GeneratorMode.h.

Member Data Documentation

◆ assertCall

PString GeneratorMode::assertCall {"assert"}

Assert to be used.

Definition at line 54 of file GeneratorMode.h.

54{"assert"};

Referenced by class_createTestClassCopy(), CppTraitFromString::testFunction(), and CppTraitTypeStream::testFunction().

◆ assertInclude

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

Include of the assert to be used.

Definition at line 52 of file GeneratorMode.h.

52{"assert.h"};

Referenced by generator_class_testMain().

◆ defTemplate

◆ enableCheckStream

◆ enableConfigStream

◆ enableCopy

◆ enableDataStream

◆ enableFromString

bool GeneratorMode::enableFromString {true}

◆ enableGetter

◆ enableSetter

◆ enableTypeStream

◆ enableUnitTest

bool GeneratorMode::enableUnitTest {false}

True to enable the unit tests.

Definition at line 35 of file GeneratorMode.h.

35{false};

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

◆ mapClass

MapClassConfig GeneratorMode::mapClass

Map of the generated class in the wrapper mode.

Definition at line 60 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