PLaSK library
Loading...
Searching...
No Matches
cereal Namespace Reference

Functions

template<class Archive >
void CEREAL_SAVE_FUNCTION_NAME (Archive &ar, std::size_t const &size)
 
template<class Archive >
void CEREAL_LOAD_FUNCTION_NAME (Archive &ar, std::size_t &size)
 
template<class Archive , class T >
std::enable_if< traits::is_output_serializable< BinaryData< T >, Archive >::value &&std::is_arithmetic< T >::value, void >::type CEREAL_SAVE_FUNCTION_NAME (Archive &ar, plask::DataVector< T > const &data)
 
template<class Archive , class T >
std::enable_if< traits::is_input_serializable< BinaryData< T >, Archive >::value &&std::is_arithmetic< T >::value, void >::type CEREAL_LOAD_FUNCTION_NAME (Archive &ar, plask::DataVector< T > &data)
 
template<class Archive , class T , class A >
std::enable_if<!traits::is_output_serializable< BinaryData< T >, Archive >::value||!std::is_arithmetic< T >::value, void >::type CEREAL_SAVE_FUNCTION_NAME (Archive &ar, plask::DataVector< T > const &data)
 
template<class Archive , class T , class A >
std::enable_if<!traits::is_input_serializable< BinaryData< T >, Archive >::value||!std::is_arithmetic< T >::value, void >::type CEREAL_LOAD_FUNCTION_NAME (Archive &ar, plask::DataVector< T > &data)
 

Function Documentation

◆ CEREAL_LOAD_FUNCTION_NAME() [1/3]

template<class Archive , class T >
std::enable_if< traits::is_input_serializable< BinaryData< T >, Archive >::value &&std::is_arithmetic< T >::value, void >::type cereal::CEREAL_LOAD_FUNCTION_NAME ( Archive &  ar,
plask::DataVector< T > &  data 
)
inline

Definition at line 54 of file serialize.hpp.

◆ CEREAL_LOAD_FUNCTION_NAME() [2/3]

template<class Archive , class T , class A >
std::enable_if<!traits::is_input_serializable< BinaryData< T >, Archive >::value||!std::is_arithmetic< T >::value, void >::type cereal::CEREAL_LOAD_FUNCTION_NAME ( Archive &  ar,
plask::DataVector< T > &  data 
)
inline

Definition at line 76 of file serialize.hpp.

◆ CEREAL_LOAD_FUNCTION_NAME() [3/3]

template<class Archive >
void cereal::CEREAL_LOAD_FUNCTION_NAME ( Archive &  ar,
std::size_t &  size 
)
inline

Definition at line 34 of file serialize.hpp.

◆ CEREAL_SAVE_FUNCTION_NAME() [1/3]

template<class Archive , class T >
std::enable_if< traits::is_output_serializable< BinaryData< T >, Archive >::value &&std::is_arithmetic< T >::value, void >::type cereal::CEREAL_SAVE_FUNCTION_NAME ( Archive &  ar,
plask::DataVector< T > const &  data 
)
inline

Definition at line 46 of file serialize.hpp.

◆ CEREAL_SAVE_FUNCTION_NAME() [2/3]

template<class Archive , class T , class A >
std::enable_if<!traits::is_output_serializable< BinaryData< T >, Archive >::value||!std::is_arithmetic< T >::value, void >::type cereal::CEREAL_SAVE_FUNCTION_NAME ( Archive &  ar,
plask::DataVector< T > const &  data 
)
inline

Definition at line 68 of file serialize.hpp.

◆ CEREAL_SAVE_FUNCTION_NAME() [3/3]

template<class Archive >
void cereal::CEREAL_SAVE_FUNCTION_NAME ( Archive &  ar,
std::size_t const &  size 
)
inline

Definition at line 27 of file serialize.hpp.