![]() |
|
PhoenixGenerator
2.2.0
Set of tools to generate code
|
Class generator for Nanobind property trait. More...
#include <NanobindTraitCheckStream.h>
Inheritance diagram for NanobindTraitCheckStream:
Collaboration diagram for NanobindTraitCheckStream:Public Member Functions | |
| virtual void | headerExtraInclude (std::set< std::string > &includes, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| virtual void | headerTestInclude (std::ofstream &fs, const GeneratorMode &mode, const PString &baseFileName) const |
| NanobindTraitCheckStream () | |
| Constructor of NanobindTraitCheckStream. | |
| virtual void | registerConstructor (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| virtual void | registerMethod (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| virtual void | registerProperty (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| virtual void | registerStaticMethod (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| virtual void | testCallFunction (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) const |
| virtual void | testFunction (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode, const PString &baseFileName) const |
| virtual | ~NanobindTraitCheckStream () |
| Destructor of NanobindTraitCheckStream. | |
Class generator for Nanobind property trait.
Definition at line 15 of file NanobindTraitCheckStream.h.
| NanobindTraitCheckStream::NanobindTraitCheckStream | ( | ) |
Constructor of NanobindTraitCheckStream.
Definition at line 11 of file NanobindTraitCheckStream.cpp.
References PAbstractNanobindTraitBackend::PAbstractNanobindTraitBackend().
Here is the call graph for this function:
|
virtual |
Destructor of NanobindTraitCheckStream.
Definition at line 16 of file NanobindTraitCheckStream.cpp.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Reimplemented in NanobindTraitTestSetup.
Definition at line 71 of file PAbstractTraitBackend.h.
|
inlinevirtualinherited |
|
inlinevirtualinherited |
Reimplemented in NanobindTraitDataStream.
Definition at line 75 of file PAbstractTraitBackend.h.
|
inlinevirtualinherited |
|
virtual |
Registration of static method
| fs | stream to write to |
| classConfig | config of the class |
| mode | generator mode |
Reimplemented from PAbstractNanobindTraitBackend.
Definition at line 22 of file NanobindTraitCheckStream.cpp.
References GeneratorMode::enableCheckStream, and PClassConfig::getName().
Here is the call graph for this function:
|
virtual |
Generate test call to check stream function
| fs | stream to write to |
| classConfig | config of the class |
| mode | generator mode |
Reimplemented from PAbstractNanobindTraitBackend.
Definition at line 104 of file NanobindTraitCheckStream.cpp.
References GeneratorMode::enableCheckStream, GeneratorMode::enableUnitTest, and PClassConfig::getName().
Here is the call graph for this function:
|
virtual |
Generate test function for check stream
| fs | stream to write to |
| classConfig | config of the class |
| mode | generator mode |
| baseFileName | : base name of the configuration |
Reimplemented from PAbstractNanobindTraitBackend.
Definition at line 42 of file NanobindTraitCheckStream.cpp.
References GeneratorMode::enableCheckStream, GeneratorMode::enableUnitTest, PClassConfig::getListAttribute(), PClassConfig::getName(), and getTestDefaultValueTypeInPython().
Here is the call graph for this function: