![]() |
|
PhoenixGenerator
2.0.4
Set of tools to generate code
|
Class generator for setter trait. More...
#include <WrapperTraitDataStream.h>
Inheritance diagram for WrapperTraitDataStream:
Collaboration diagram for WrapperTraitDataStream:Public Member Functions | |
| virtual void | classMethodDeclaration (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Declaration of class method. | |
| virtual void | classMethodImplementation (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Implementation of class method. | |
| virtual void | headerExtraInclude (std::ofstream &fs, const GeneratorMode &mode) const |
| Add extra include on the header. | |
| virtual void | registerClassGetterSetter (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Register class getter and setter. | |
| virtual void | registerClassMember (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| virtual void | registerClassMethod (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Register class method. | |
| virtual void | setupAddDependency (std::ofstream &fs, const GeneratorMode &mode) const |
| Add dependency in the setup.py. | |
| virtual void | testCallFunction (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Call of the test function. | |
| virtual void | testFunction (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| Implementation of test function. | |
| WrapperTraitDataStream () | |
| Consctructor of WrapperTraitDataStream. | |
| virtual | ~WrapperTraitDataStream () |
| Desctructor of WrapperTraitDataStream. | |
Class generator for setter trait.
Definition at line 16 of file WrapperTraitDataStream.h.
| WrapperTraitDataStream::WrapperTraitDataStream | ( | ) |
Consctructor of WrapperTraitDataStream.
Definition at line 519 of file WrapperTraitDataStream.cpp.
References PAbstractWrapperTraitBackend::PAbstractWrapperTraitBackend().
Here is the call graph for this function:
|
virtual |
Desctructor of WrapperTraitDataStream.
Definition at line 524 of file WrapperTraitDataStream.cpp.
|
virtual |
Declaration of class method.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Reimplemented from PAbstractWrapperTraitBackend.
Definition at line 540 of file WrapperTraitDataStream.cpp.
References GeneratorMode::enableDataStream, PClassConfig::getIsEnum(), PClassConfig::getListAttribute(), and wrapper_getClassName().
Here is the call graph for this function:
|
virtual |
Implementation of class method.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Reimplemented from PAbstractWrapperTraitBackend.
Definition at line 572 of file WrapperTraitDataStream.cpp.
References data_stream_trait_wrapper_classAttributeFromMessage(), data_stream_trait_wrapper_classAttributeGetSize(), data_stream_trait_wrapper_classAttributeToMessage(), data_stream_trait_wrapper_classImplCheck(), data_stream_trait_wrapper_classPythonFromBytes(), data_stream_trait_wrapper_classPythonGetSizeInBytes(), data_stream_trait_wrapper_classPythonToBytes(), GeneratorMode::enableDataStream, PClassConfig::getIsEnum(), PClassConfig::getListAttribute(), GeneratorMode::moduleName, and wrapper_getClassName().
Here is the call graph for this function:
|
virtual |
Add extra include on the header.
| [out] | fs | : file to be completed |
| mode | : mode of the generator |
Reimplemented from PAbstractWrapperTraitBackend.
Definition at line 530 of file WrapperTraitDataStream.cpp.
References GeneratorMode::enableDataStream.
|
virtual |
Register class getter and setter.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Reimplemented from PAbstractWrapperTraitBackend.
Definition at line 594 of file WrapperTraitDataStream.cpp.
References GeneratorMode::enableDataStream.
|
inlinevirtualinherited |
Reimplemented in WrapperTraitEmpty, WrapperTraitGetterSetter, and WrapperTraitTypeStream.
Definition at line 53 of file PAbstractTraitBackend.h.
|
virtual |
Register class method.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Reimplemented from PAbstractWrapperTraitBackend.
Definition at line 604 of file WrapperTraitDataStream.cpp.
References GeneratorMode::enableDataStream, and wrapper_getClassName().
Here is the call graph for this function:
|
virtual |
Add dependency in the setup.py.
| [out] | fs | : file to be completed |
| mode | : mode of the generator |
Reimplemented from PAbstractWrapperTraitBackend.
Definition at line 654 of file WrapperTraitDataStream.cpp.
References GeneratorMode::enableTypeStream.
|
virtual |
Call of the test function.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Reimplemented from PAbstractWrapperTraitBackend.
Definition at line 645 of file WrapperTraitDataStream.cpp.
References GeneratorMode::enableDataStream.
|
virtual |
Implementation of test function.
| [out] | fs | : file to be completed |
| classConfig | : PClassConfig to be used | |
| mode | : mode of the generator |
Reimplemented from PAbstractWrapperTraitBackend.
Definition at line 617 of file WrapperTraitDataStream.cpp.
References GeneratorMode::enableDataStream, PClassConfig::getIsEnum(), PClassConfig::getListAttribute(), PClassConfig::getName(), GeneratorMode::mapClass, GeneratorMode::moduleName, pythonAssertTestValue(), and pythonDefaultTestValue().
Here is the call graph for this function: