![]() |
|
PhoenixGenerator
3.4.0
Generate code from template files and projects in C++, Rust, Python and wrapped C++ to Python
|
#include "NanobindTraitDataStream.h"Go to the source code of this file.
Functions | |
| void | failed_enum_deserialization (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode, const PString &baseFileName) |
| void | registerDeserializationMethods (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) |
| registration of serialization methods | |
| void | registerSerializationMethods (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) |
| registration of serialization methods | |
| void | registerSizeMethod (std::ofstream &fs, const PClassConfig &classConfig, const GeneratorMode &mode) |
| registration of size method | |
| void failed_enum_deserialization | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode, | ||
| const PString & | baseFileName ) |
Test the deserialization of the enum with an invalid value
| fs | stream to write to |
| classConfig | config of the class |
| mode | generator mode |
| baseFileName | : base name of the configuration |
Definition at line 101 of file NanobindTraitDataStream.cpp.
References failed_enum_deserialization(), and PClassConfig::getName().
Referenced by failed_enum_deserialization(), and NanobindTraitDataStream::testFunction().
| void registerDeserializationMethods | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) |
registration of serialization methods
| fs | stream to write to |
| classConfig | config of the class |
| mode | generator mode |
Definition at line 21 of file NanobindTraitDataStream.cpp.
References PClassConfig::getIsEnum(), PClassConfig::getName(), and registerDeserializationMethods().
Referenced by registerDeserializationMethods(), and NanobindTraitDataStream::registerMethod().
| void registerSerializationMethods | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) |
registration of serialization methods
| fs | stream to write to |
| classConfig | config of the class |
| mode | generator mode |
Definition at line 44 of file NanobindTraitDataStream.cpp.
References PClassConfig::getIsEnum(), PClassConfig::getName(), and registerSerializationMethods().
Referenced by NanobindTraitDataStream::registerMethod(), and registerSerializationMethods().
| void registerSizeMethod | ( | std::ofstream & | fs, |
| const PClassConfig & | classConfig, | ||
| const GeneratorMode & | mode ) |
registration of size method
| fs | stream to write to |
| classConfig | config of the class |
| mode | generator mode |
Definition at line 69 of file NanobindTraitDataStream.cpp.
References PClassConfig::getIsEnum(), PClassConfig::getName(), and registerSizeMethod().
Referenced by NanobindTraitDataStream::registerMethod(), and registerSizeMethod().