Reflection for RapidJSON 0.0.16
Reflection for serializing/deserializing with RapidJSON
|
Contains only the definition of the JsonSerializable template class which makes the reflection accessible. More...
Go to the source code of this file.
Classes | |
struct | ReflectiveRapidJSON::JsonSerializable< Type > |
The JsonSerializable class provides the CRTP-base for (de)serializable objects. More... | |
Namespaces | |
namespace | ReflectiveRapidJSON |
Macros | |
#define | REFLECTIVE_RAPIDJSON_MAKE_JSON_SERIALIZABLE(T) |
#define | REFLECTIVE_RAPIDJSON_PUSH_PRIVATE_MEMBERS(T) |
#define | REFLECTIVE_RAPIDJSON_PULL_PRIVATE_MEMBERS(T) |
#define | REFLECTIVE_RAPIDJSON_ENABLE_PRIVATE_MEMBERS(T) |
Functions | |
template<typename Type , Traits::EnableIf< std::is_base_of< JsonSerializable< Type >, Type > > * = nullptr> | |
JsonSerializable< Type > & | ReflectiveRapidJSON::as (Type &serializable) |
Helps to disambiguate when inheritance is used. | |
template<typename Type , Traits::EnableIf< std::is_base_of< JsonSerializable< Type >, Type > > * = nullptr> | |
const JsonSerializable< Type > & | ReflectiveRapidJSON::as (const Type &serializable) |
Helps to disambiguate when inheritance is used. | |
Contains only the definition of the JsonSerializable template class which makes the reflection accessible.
The actual implementation is found in jsonreflector.h and generated files.
Definition in file serializable.h.
#define REFLECTIVE_RAPIDJSON_ENABLE_PRIVATE_MEMBERS | ( | T | ) |
Definition at line 146 of file serializable.h.
#define REFLECTIVE_RAPIDJSON_MAKE_JSON_SERIALIZABLE | ( | T | ) |
Definition at line 122 of file serializable.h.
#define REFLECTIVE_RAPIDJSON_PULL_PRIVATE_MEMBERS | ( | T | ) |
Definition at line 137 of file serializable.h.
#define REFLECTIVE_RAPIDJSON_PUSH_PRIVATE_MEMBERS | ( | T | ) |
Definition at line 129 of file serializable.h.