Reflection for RapidJSON  0.0.8
Reflection for serializing/deserializing with RapidJSON
Public Member Functions | Public Attributes | 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 &pair)
 
template<typename Type , Traits::EnableIf< Traits::IsSpecializationOf< Type, std::shared_ptr >> * = nullptr>
void read (Type &pair)
 
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 &customType)
 
template<typename Type , Traits::EnableIf< IsCustomType< Type >> * = nullptr>
void read (Type &customType)
 

Public Attributes

std::unordered_map< uint64, std::any > m_pointer
 

Detailed Description

Definition at line 52 of file reflector.h.

Constructor & Destructor Documentation

◆ BinaryDeserializer()

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

Definition at line 87 of file reflector.h.

Member Function Documentation

◆ read() [1/8]

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

Definition at line 92 of file reflector.h.

◆ read() [2/8]

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

◆ read() [3/8]

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

◆ read() [4/8]

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

◆ read() [5/8]

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

◆ read() [6/8]

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() [7/8]

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

◆ read() [8/8]

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

Member Data Documentation

◆ m_pointer

std::unordered_map<uint64, std::any> ReflectiveRapidJSON::BinaryReflector::BinaryDeserializer::m_pointer

Definition at line 69 of file reflector.h.


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