1 #ifndef REFLECTIVE_RAPIDJSON_BINARY_SERIALIZABLE_H
2 #define REFLECTIVE_RAPIDJSON_BINARY_SERIALIZABLE_H
20 template <
typename Type>
struct BinarySerializable {
21 void toBinary(std::ostream &outputStream)
const;
23 static Type
fromBinary(std::istream &inputStream);
25 static constexpr
const char *
qualifiedName =
"ReflectiveRapidJSON::BinarySerializable";
52 #define REFLECTIVE_RAPIDJSON_MAKE_BINARY_SERIALIZABLE(T) \
53 template <> struct ReflectiveRapidJSON::AdaptedBinarySerializable<T> : Traits::Bool<true> { \
58 #endif // REFLECTIVE_RAPIDJSON_BINARY_SERIALIZABLE_H