NDDEM
Classes | Namespaces | Functions
common.hpp File Reference

Support common types - always included automatically. More...

#include "cereal/cereal.hpp"

Go to the source code of this file.

Classes

struct  cereal::common_detail::anonymous_namespace{common.hpp}::enum_underlying_type< T, IsEnum >
 Gets the underlying type of an enum. More...
 
struct  cereal::common_detail::anonymous_namespace{common.hpp}::enum_underlying_type< T, true >
 Gets the underlying type of an enum. More...
 
class  cereal::common_detail::is_enum< T >
 Checks if a type is an enum. More...
 

Namespaces

 cereal
 in certain simple scenarios. They should probably not be used if maximizing performance is the main objective.
 
 cereal::common_detail
 
 cereal::common_detail::anonymous_namespace{common.hpp}
 

Functions

template<class Archive , class T >
void cereal::common_detail::serializeArray (Archive &ar, T &array, std::true_type)
 Serialization for arrays if BinaryData is supported and we are arithmetic. More...
 
template<class Archive , class T >
void cereal::common_detail::serializeArray (Archive &ar, T &array, std::false_type)
 Serialization for arrays if BinaryData is not supported or we are not arithmetic. More...
 
template<class Archive , class T >
std::enable_if< common_detail::is_enum< T >::value, typename common_detail::is_enum< T >::base_type >::type cereal::CEREAL_SAVE_MINIMAL_FUNCTION_NAME (Archive const &, T const &t)
 Saving for enum types. More...
 
template<class Archive , class T >
std::enable_if< common_detail::is_enum< T >::value, void >::type cereal::CEREAL_LOAD_MINIMAL_FUNCTION_NAME (Archive const &, T &&t, typename common_detail::is_enum< T >::base_type const &value)
 Loading for enum types. More...
 
template<class Archive , class T >
void cereal::CEREAL_SERIALIZE_FUNCTION_NAME (Archive &, T *&)
 Serialization for raw pointers. More...
 
template<class Archive , class T >
std::enable_if< std::is_array< T >::value, void >::type cereal::CEREAL_SERIALIZE_FUNCTION_NAME (Archive &ar, T &array)
 Serialization for C style arrays. More...
 

Detailed Description

Support common types - always included automatically.