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

#include <reflector.h>

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

Public Member Functions

 BinarySerializer (std::ostream *stream)
 
template<typename Type , Traits::EnableIf< Traits::IsSpecializationOf< Type, std::pair >> * = nullptr>
void write (const Type &pair)
 
template<typename Type , Traits::EnableIf< Traits::IsSpecializingAnyOf< Type, std::unique_ptr >> * = nullptr>
void write (const Type &pointer)
 
template<typename Type , Traits::EnableIf< Traits::IsSpecializingAnyOf< Type, std::shared_ptr >> * = nullptr>
void write (const Type &pointer)
 
template<typename Type , Traits::EnableIf< IsIteratableExceptString< Type >, Traits::HasSize< Type >> * = nullptr>
void write (const Type &iteratable)
 
template<typename Type , Traits::EnableIf< std::is_enum< Type >> * = nullptr>
void write (const Type &enumValue)
 
template<typename Type , Traits::EnableIf< IsVariant< Type >> * = nullptr>
void write (const Type &variant)
 
template<typename Type , Traits::EnableIf< IsCustomType< Type >> * = nullptr>
void write (const Type &customType)
 

Friends

class ::BinaryReflectorTests
 

Detailed Description

Definition at line 80 of file reflector.h.

Constructor & Destructor Documentation

◆ BinarySerializer()

ReflectiveRapidJSON::BinaryReflector::BinarySerializer::BinarySerializer ( std::ostream *  stream)
inlineexplicit

Definition at line 215 of file reflector.h.

Member Function Documentation

◆ write() [1/7]

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

◆ write() [2/7]

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

◆ write() [3/7]

template<typename Type , Traits::EnableIf< IsIteratableExceptString< Type >, Traits::HasSize< Type >> * = nullptr>
void ReflectiveRapidJSON::BinaryReflector::BinarySerializer::write ( const Type &  iteratable)

◆ write() [4/7]

template<typename Type , Traits::EnableIf< IsCustomType< Type >> * >
void ReflectiveRapidJSON::BinaryReflector::BinarySerializer::write ( const Type &  pair)

Definition at line 220 of file reflector.h.

◆ write() [5/7]

template<typename Type , Traits::EnableIf< Traits::IsSpecializingAnyOf< Type, std::unique_ptr >> * = nullptr>
void ReflectiveRapidJSON::BinaryReflector::BinarySerializer::write ( const Type &  pointer)

◆ write() [6/7]

template<typename Type , Traits::EnableIf< Traits::IsSpecializingAnyOf< Type, std::shared_ptr >> * = nullptr>
void ReflectiveRapidJSON::BinaryReflector::BinarySerializer::write ( const Type &  pointer)

◆ write() [7/7]

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

Friends And Related Function Documentation

◆ ::BinaryReflectorTests

friend class ::BinaryReflectorTests
friend

Definition at line 81 of file reflector.h.


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