Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
elm::serial2 Namespace Reference

Classes

class  AbstractClass
 
class  ArrayField
 
class  Base
 
class  Class
 
class  CollecAC
 
class  CollectionSerializer
 
class  DataSerializer
 
class  Enum
 
class  ExternalSolver
 
struct  from_class
 
struct  from_class< elm::Vector< T, M > >
 
struct  from_class< Vector< T > >
 
struct  from_enum
 
struct  from_type
 
class  Serializer
 
class  TextSerializer
 
class  Unserializer
 
class  Vector
 
class  XOMElementSerializer
 
class  XOMSerializer
 
class  XOMUnserializer
 

Typedefs

template<class T >
using supports_complete = decltype(meta::declval< T >().__serial_complete())
 

Functions

template<class T >
ArrayField< T > getArrayField (elm::CString name, T *tab, int &size)
 
template<class T >
void __serialize (Serializer &s, const ArrayField< T > &field)
 
template<class T >
void __unserialize (Unserializer &s, const ArrayField< T > &field)
 
template<class T >
Serializeroperator& (Serializer &s, const ArrayField< T > &field)
 
template<class T >
Unserializeroperator& (Unserializer &s, const ArrayField< T > &field)
 
template<class T >
void __serialize (Serializer &serializer, const Array< T > &tab)
 
template<class T >
void __unserialize (Unserializer &serializer, AllocArray< T > &tab)
 
template<class T >
void __serialize (Serializer &serializer, const AllocArray< T > &tab)
 
template<class T >
void __serialize_body (Serializer &s, const T *v)
 
template<>
void __serialize_body (Serializer &s, const void *v)
 
template<class T >
void __unserialize_body (Unserializer &s, T *v)
 
template<>
void __unserialize_body (Unserializer &s, void *v)
 
template<class T >
meta::enable_if< meta::is_supported< T, supports_complete >::_ >::_ do_complete (T &v)
 
template<class T >
meta::enable_if<!meta::is_supported< T, supports_complete >::_ >::_ do_complete (T &v)
 
template<class T >
void __serialize (Serializer &s, T *v)
 
template<class T >
void __serialize (Serializer &s, const T *v)
 
template<class T >
void __serialize (Serializer &s, const T &v)
 
template<class T >
Serializeroperator& (Serializer &serializer, const T &data)
 
template<class T >
Serializeroperator<< (Serializer &serializer, const T &data)
 
template<class T >
void __unserialize (Unserializer &s, T *&v)
 
template<class T >
void __unserialize (Unserializer &s, const T *&v)
 
template<class T >
void __unserialize (Unserializer &s, T &v)
 
template<class T >
Unserializeroperator& (Unserializer &serializer, T &data)
 
template<class T >
Unserializeroperator& (Unserializer &s, const Field< T > &field)
 
template<class T >
Unserializeroperator& (Unserializer &s, const DefaultField< T > &field)
 
template<class T >
Unserializeroperator>> (Unserializer &serializer, T &data)
 
template<class T >
Unserializeroperator>> (Unserializer &s, const Field< T > &field)
 
template<class T >
Unserializeroperator>> (Unserializer &s, const DefaultField< T > &field)
 
template<class T >
void __serialize (Serializer &s, const Field< const T > &field)
 
template<class T >
void __serialize (Serializer &s, const DefaultField< const T > &field)
 
template<class T >
void __serialize (Serializer &s, const Field< T > &field)
 
template<class T >
void __serialize (Serializer &s, const DefaultField< T > &field)
 
template<class T >
void __unserialize (Unserializer &s, const Field< T > &field)
 
template<class T >
void __unserialize (Unserializer &s, const DefaultField< T > &field)
 
template<class T >
Unserializeroperator& (Unserializer &s, const Base< T > &base)
 
template<class T >
Unserializeroperator>> (Unserializer &s, const Base< T > &base)
 
template<class T >
Serializeroperator& (Serializer &s, const Base< T > &base)
 
template<class T >
Serializeroperator<< (Serializer &s, const Base< T > &base)
 

Typedef Documentation

◆ supports_complete

using supports_complete = decltype(meta::declval<T>().__serial_complete())

Function Documentation

◆ __serialize() [1/10]

◆ __serialize() [2/10]

void elm::serial2::__serialize ( Serializer s,
const DefaultField< const T > &  field 
)
inline

References __serialize(), and elm::field().

◆ __serialize() [3/10]

void elm::serial2::__serialize ( Serializer s,
const DefaultField< T > &  field 
)
inline

References __serialize(), and elm::field().

◆ __serialize() [4/10]

void elm::serial2::__serialize ( Serializer s,
const Field< const T > &  field 
)
inline

◆ __serialize() [5/10]

void elm::serial2::__serialize ( Serializer s,
const Field< T > &  field 
)
inline

◆ __serialize() [6/10]

void elm::serial2::__serialize ( Serializer s,
const T &  v 
)
inline

◆ __serialize() [7/10]

void elm::serial2::__serialize ( Serializer s,
const T *  v 
)
inline

◆ __serialize() [8/10]

void elm::serial2::__serialize ( Serializer s,
T *  v 
)
inline

◆ __serialize() [9/10]

void elm::serial2::__serialize ( Serializer serializer,
const AllocArray< T > &  tab 
)

References __serialize().

◆ __serialize() [10/10]

void elm::serial2::__serialize ( Serializer serializer,
const Array< T > &  tab 
)

◆ __serialize_body() [1/2]

void elm::serial2::__serialize_body ( Serializer s,
const T *  v 
)
inline

◆ __serialize_body() [2/2]

void elm::serial2::__serialize_body ( Serializer s,
const void v 
)
inline

◆ __unserialize() [1/7]

◆ __unserialize() [2/7]

void elm::serial2::__unserialize ( Unserializer s,
const DefaultField< T > &  field 
)
inline

◆ __unserialize() [3/7]

void elm::serial2::__unserialize ( Unserializer s,
const Field< T > &  field 
)
inline

◆ __unserialize() [4/7]

void elm::serial2::__unserialize ( Unserializer s,
const T *&  v 
)
inline

◆ __unserialize() [5/7]

void elm::serial2::__unserialize ( Unserializer s,
T &  v 
)
inline

◆ __unserialize() [6/7]

void elm::serial2::__unserialize ( Unserializer s,
T *&  v 
)
inline

◆ __unserialize() [7/7]

◆ __unserialize_body() [1/2]

void elm::serial2::__unserialize_body ( Unserializer s,
T *  v 
)
inline

◆ __unserialize_body() [2/2]

void elm::serial2::__unserialize_body ( Unserializer s,
void v 
)
inline

◆ do_complete() [1/2]

meta::enable_if<meta::is_supported<T, supports_complete>::_>::_ elm::serial2::do_complete ( T &  v)

◆ do_complete() [2/2]

meta::enable_if<!meta::is_supported<T, supports_complete>::_>::_ elm::serial2::do_complete ( T &  v)

◆ getArrayField()

ArrayField<T> elm::serial2::getArrayField ( elm::CString  name,
T *  tab,
int &  size 
)

◆ operator&() [1/8]

Serializer& elm::serial2::operator& ( Serializer s,
const ArrayField< T > &  field 
)
inline

References __serialize(), and elm::field().

◆ operator&() [2/8]

Serializer& elm::serial2::operator& ( Serializer s,
const Base< T > &  base 
)
inline

◆ operator&() [3/8]

Serializer& elm::serial2::operator& ( Serializer serializer,
const T &  data 
)
inline

References __serialize().

◆ operator&() [4/8]

Unserializer& elm::serial2::operator& ( Unserializer s,
const ArrayField< T > &  field 
)
inline

References __unserialize(), and elm::field().

◆ operator&() [5/8]

Unserializer& elm::serial2::operator& ( Unserializer s,
const Base< T > &  base 
)
inline

◆ operator&() [6/8]

Unserializer& elm::serial2::operator& ( Unserializer s,
const DefaultField< T > &  field 
)
inline

References __unserialize(), and elm::field().

◆ operator&() [7/8]

Unserializer& elm::serial2::operator& ( Unserializer s,
const Field< T > &  field 
)
inline

References __unserialize(), and elm::field().

◆ operator&() [8/8]

Unserializer& elm::serial2::operator& ( Unserializer serializer,
T &  data 
)
inline

References __unserialize().

◆ operator<<() [1/2]

Serializer& elm::serial2::operator<< ( Serializer s,
const Base< T > &  base 
)
inline

◆ operator<<() [2/2]

Serializer& elm::serial2::operator<< ( Serializer serializer,
const T &  data 
)
inline

References __serialize().

◆ operator>>() [1/4]

Unserializer& elm::serial2::operator>> ( Unserializer s,
const Base< T > &  base 
)
inline

◆ operator>>() [2/4]

Unserializer& elm::serial2::operator>> ( Unserializer s,
const DefaultField< T > &  field 
)
inline

References __unserialize(), and elm::field().

◆ operator>>() [3/4]

Unserializer& elm::serial2::operator>> ( Unserializer s,
const Field< T > &  field 
)
inline

References __unserialize(), and elm::field().

◆ operator>>() [4/4]

Unserializer& elm::serial2::operator>> ( Unserializer serializer,
T &  data 
)
inline

References __unserialize().