Reflection for RapidJSON  0.0.15
Reflection for serializing/deserializing with RapidJSON
Public Member Functions | Friends | List of all members
ReflectiveRapidJSON::BinaryReflector::BinaryDeserializer Class Reference

#include <reflector.h>

Inheritance diagram for ReflectiveRapidJSON::BinaryReflector::BinaryDeserializer:
[legend]
Collaboration diagram for ReflectiveRapidJSON::BinaryReflector::BinaryDeserializer:
[legend]

Public Member Functions

 BinaryDeserializer (std::istream *stream)
 
template<typename Type , Traits::EnableIf< Traits::IsSpecializationOf< Type, std::pair >> * = nullptr>
void read (Type &pair)
 
template<typename Type , Traits::EnableIf< Traits::IsSpecializationOf< Type, std::unique_ptr >> * = nullptr>
void read (Type &pointer)
 
template<typename Type , Traits::EnableIf< Traits::IsSpecializationOf< Type, std::shared_ptr >> * = nullptr>
void read (Type &pointer)
 
template<typename Type , Traits::EnableIf< IsArray< Type >, Traits::IsResizable< Type >> * = nullptr>
void read (Type &iteratable)
 
template<typename Type , Traits::EnableIfAny< IsMapOrHash< Type >, IsMultiMapOrHash< Type >> * = nullptr>
void read (Type &iteratable)
 
template<typename Type , Traits::EnableIf< IsIteratableExceptString< Type >, Traits::None< IsMapOrHash< Type >, IsMultiMapOrHash< Type >, Traits::All< IsArray< Type >, Traits::IsResizable< Type >>>> * = nullptr>
void read (Type &iteratable)
 
template<typename Type , Traits::EnableIf< std::is_enum< Type >> * = nullptr>
void read (Type &enumValue)
 
template<typename Type , Traits::EnableIf< IsVariant< Type >> * = nullptr>
void read (Type &variant)
 
template<typename Type , Traits::EnableIf< IsCustomType< Type >> * = nullptr>
void read (Type &customType)
 

Friends

class ::BinaryReflectorTests
 

Detailed Description

Definition at line 56 of file reflector.h.

Constructor & Destructor Documentation

◆ BinaryDeserializer()

ReflectiveRapidJSON::BinaryReflector::BinaryDeserializer::BinaryDeserializer ( std::istream *  stream)
inlineexplicit

Definition at line 99 of file reflector.h.

Member Function Documentation

◆ read() [1/9]

template<typename Type , Traits::EnableIf< IsCustomType< Type >> * = nullptr>
void ReflectiveRapidJSON::BinaryReflector::BinaryDeserializer::read ( Type &  customType)

◆ read() [2/9]

template<typename Type , Traits::EnableIf< std::is_enum< Type >> * = nullptr>
void ReflectiveRapidJSON::BinaryReflector::BinaryDeserializer::read ( Type &  enumValue)

◆ read() [3/9]

template<typename Type , Traits::EnableIf< IsArray< Type >, Traits::IsResizable< Type >> * = nullptr>
void ReflectiveRapidJSON::BinaryReflector::BinaryDeserializer::read ( Type &  iteratable)

◆ read() [4/9]

template<typename Type , Traits::EnableIfAny< IsMapOrHash< Type >, IsMultiMapOrHash< Type >> * = nullptr>
void ReflectiveRapidJSON::BinaryReflector::BinaryDeserializer::read ( Type &  iteratable)

◆ read() [5/9]

template<typename Type , Traits::EnableIf< IsIteratableExceptString< Type >, Traits::None< IsMapOrHash< Type >, IsMultiMapOrHash< Type >, Traits::All< IsArray< Type >, Traits::IsResizable< Type >>>> * = nullptr>
void ReflectiveRapidJSON::BinaryReflector::BinaryDeserializer::read ( Type &  iteratable)

◆ read() [6/9]

template<typename Type , Traits::EnableIf< IsCustomType< Type >> * >
void ReflectiveRapidJSON::BinaryReflector::BinaryDeserializer::read ( Type &  pair)

Definition at line 104 of file reflector.h.

◆ read() [7/9]

template<typename Type , Traits::EnableIf< Traits::IsSpecializationOf< Type, std::unique_ptr >> * = nullptr>
void ReflectiveRapidJSON::BinaryReflector::BinaryDeserializer::read ( Type &  pointer)

◆ read() [8/9]

template<typename Type , Traits::EnableIf< Traits::IsSpecializationOf< Type, std::shared_ptr >> * = nullptr>
void ReflectiveRapidJSON::BinaryReflector::BinaryDeserializer::read ( Type &  pointer)

◆ read() [9/9]

template<typename Type , Traits::EnableIf< IsVariant< Type >> * = nullptr>
void ReflectiveRapidJSON::BinaryReflector::BinaryDeserializer::read ( Type &  variant)

Friends And Related Function Documentation

◆ ::BinaryReflectorTests

friend class ::BinaryReflectorTests
friend

Definition at line 57 of file reflector.h.


The documentation for this class was generated from the following file: