HALDLS
cerealization.h File Reference
#include "hate/type_list.h"
#include "hate/visibility.h"
#include <cstdint>
#include <iosfwd>
#include <cereal/macros.hpp>
+ Include dependency graph for cerealization.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 cereal
 
 haldls
 
 haldls::vx
 

Macros

#define EXPLICIT_INSTANTIATE_CEREAL_SERIALIZE(CLASS_NAME)
 
#define EXPLICIT_INSTANTIATE_CEREAL_SERIALIZE_FREE(CLASS_NAME)
 
#define EXTERN_INSTANTIATE_CEREAL_SERIALIZE(CLASS_NAME)
 
#define EXTERN_INSTANTIATE_CEREAL_SERIALIZE_FREE(CLASS_NAME)
 

Functions

template<typename T >
void haldls::vx::from_json (T &t, std::string const &s)
 
template<typename T >
void haldls::vx::from_portablebinary (T &t, std::string const &s)
 
template<typename T >
std::string haldls::vx::to_json (T const &t)
 
template<typename T >
std::string haldls::vx::to_portablebinary (T const &t)
 

Macro Definition Documentation

◆ EXPLICIT_INSTANTIATE_CEREAL_SERIALIZE

#define EXPLICIT_INSTANTIATE_CEREAL_SERIALIZE (   CLASS_NAME)
Value:
template void CLASS_NAME ::CEREAL_SERIALIZE_FUNCTION_NAME( \
cereal::JSONOutputArchive&, std::uint32_t const); \
template void CLASS_NAME ::CEREAL_SERIALIZE_FUNCTION_NAME( \
cereal::JSONInputArchive&, std::uint32_t const); \
template void CLASS_NAME ::CEREAL_SERIALIZE_FUNCTION_NAME( \
cereal::PortableBinaryOutputArchive&, std::uint32_t const); \
template void CLASS_NAME ::CEREAL_SERIALIZE_FUNCTION_NAME( \
cereal::PortableBinaryInputArchive&, std::uint32_t const); \
template std::string haldls::vx::to_json(CLASS_NAME const&); \
template std::string haldls::vx::to_portablebinary(CLASS_NAME const&); \
template void haldls::vx::from_json(CLASS_NAME&, std::string const&); \
template void haldls::vx::from_portablebinary(CLASS_NAME&, std::string const&);
std::string to_portablebinary(T const &t)
void from_portablebinary(T &t, std::string const &s)
void from_json(T &t, std::string const &s)
std::string to_json(T const &t)

Definition at line 90 of file cerealization.h.

◆ EXPLICIT_INSTANTIATE_CEREAL_SERIALIZE_FREE

#define EXPLICIT_INSTANTIATE_CEREAL_SERIALIZE_FREE (   CLASS_NAME)
Value:
template void cereal::CEREAL_SERIALIZE_FUNCTION_NAME(cereal::JSONOutputArchive&, CLASS_NAME&); \
template void cereal::CEREAL_SERIALIZE_FUNCTION_NAME(cereal::JSONInputArchive&, CLASS_NAME&); \
template void cereal::CEREAL_SERIALIZE_FUNCTION_NAME( \
cereal::PortableBinaryOutputArchive&, CLASS_NAME&); \
template void cereal::CEREAL_SERIALIZE_FUNCTION_NAME( \
cereal::PortableBinaryInputArchive&, CLASS_NAME&); \
template std::string haldls::vx::to_json(CLASS_NAME const&); \
template std::string haldls::vx::to_portablebinary(CLASS_NAME const&); \
template void haldls::vx::from_json(CLASS_NAME&, std::string const&); \
template void haldls::vx::from_portablebinary(CLASS_NAME&, std::string const&);

Definition at line 119 of file cerealization.h.

◆ EXTERN_INSTANTIATE_CEREAL_SERIALIZE

#define EXTERN_INSTANTIATE_CEREAL_SERIALIZE (   CLASS_NAME)
Value:
extern template SYMBOL_VISIBLE void CLASS_NAME ::CEREAL_SERIALIZE_FUNCTION_NAME( \
cereal::JSONOutputArchive&, std::uint32_t const); \
extern template SYMBOL_VISIBLE void CLASS_NAME ::CEREAL_SERIALIZE_FUNCTION_NAME( \
cereal::JSONInputArchive&, std::uint32_t const); \
extern template SYMBOL_VISIBLE void CLASS_NAME ::CEREAL_SERIALIZE_FUNCTION_NAME( \
cereal::PortableBinaryOutputArchive&, std::uint32_t const); \
extern template SYMBOL_VISIBLE void CLASS_NAME ::CEREAL_SERIALIZE_FUNCTION_NAME( \
cereal::PortableBinaryInputArchive&, std::uint32_t const); \
extern template SYMBOL_VISIBLE std::string haldls::vx::to_json(CLASS_NAME const&); \
extern template SYMBOL_VISIBLE std::string haldls::vx::to_portablebinary(CLASS_NAME const&); \
extern template SYMBOL_VISIBLE void haldls::vx::from_json(CLASS_NAME&, std::string const&); \
extern template SYMBOL_VISIBLE void haldls::vx::from_portablebinary( \
CLASS_NAME&, std::string const&);

Definition at line 75 of file cerealization.h.

◆ EXTERN_INSTANTIATE_CEREAL_SERIALIZE_FREE

#define EXTERN_INSTANTIATE_CEREAL_SERIALIZE_FREE (   CLASS_NAME)
Value:
extern template SYMBOL_VISIBLE void cereal::CEREAL_SERIALIZE_FUNCTION_NAME( \
cereal::JSONOutputArchive&, CLASS_NAME&); \
extern template SYMBOL_VISIBLE void cereal::CEREAL_SERIALIZE_FUNCTION_NAME( \
cereal::JSONInputArchive&, CLASS_NAME&); \
extern template SYMBOL_VISIBLE void cereal::CEREAL_SERIALIZE_FUNCTION_NAME( \
cereal::PortableBinaryOutputArchive&, CLASS_NAME&); \
extern template SYMBOL_VISIBLE void cereal::CEREAL_SERIALIZE_FUNCTION_NAME( \
cereal::PortableBinaryInputArchive&, CLASS_NAME&); \
extern template SYMBOL_VISIBLE std::string haldls::vx::to_json(CLASS_NAME const&); \
extern template SYMBOL_VISIBLE std::string haldls::vx::to_portablebinary(CLASS_NAME const&); \
extern template SYMBOL_VISIBLE void haldls::vx::from_json(CLASS_NAME&, std::string const&); \
extern template SYMBOL_VISIBLE void haldls::vx::from_portablebinary( \
CLASS_NAME&, std::string const&);

Definition at line 104 of file cerealization.h.