Wolframe, 0.0.3

traits_getCategory.hpp File Reference

defines the type traits for the intrusive part of serialization/deserialization More...

#include "serialize/struct/structDescriptionBase.hpp"
#include "logger/logLevel.hpp"
#include "types/datetime.hpp"
#include "types/bignumber.hpp"
#include <boost/lexical_cast.hpp>
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits.hpp>
#include <boost/detail/select_type.hpp>
#include <boost/type_traits/function_traits.hpp>
#include <vector>
#include <string>

Go to the source code of this file.

Classes

struct  _Wolframe::serialize::traits::struct_
 category tag for a structure with named elements More...
 
struct  _Wolframe::serialize::traits::vector_
 category tag for a std::vector of any type More...
 
struct  _Wolframe::serialize::traits::atomic_
 category tag for an atomic type More...
 
struct  _Wolframe::serialize::traits::has_description_method< T, is_class_type >
 conditional template for detecting if a type is a class with a static/member method getStructDescription() returning a const pointer to a structure description as defined in serialize/structDescriptionBase.hpp More...
 
struct  _Wolframe::serialize::traits::has_description_method_noprm< T >
 
struct  _Wolframe::serialize::traits::has_description_method_noprm< T >::large_type
 
struct  _Wolframe::serialize::traits::has_description_method_noprm< T >::tester_static_signature<>
 
struct  _Wolframe::serialize::traits::has_description_method< T, true >
 

Namespaces

 _Wolframe
 Toplevel Wolframe namespace.
 
 _Wolframe::serialize
 Serialization library (implemented in the library libwolframe_serialize)
 
 _Wolframe::serialize::traits
 templates for type dependend characteristics in serialization
 

Functions

template<typename T >
boost::enable_if_c
< boost::is_same< std::vector
< typename T::value_type >,T >
::value &&!boost::is_same
< std::string, T >::value,const
vector_ & >::type 
_Wolframe::serialize::traits::getCategory (const T &)
 get category vector_ for a type More...
 
template<typename T >
boost::enable_if_c
< has_description_method< T >
::value,const struct_ & >
::type 
_Wolframe::serialize::traits::getCategory (const T &)
 get category struct_ for a type More...
 
template<typename T >
boost::enable_if_c
< boost::is_arithmetic< T >
::value||boost::is_same
< std::string, T >::value||boost::is_same
< types::DateTime, T >::value||boost::is_same
< types::BigNumber, T >::value,const
atomic_ & >::type 
_Wolframe::serialize::traits::getCategory (const T &)
 get category atomic_ for a type More...
 

Detailed Description

defines the type traits for the intrusive part of serialization/deserialization