![]() |
|
PhoenixGenerator
2.0.4
Set of tools to generate code
|
Manager of the Trait backends. More...
#include <PWrapperTraitBackendManager.h>
Public Member Functions | |
| template<class Backend> | |
| void | addTraitBackend () |
| Add a trait backend into the PWrapperTraitBackendManager. | |
| void | classMethodDeclaration (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Declaration of class method. | |
| void | classMethodImplementation (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Implementation of class method. | |
| void | clear () |
| Clear the PWrapperTraitBackendManager. | |
| void | headerExtraInclude (std::ofstream &fs, const GeneratorMode &mode) const |
| Add extra include on the header. | |
| PWrapperTraitBackendManager () | |
| Default constructor of PWrapperTraitBackendManager. | |
| void | registerClassGetterSetter (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Register class getter and setter. | |
| void | registerClassMember (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Register class member. | |
| void | registerClassMethod (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Register class method. | |
| void | setupAddDependency (std::ofstream &fs, const GeneratorMode &mode) const |
| Add dependency in the setup.py. | |
| void | testCallFunction (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Call of the test function. | |
| void | testFunction (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Implementation of test function. | |
| virtual | ~PWrapperTraitBackendManager () |
| Destructor of PWrapperTraitBackendManager. | |
Private Member Functions | |
| void | initialisationPWrapperTraitBackendManager () |
| Initialisation function of the class PWrapperTraitBackendManager. | |
Private Attributes | |
| PVecWrapperTraitBackend | p_vecTrait |
| Vector of the Trait backend. | |
Manager of the Trait backends.
Definition at line 15 of file PWrapperTraitBackendManager.h.
| PWrapperTraitBackendManager::PWrapperTraitBackendManager | ( | ) |
Default constructor of PWrapperTraitBackendManager.
Definition at line 11 of file PWrapperTraitBackendManager.cpp.
References initialisationPWrapperTraitBackendManager().
Here is the call graph for this function:
|
virtual |
Destructor of PWrapperTraitBackendManager.
Definition at line 16 of file PWrapperTraitBackendManager.cpp.
References clear().
Here is the call graph for this function:
|
inline |
Add a trait backend into the PWrapperTraitBackendManager.
Definition at line 22 of file PWrapperTraitBackendManager.h.
References p_vecTrait.
Referenced by simple_project_generate_source().
Here is the caller graph for this function:| void PWrapperTraitBackendManager::classMethodDeclaration | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) const |
Declaration of class method.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Definition at line 35 of file PWrapperTraitBackendManager.cpp.
References p_vecTrait.
Referenced by wrapper_generator_class_header().
Here is the caller graph for this function:| void PWrapperTraitBackendManager::classMethodImplementation | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) const |
Implementation of class method.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Definition at line 46 of file PWrapperTraitBackendManager.cpp.
References p_vecTrait.
Referenced by wrapper_generator_class_source().
Here is the caller graph for this function:| void PWrapperTraitBackendManager::clear | ( | ) |
Clear the PWrapperTraitBackendManager.
Definition at line 118 of file PWrapperTraitBackendManager.cpp.
References p_vecTrait.
Referenced by ~PWrapperTraitBackendManager().
Here is the caller graph for this function:| void PWrapperTraitBackendManager::headerExtraInclude | ( | std::ofstream & | fs, |
| const GeneratorMode & | mode ) const |
Add extra include on the header.
| [out] | fs | : file to be completed |
| mode | : mode of the generator |
Definition at line 24 of file PWrapperTraitBackendManager.cpp.
References p_vecTrait.
Referenced by wrapper_generator_class_headerFile().
Here is the caller graph for this function:
|
private |
Initialisation function of the class PWrapperTraitBackendManager.
Definition at line 126 of file PWrapperTraitBackendManager.cpp.
Referenced by PWrapperTraitBackendManager().
Here is the caller graph for this function:| void PWrapperTraitBackendManager::registerClassGetterSetter | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) const |
Register class getter and setter.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Definition at line 68 of file PWrapperTraitBackendManager.cpp.
References p_vecTrait.
Referenced by wrapper_generator_class_source().
Here is the caller graph for this function:| void PWrapperTraitBackendManager::registerClassMember | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) const |
Register class member.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Definition at line 57 of file PWrapperTraitBackendManager.cpp.
References p_vecTrait.
Referenced by wrapper_generator_class_source().
Here is the caller graph for this function:| void PWrapperTraitBackendManager::registerClassMethod | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) const |
Register class method.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Definition at line 79 of file PWrapperTraitBackendManager.cpp.
References p_vecTrait.
Referenced by wrapper_generator_class_source().
Here is the caller graph for this function:| void PWrapperTraitBackendManager::setupAddDependency | ( | std::ofstream & | fs, |
| const GeneratorMode & | mode ) const |
Add dependency in the setup.py.
| [out] | fs | : file to be completed |
| mode | : mode of the generator |
Definition at line 111 of file PWrapperTraitBackendManager.cpp.
References p_vecTrait.
Referenced by project_wrapper_generator_setuppy().
Here is the caller graph for this function:| void PWrapperTraitBackendManager::testCallFunction | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) const |
Call of the test function.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Definition at line 101 of file PWrapperTraitBackendManager.cpp.
References p_vecTrait.
| void PWrapperTraitBackendManager::testFunction | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) const |
Implementation of test function.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Definition at line 90 of file PWrapperTraitBackendManager.cpp.
References p_vecTrait.
Referenced by project_wrapper_classTest().
Here is the caller graph for this function:
|
private |
Vector of the Trait backend.
Definition at line 44 of file PWrapperTraitBackendManager.h.
Referenced by addTraitBackend(), classMethodDeclaration(), classMethodImplementation(), clear(), headerExtraInclude(), registerClassGetterSetter(), registerClassMember(), registerClassMethod(), setupAddDependency(), testCallFunction(), and testFunction().