Reflection for RapidJSON 0.0.16
Reflection for serializing/deserializing with RapidJSON
Loading...
Searching...
No Matches
reflector-chronoutilities.h File Reference

Contains functions for (de)serializing objects from the chrono utilities provided by the C++ utilities library. More...

#include "./reflector.h"
#include <c++utilities/chrono/datetime.h>
#include <c++utilities/chrono/timespan.h>
Include dependency graph for reflector-chronoutilities.h:
This graph shows which files directly or indirectly include this file:

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<>
BinaryVersion ReflectiveRapidJSON::BinaryReflector::readCustomType< CppUtilities::DateTime > (BinaryDeserializer &deserializer, CppUtilities::DateTime &dateTime, BinaryVersion version)
 
template<>
void ReflectiveRapidJSON::BinaryReflector::writeCustomType< CppUtilities::DateTime > (BinarySerializer &serializer, const CppUtilities::DateTime &dateTime, BinaryVersion version)
 
template<>
BinaryVersion ReflectiveRapidJSON::BinaryReflector::readCustomType< CppUtilities::TimeSpan > (BinaryDeserializer &deserializer, CppUtilities::TimeSpan &timeSpan, BinaryVersion version)
 
template<>
void ReflectiveRapidJSON::BinaryReflector::writeCustomType< CppUtilities::TimeSpan > (BinarySerializer &serializer, const CppUtilities::TimeSpan &timeSpan, BinaryVersion version)
 

Detailed Description

Contains functions for (de)serializing objects from the chrono utilities provided by the C++ utilities library.

Remarks
This file demonstrates implementing custom (de)serialization for specific types.

Definition in file reflector-chronoutilities.h.