![]() |
|
PhoenixGenerator
2.0.4
Set of tools to generate code
|
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, PClassConfig > | mapClass |
| 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. | |
All the genertor modes.
Definition at line 24 of file GeneratorMode.h.
| PString GeneratorMode::assertCall {"assert"} |
Assert to be used.
Definition at line 51 of file GeneratorMode.h.
Referenced by class_createTestClassCopy(), CppTraitFromString::testFunction(), and CppTraitTypeStream::testFunction().
| PString GeneratorMode::assertInclude {"assert.h"} |
Include of the assert to be used.
Definition at line 49 of file GeneratorMode.h.
Referenced by generator_class_testMain().
| PString GeneratorMode::defTemplate |
Template definition for the class header.
Definition at line 45 of file GeneratorMode.h.
Referenced by CppTraitCheckStream::classExtraFunctionDeclaration(), CppTraitTypeStream::classExtraFunctionDeclaration(), CppTraitConfigStream::classExtraFunctionImplementation(), CppTraitTypeStream::classExtraFunctionImplementation(), generator_class_cpp_header(), generator_class_cpp_source(), CppTraitCopy::protectedMethodDeclaration(), CppTraitCopy::protectedMethodImplementation(), CppTraitCopy::publicMethodDeclaration(), CppTraitCopy::publicMethodImplementation(), CppTraitGetter::publicMethodImplementation(), and CppTraitSetter::publicMethodImplementation().
| bool GeneratorMode::enableCheckStream {false} |
True to enable check stream interface generator.
Definition at line 34 of file GeneratorMode.h.
Referenced by CppTraitCheckStream::classExtraFunctionDeclaration(), CppTraitCheckStream::classExtraFunctionImplementation(), CppTraitCheckStream::headerExtraInclude(), CppTraitCheckStream::publicMethodDeclaration(), and CppTraitCheckStream::publicMethodImplementation().
| bool GeneratorMode::enableConfigStream {false} |
True to enable config stream interface generator.
Definition at line 30 of file GeneratorMode.h.
Referenced by CppTraitConfigStream::classExtraFunctionDeclaration(), CppTraitConfigStream::classExtraFunctionImplementation(), CppTraitConfigStream::headerExtraInclude(), CppTraitConfigStream::publicMethodDeclaration(), and CppTraitConfigStream::publicMethodImplementation().
| bool GeneratorMode::enableCopy {true} |
True to enable copy trait generator.
Definition at line 41 of file GeneratorMode.h.
Referenced by CppTraitCopy::protectedMethodDeclaration(), CppTraitCopy::protectedMethodImplementation(), CppTraitCopy::publicMethodDeclaration(), CppTraitCopy::publicMethodImplementation(), CppTraitCopy::testCallFunction(), and CppTraitCopy::testFunction().
| bool GeneratorMode::enableDataStream {false} |
True to enable data stream interface generator.
Definition at line 26 of file GeneratorMode.h.
Referenced by CppTraitDataStream::classExtraFunctionDeclaration(), CppTraitDataStream::classExtraFunctionImplementation(), WrapperTraitDataStream::classMethodDeclaration(), WrapperTraitDataStream::classMethodImplementation(), CppTraitDataStream::headerExtraInclude(), WrapperTraitDataStream::headerExtraInclude(), CppTraitDataStream::publicMethodDeclaration(), CppTraitDataStream::publicMethodImplementation(), WrapperTraitDataStream::registerClassGetterSetter(), WrapperTraitDataStream::registerClassMethod(), WrapperTraitDataStream::testCallFunction(), and WrapperTraitDataStream::testFunction().
| bool GeneratorMode::enableFromString {true} |
True to enable fromString trait generator.
Definition at line 43 of file GeneratorMode.h.
Referenced by CppTraitFromString::classExtraFunctionDeclaration(), CppTraitFromString::classExtraFunctionImplementation(), CppTraitFromString::testCallFunction(), and CppTraitFromString::testFunction().
| bool GeneratorMode::enableGetter {true} |
True to enable getters trait generator.
Definition at line 39 of file GeneratorMode.h.
Referenced by WrapperTraitGetterSetter::classMethodDeclaration(), WrapperTraitGetterSetter::classMethodImplementation(), WrapperTraitGetterSetter::headerExtraInclude(), CppTraitGetter::publicMethodDeclaration(), CppTraitGetter::publicMethodImplementation(), WrapperTraitGetterSetter::registerClassGetterSetter(), WrapperTraitGetterSetter::registerClassMember(), WrapperTraitGetterSetter::registerClassMethod(), CppTraitCopy::testCallFunction(), WrapperTraitGetterSetter::testCallFunction(), CppTraitCopy::testFunction(), and WrapperTraitGetterSetter::testFunction().
| bool GeneratorMode::enableSetter {true} |
True to enable setters trait generator.
Definition at line 37 of file GeneratorMode.h.
Referenced by WrapperTraitGetterSetter::classMethodDeclaration(), WrapperTraitGetterSetter::classMethodImplementation(), WrapperTraitGetterSetter::headerExtraInclude(), CppTraitSetter::publicMethodDeclaration(), CppTraitSetter::publicMethodImplementation(), WrapperTraitGetterSetter::registerClassGetterSetter(), WrapperTraitGetterSetter::registerClassMember(), WrapperTraitGetterSetter::registerClassMethod(), WrapperTraitGetterSetter::testCallFunction(), and WrapperTraitGetterSetter::testFunction().
| bool GeneratorMode::enableTypeStream {false} |
True to enable type stream interface generator.
Definition at line 28 of file GeneratorMode.h.
Referenced by CppTraitTypeStream::classExtraFunctionDeclaration(), CppTraitTypeStream::classExtraFunctionImplementation(), WrapperTraitTypeStream::classMethodDeclaration(), WrapperTraitTypeStream::classMethodImplementation(), CppTraitTypeStream::headerExtraInclude(), WrapperTraitTypeStream::headerExtraInclude(), CppTraitTypeStream::privateMethodDeclaration(), CppTraitTypeStream::privateMethodImplementation(), CppTraitTypeStream::protectedMethodDeclaration(), CppTraitTypeStream::protectedMethodImplementation(), WrapperTraitTypeStream::registerClassGetterSetter(), WrapperTraitTypeStream::registerClassMember(), WrapperTraitTypeStream::registerClassMethod(), WrapperTraitDataStream::setupAddDependency(), WrapperTraitTypeStream::setupAddDependency(), CppTraitTypeStream::testCallFunction(), WrapperTraitTypeStream::testCallFunction(), CppTraitTypeStream::testFunction(), and WrapperTraitTypeStream::testFunction().
| bool GeneratorMode::enableUnitTest {false} |
| 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().
| PString GeneratorMode::moduleName |
Name of the wrapper python module.
Definition at line 53 of file GeneratorMode.h.
Referenced by WrapperTraitDataStream::classMethodImplementation(), project_wrapper_generator_setuppy(), project_wrapper_moduleGeneratorMain(), WrapperTraitDataStream::testFunction(), wrapper_generator_class_cpp(), wrapper_generator_class_full(), and wrapper_generator_class_source().
| PString GeneratorMode::templateDeclaration |
Template declaration of the method implementation.
Definition at line 47 of file GeneratorMode.h.
Referenced by CppTraitCheckStream::classExtraFunctionDeclaration(), CppTraitTypeStream::classExtraFunctionDeclaration(), CppTraitConfigStream::classExtraFunctionImplementation(), CppTraitTypeStream::classExtraFunctionImplementation(), generator_class_cpp_header(), generator_class_cpp_source(), CppTraitCopy::protectedMethodImplementation(), CppTraitCopy::publicMethodImplementation(), CppTraitGetter::publicMethodImplementation(), and CppTraitSetter::publicMethodImplementation().
| ProjectType::ProjectType GeneratorMode::type {ProjectType::CPP} |
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().