![]() |
|
PhoenixGenerator
2.8.0
Set of tools to generate code
|
#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 PClassConfig::getName().
Referenced by 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(), and PClassConfig::getName().
Referenced by 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(), and PClassConfig::getName().
Referenced by NanobindTraitDataStream::registerMethod().
| 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(), and PClassConfig::getName().
Referenced by NanobindTraitDataStream::registerMethod().