|
Reflection for RapidJSON 0.0.16
Reflection for serializing/deserializing with RapidJSON
|
The BinaryReflector namespace contains BinaryReader and BinaryWriter for automatic binary (de)serialization. More...
Classes | |
| class | BinaryDeserializer |
| The BinaryDeserializer class can read various data types, including custom ones, from an std::istream. More... | |
| class | BinarySerializer |
| The BinarySerializer class can write various data types, including custom ones, to an std::ostream. More... | |
Typedefs | |
| template<typename Type > | |
| using | IsBuiltInType |
| template<typename Type > | |
| using | IsCustomType = Traits::Not<IsBuiltInType<Type>> |
Functions | |
| template<typename Type , Traits::EnableIf< IsCustomType< Type > > * = nullptr> | |
| BinaryVersion | readCustomType (BinaryDeserializer &deserializer, Type &customType, BinaryVersion version=0) |
| Reads customType via deserializer. | |
| template<typename Type , Traits::EnableIf< IsCustomType< Type > > * = nullptr> | |
| void | writeCustomType (BinarySerializer &serializer, const Type &customType, BinaryVersion version=0) |
| Writes customType via serializer. | |
| template<> | |
| BinaryVersion | readCustomType< CppUtilities::DateTime > (BinaryDeserializer &deserializer, CppUtilities::DateTime &dateTime, BinaryVersion version) |
| template<> | |
| void | writeCustomType< CppUtilities::DateTime > (BinarySerializer &serializer, const CppUtilities::DateTime &dateTime, BinaryVersion version) |
| template<> | |
| BinaryVersion | readCustomType< CppUtilities::TimeSpan > (BinaryDeserializer &deserializer, CppUtilities::TimeSpan &timeSpan, BinaryVersion version) |
| template<> | |
| void | writeCustomType< CppUtilities::TimeSpan > (BinarySerializer &serializer, const CppUtilities::TimeSpan &timeSpan, BinaryVersion version) |
The BinaryReflector namespace contains BinaryReader and BinaryWriter for automatic binary (de)serialization.
| using ReflectiveRapidJSON::BinaryReflector::IsBuiltInType |
Definition at line 48 of file reflector.h.
| using ReflectiveRapidJSON::BinaryReflector::IsCustomType = Traits::Not<IsBuiltInType<Type>> |
Definition at line 52 of file reflector.h.
| BinaryVersion ReflectiveRapidJSON::BinaryReflector::readCustomType | ( | BinaryDeserializer & | deserializer, |
| Type & | customType, | ||
| BinaryVersion | version = 0 ) |
Reads customType via deserializer.
Definition at line 28 of file reflector-boosthana.h.
|
inline |
Definition at line 20 of file reflector-chronoutilities.h.
|
inline |
Definition at line 35 of file reflector-chronoutilities.h.
| void ReflectiveRapidJSON::BinaryReflector::writeCustomType | ( | BinarySerializer & | serializer, |
| const Type & | customType, | ||
| BinaryVersion | version = 0 ) |
Writes customType via serializer.
Definition at line 35 of file reflector-boosthana.h.
|
inline |
Definition at line 28 of file reflector-chronoutilities.h.
|
inline |
Definition at line 43 of file reflector-chronoutilities.h.