|
Reflection for RapidJSON 0.0.16
Reflection for serializing/deserializing with RapidJSON
|
Contains generic functions relying on Boost.Hana which can replace the code which would otherwise had to be generated. More...
#include "./reflector.h"#include <boost/hana/adapt_struct.hpp>#include <boost/hana/at_key.hpp>#include <boost/hana/define_struct.hpp>#include <boost/hana/for_each.hpp>#include <boost/hana/intersection.hpp>#include <boost/hana/keys.hpp>Go to the source code of this file.
Namespaces | |
| namespace | ReflectiveRapidJSON |
| namespace | ReflectiveRapidJSON::BinaryReflector |
| The BinaryReflector namespace contains BinaryReader and BinaryWriter for automatic binary (de)serialization. | |
Functions | |
| template<typename Type , Traits::EnableIf< IsCustomType< Type > > * = nullptr> | |
| BinaryVersion | ReflectiveRapidJSON::BinaryReflector::readCustomType (BinaryDeserializer &deserializer, Type &customType, BinaryVersion version=0) |
| Reads customType via deserializer. | |
| template<typename Type , Traits::EnableIf< IsCustomType< Type > > * = nullptr> | |
| void | ReflectiveRapidJSON::BinaryReflector::writeCustomType (BinarySerializer &serializer, const Type &customType, BinaryVersion version=0) |
| Writes customType via serializer. | |
Contains generic functions relying on Boost.Hana which can replace the code which would otherwise had to be generated.
Definition in file reflector-boosthana.h.