PhoenixGenerator  2.0.4
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.
 
std::map< std::string, PClassConfigmapClass
 Map of the generated class.
 
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 24 of file GeneratorMode.h.

Member Data Documentation

◆ assertCall

PString GeneratorMode::assertCall {"assert"}

Assert to be used.

Definition at line 51 of file GeneratorMode.h.

51{"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 49 of file GeneratorMode.h.

49{"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 32 of file GeneratorMode.h.

32{false};

◆ mapClass

std::map<std::string, PClassConfig> GeneratorMode::mapClass

Map of the generated class.

Definition at line 57 of file GeneratorMode.h.

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

◆ moduleName

◆ templateDeclaration

◆ type

Type of the project to be generated.

Definition at line 55 of file GeneratorMode.h.

Referenced by generateClassGeneratorScript(), simple_project_generate_source(), and simple_project_generator().


The documentation for this struct was generated from the following file: