![]() |
|
PhoenixGenerator
2.0.4
Set of tools to generate code
|
Manager of the Trait backends. More...
#include <PTraitBackendManager.h>
Public Member Functions | |
| template<class Backend> | |
| void | addTraitBackend () |
| Add a trait backend into the PTraitBackendManager. | |
| void | classExtraFunctionDeclaration (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Declaration of extra functions. | |
| void | classExtraFunctionImplementation (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Implementation of extra functions. | |
| void | clear () |
| Clear the PTraitBackendManager. | |
| void | headerExtraInclude (std::ofstream &fs, const GeneratorMode &mode) const |
| Add extra include on the header. | |
| void | privateMethodDeclaration (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Declaration of private methods. | |
| void | privateMethodImplementation (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Implementation of private methods. | |
| void | protectedMethodDeclaration (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Declaration of protected methods. | |
| void | protectedMethodImplementation (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Implementation of protected methods. | |
| PTraitBackendManager () | |
| Default constructor of PTraitBackendManager. | |
| void | publicMethodDeclaration (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Declaration of public methods. | |
| void | publicMethodImplementation (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Implementation of public methods. | |
| 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 | ~PTraitBackendManager () |
| Destructor of PTraitBackendManager. | |
Private Member Functions | |
| void | initialisationPTraitBackendManager () |
| Initialisation function of the class PTraitBackendManager. | |
Private Attributes | |
| PVecTraitBackend | p_vecTrait |
| Vector of the Trait backend. | |
Manager of the Trait backends.
Definition at line 15 of file PTraitBackendManager.h.
| PTraitBackendManager::PTraitBackendManager | ( | ) |
Default constructor of PTraitBackendManager.
Definition at line 11 of file PTraitBackendManager.cpp.
References initialisationPTraitBackendManager().
Here is the call graph for this function:
|
virtual |
Destructor of PTraitBackendManager.
Definition at line 16 of file PTraitBackendManager.cpp.
References clear().
Here is the call graph for this function:
|
inline |
Add a trait backend into the PTraitBackendManager.
Definition at line 22 of file PTraitBackendManager.h.
References p_vecTrait.
Referenced by simple_project_generate_source().
Here is the caller graph for this function:| void PTraitBackendManager::classExtraFunctionDeclaration | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) const |
Declaration of extra functions.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Definition at line 102 of file PTraitBackendManager.cpp.
References p_vecTrait.
Referenced by generator_class_cpp_header(), and generator_enum_cpp_header().
Here is the caller graph for this function:| void PTraitBackendManager::classExtraFunctionImplementation | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) const |
Implementation of extra functions.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Definition at line 113 of file PTraitBackendManager.cpp.
References p_vecTrait.
Referenced by generator_class_cpp_source().
Here is the caller graph for this function:| void PTraitBackendManager::clear | ( | ) |
Clear the PTraitBackendManager.
Definition at line 143 of file PTraitBackendManager.cpp.
References p_vecTrait.
Referenced by ~PTraitBackendManager().
Here is the caller graph for this function:| void PTraitBackendManager::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 PTraitBackendManager.cpp.
References p_vecTrait.
Referenced by generator_class_cpp_headerFile().
Here is the caller graph for this function:
|
private |
Initialisation function of the class PTraitBackendManager.
Definition at line 151 of file PTraitBackendManager.cpp.
Referenced by PTraitBackendManager().
Here is the caller graph for this function:| void PTraitBackendManager::privateMethodDeclaration | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) const |
Declaration of private methods.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Definition at line 79 of file PTraitBackendManager.cpp.
References p_vecTrait.
Referenced by generator_class_cpp_header().
Here is the caller graph for this function:| void PTraitBackendManager::privateMethodImplementation | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) const |
Implementation of private methods.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Definition at line 90 of file PTraitBackendManager.cpp.
References p_vecTrait.
Referenced by generator_class_cpp_source().
Here is the caller graph for this function:| void PTraitBackendManager::protectedMethodDeclaration | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) const |
Declaration of protected methods.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Definition at line 57 of file PTraitBackendManager.cpp.
References p_vecTrait.
Referenced by generator_class_cpp_header().
Here is the caller graph for this function:| void PTraitBackendManager::protectedMethodImplementation | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) const |
Implementation of protected methods.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Definition at line 68 of file PTraitBackendManager.cpp.
References p_vecTrait.
Referenced by generator_class_cpp_source().
Here is the caller graph for this function:| void PTraitBackendManager::publicMethodDeclaration | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) const |
Declaration of public methods.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Definition at line 35 of file PTraitBackendManager.cpp.
References p_vecTrait.
Referenced by generator_class_cpp_header().
Here is the caller graph for this function:| void PTraitBackendManager::publicMethodImplementation | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) const |
Implementation of public methods.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Definition at line 46 of file PTraitBackendManager.cpp.
References p_vecTrait.
Referenced by generator_class_cpp_source().
Here is the caller graph for this function:| void PTraitBackendManager::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 135 of file PTraitBackendManager.cpp.
References p_vecTrait.
Referenced by generator_class_testMain().
Here is the caller graph for this function:| void PTraitBackendManager::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 124 of file PTraitBackendManager.cpp.
References p_vecTrait.
Referenced by generator_class_testMain().
Here is the caller graph for this function:
|
private |
Vector of the Trait backend.
Definition at line 46 of file PTraitBackendManager.h.
Referenced by addTraitBackend(), classExtraFunctionDeclaration(), classExtraFunctionImplementation(), clear(), headerExtraInclude(), privateMethodDeclaration(), privateMethodImplementation(), protectedMethodDeclaration(), protectedMethodImplementation(), publicMethodDeclaration(), publicMethodImplementation(), testCallFunction(), and testFunction().