Pothos  0.7.0-gf7fbae99
The Pothos dataflow programming software suite
Classes | Functions
Pothos::serialization Namespace Reference

Classes

class  BinaryObject
 
struct  hasSerialize
 
class  VersionType
 

Functions

template<typename Archive , typename T >
void save (Archive &ar, const std::complex< T > &t, const unsigned int)
 
template<typename Archive , typename T >
void load (Archive &ar, std::complex< T > &t, const unsigned int)
 
template<typename Archive , typename T >
void serialize (Archive &ar, std::complex< T > &t, const unsigned int ver)
 
template<typename Archive , typename T >
std::enable_if< Archive::isSave::value >::type invokeSplit (Archive &ar, T &value, const unsigned int ver)
 
template<typename Archive , typename T >
std::enable_if<!Archive::isSave::value >::type invokeSplit (Archive &ar, T &value, const unsigned int ver)
 
template<typename Archive , typename T >
std::enable_if<!hasSerialize< T, Archive >::value >::type invokeSerialize (Archive &ar, T &value, const unsigned int ver)
 
template<typename Archive , typename T >
std::enable_if< hasSerialize< T, Archive >::value >::type invokeSerialize (Archive &ar, T &value, const unsigned int ver)
 
template<typename Archive , typename K , typename T , typename Compare , typename Allocator >
void save (Archive &ar, const std::map< K, T, Compare, Allocator > &t, const unsigned int)
 
template<typename Archive , typename K , typename T , typename Compare , typename Allocator >
void load (Archive &ar, std::map< K, T, Compare, Allocator > &t, const unsigned int)
 
template<typename Archive , typename K , typename T , typename Compare , typename Allocator >
void serialize (Archive &ar, std::map< K, T, Compare, Allocator > &t, const unsigned int ver)
 
template<typename Archive >
void save (Archive &ar, const bool &t, const unsigned int)
 
template<typename Archive >
void load (Archive &ar, bool &t, const unsigned int)
 
template<typename Archive , typename T >
std::enable_if< std::is_same< T, unsigned char >::value or std::is_same< T, signed char >::value or std::is_same< T, char >::value >::type save (Archive &ar, const T &t, const unsigned int)
 
template<typename Archive , typename T >
std::enable_if< std::is_same< T, unsigned char >::value or std::is_same< T, signed char >::value or std::is_same< T, char >::value >::type load (Archive &ar, T &t, const unsigned int)
 
template<typename Archive , typename T >
std::enable_if< std::is_same< T, unsigned short >::value or std::is_same< T, signed short >::value >::type save (Archive &ar, const T &t, const unsigned int)
 
template<typename Archive , typename T >
std::enable_if< std::is_same< T, unsigned short >::value or std::is_same< T, signed short >::value >::type load (Archive &ar, T &t, const unsigned int)
 
template<typename Archive , typename T >
std::enable_if< std::is_same< T, signed int >::value or std::is_same< T, signed long >::value or std::is_same< T, signed long long >::value >::type save (Archive &ar, const T &t, const unsigned int)
 
template<typename Archive , typename T >
std::enable_if< std::is_same< T, signed int >::value or std::is_same< T, signed long >::value or std::is_same< T, signed long long >::value >::type load (Archive &ar, T &t, const unsigned int)
 
template<typename Archive , typename T >
std::enable_if< std::is_same< T, unsigned int >::value or std::is_same< T, unsigned long >::value or std::is_same< T, unsigned long long >::value >::type save (Archive &ar, const T &t, const unsigned int)
 
template<typename Archive , typename T >
std::enable_if< std::is_same< T, unsigned int >::value or std::is_same< T, unsigned long >::value or std::is_same< T, unsigned long long >::value >::type load (Archive &ar, T &t, const unsigned int)
 
template<typename Archive >
std::enable_if< std::numeric_limits< float >::is_iec559 >::type save (Archive &ar, const float &t, const unsigned int)
 
template<typename Archive >
std::enable_if< std::numeric_limits< float >::is_iec559 >::type load (Archive &ar, float &t, const unsigned int)
 
template<typename Archive >
std::enable_if< std::numeric_limits< double >::is_iec559 >::type save (Archive &ar, const double &t, const unsigned int)
 
template<typename Archive >
std::enable_if< std::numeric_limits< double >::is_iec559 >::type load (Archive &ar, double &t, const unsigned int)
 
template<typename Archive , typename T >
std::enable_if< std::is_arithmetic< T >::value >::type serialize (Archive &ar, T &t, const unsigned int ver)
 
template<typename Archive , typename F , typename L >
void serialize (Archive &ar, std::pair< F, L > &t, const unsigned int)
 
template<typename Archive , typename T >
std::enable_if< std::is_polymorphic< T >::value >::type save (Archive &ar, const T *const &t, const unsigned int)
 
template<typename Archive , typename T >
std::enable_if< std::is_polymorphic< T >::value >::type load (Archive &ar, T *&t, const unsigned int)
 
template<typename Archive , typename T >
std::enable_if< std::is_polymorphic< T >::value >::type serialize (Archive &ar, T *&t, const unsigned int ver)
 
template<typename Archive , typename T , typename Compare , typename Allocator >
void save (Archive &ar, const std::set< T, Compare, Allocator > &t, const unsigned int)
 
template<typename Archive , typename T , typename Compare , typename Allocator >
void load (Archive &ar, std::set< T, Compare, Allocator > &t, const unsigned int)
 
template<typename Archive , typename T , typename Compare , typename Allocator >
void serialize (Archive &ar, std::set< T, Compare, Allocator > &t, const unsigned int ver)
 
template<typename Archive , typename T , typename Traits , typename Allocator >
void save (Archive &ar, const std::basic_string< T, Traits, Allocator > &t, const unsigned int)
 
template<typename Archive , typename T , typename Traits , typename Allocator >
void load (Archive &ar, std::basic_string< T, Traits, Allocator > &t, const unsigned int)
 
template<typename Archive , typename T , typename Traits , typename Allocator >
void serialize (Archive &ar, std::basic_string< T, Traits, Allocator > &t, const unsigned int ver)
 
template<typename Archive , typename Allocator >
void save (Archive &ar, const std::vector< bool, Allocator > &t, const unsigned int)
 
template<typename Archive , typename Allocator >
void load (Archive &ar, std::vector< bool, Allocator > &t, const unsigned int)
 
template<typename Archive , typename T , typename Allocator >
void save (Archive &ar, const std::vector< T, Allocator > &t, const unsigned int)
 
template<typename Archive , typename T , typename Allocator >
void load (Archive &ar, std::vector< T, Allocator > &t, const unsigned int)
 
template<typename Archive , typename T , typename Allocator >
void serialize (Archive &ar, std::vector< T, Allocator > &t, const unsigned int ver)
 
template<class Archive >
void serialize (Archive &, Pothos::Detail::ObjectContainer &, const unsigned int)
 
template<class Archive , typename ValueType >
void serialize (Archive &ar, Pothos::Detail::ObjectContainerT< ValueType > &t, const unsigned int)
 
template<class Archive >
void save (Archive &ar, const Pothos::Object &t, const unsigned int)
 
template<class Archive >
void load (Archive &ar, Pothos::Object &t, const unsigned int)
 

Function Documentation

◆ invokeSerialize() [1/2]

template<typename Archive , typename T >
std::enable_if<!hasSerialize<T, Archive>::value>::type Pothos::serialization::invokeSerialize ( Archive &  ar,
T &  value,
const unsigned int  ver 
)

Invoke serialize when its not a member function

◆ invokeSerialize() [2/2]

template<typename Archive , typename T >
std::enable_if<hasSerialize<T, Archive>::value>::type Pothos::serialization::invokeSerialize ( Archive &  ar,
T &  value,
const unsigned int  ver 
)

Invoke serialize when it is a member function

◆ invokeSplit() [1/2]

template<typename Archive , typename T >
std::enable_if<Archive::isSave::value>::type Pothos::serialization::invokeSplit ( Archive &  ar,
T &  value,
const unsigned int  ver 
)

Invoke a save operation given an output stream archiver

◆ invokeSplit() [2/2]

template<typename Archive , typename T >
std::enable_if<!Archive::isSave::value>::type Pothos::serialization::invokeSplit ( Archive &  ar,
T &  value,
const unsigned int  ver 
)

Invoke a load operation given an input stream archiver

◆ load() [1/15]

template<typename Archive , typename T >
void Pothos::serialization::load ( Archive &  ar,
std::complex< T > &  t,
const unsigned  int 
)

◆ load() [2/15]

template<typename Archive , typename T , typename Traits , typename Allocator >
void Pothos::serialization::load ( Archive &  ar,
std::basic_string< T, Traits, Allocator > &  t,
const unsigned  int 
)

◆ load() [3/15]

template<typename Archive , typename T >
std::enable_if<std::is_polymorphic<T>::value>::type Pothos::serialization::load ( Archive &  ar,
T *&  t,
const unsigned  int 
)

◆ load() [4/15]

template<typename Archive , typename T , typename Compare , typename Allocator >
void Pothos::serialization::load ( Archive &  ar,
std::set< T, Compare, Allocator > &  t,
const unsigned  int 
)

◆ load() [5/15]

template<typename Archive , typename K , typename T , typename Compare , typename Allocator >
void Pothos::serialization::load ( Archive &  ar,
std::map< K, T, Compare, Allocator > &  t,
const unsigned  int 
)

◆ load() [6/15]

template<typename Archive , typename Allocator >
void Pothos::serialization::load ( Archive &  ar,
std::vector< bool, Allocator > &  t,
const unsigned  int 
)

◆ load() [7/15]

template<typename Archive >
void Pothos::serialization::load ( Archive &  ar,
bool &  t,
const unsigned  int 
)

◆ load() [8/15]

template<class Archive >
void Pothos::serialization::load ( Archive &  ar,
Pothos::Object t,
const unsigned  int 
)

◆ load() [9/15]

template<typename Archive , typename T , typename Allocator >
void Pothos::serialization::load ( Archive &  ar,
std::vector< T, Allocator > &  t,
const unsigned  int 
)

◆ load() [10/15]

template<typename Archive , typename T >
std::enable_if< std::is_same<T, unsigned char>::value or std::is_same<T, signed char>::value or std::is_same<T, char>::value>::type Pothos::serialization::load ( Archive &  ar,
T &  t,
const unsigned  int 
)

◆ load() [11/15]

template<typename Archive , typename T >
std::enable_if< std::is_same<T, unsigned short>::value or std::is_same<T, signed short>::value>::type Pothos::serialization::load ( Archive &  ar,
T &  t,
const unsigned  int 
)

◆ load() [12/15]

template<typename Archive , typename T >
std::enable_if< std::is_same<T, signed int>::value or std::is_same<T, signed long>::value or std::is_same<T, signed long long>::value>::type Pothos::serialization::load ( Archive &  ar,
T &  t,
const unsigned  int 
)

◆ load() [13/15]

template<typename Archive , typename T >
std::enable_if< std::is_same<T, unsigned int>::value or std::is_same<T, unsigned long>::value or std::is_same<T, unsigned long long>::value>::type Pothos::serialization::load ( Archive &  ar,
T &  t,
const unsigned  int 
)

◆ load() [14/15]

template<typename Archive >
std::enable_if<std::numeric_limits<float>::is_iec559>::type Pothos::serialization::load ( Archive &  ar,
float &  t,
const unsigned  int 
)

◆ load() [15/15]

template<typename Archive >
std::enable_if<std::numeric_limits<double>::is_iec559>::type Pothos::serialization::load ( Archive &  ar,
double &  t,
const unsigned  int 
)

◆ save() [1/15]

template<typename Archive , typename T >
void Pothos::serialization::save ( Archive &  ar,
const std::complex< T > &  t,
const unsigned  int 
)

◆ save() [2/15]

template<typename Archive , typename T , typename Traits , typename Allocator >
void Pothos::serialization::save ( Archive &  ar,
const std::basic_string< T, Traits, Allocator > &  t,
const unsigned  int 
)

◆ save() [3/15]

template<typename Archive , typename T , typename Compare , typename Allocator >
void Pothos::serialization::save ( Archive &  ar,
const std::set< T, Compare, Allocator > &  t,
const unsigned  int 
)

◆ save() [4/15]

template<typename Archive , typename K , typename T , typename Compare , typename Allocator >
void Pothos::serialization::save ( Archive &  ar,
const std::map< K, T, Compare, Allocator > &  t,
const unsigned  int 
)

◆ save() [5/15]

template<typename Archive , typename Allocator >
void Pothos::serialization::save ( Archive &  ar,
const std::vector< bool, Allocator > &  t,
const unsigned  int 
)

◆ save() [6/15]

template<typename Archive , typename T >
std::enable_if<std::is_polymorphic<T>::value>::type Pothos::serialization::save ( Archive &  ar,
const T *const &  t,
const unsigned  int 
)

◆ save() [7/15]

template<typename Archive >
void Pothos::serialization::save ( Archive &  ar,
const bool &  t,
const unsigned  int 
)

◆ save() [8/15]

template<class Archive >
void Pothos::serialization::save ( Archive &  ar,
const Pothos::Object t,
const unsigned  int 
)

◆ save() [9/15]

template<typename Archive , typename T , typename Allocator >
void Pothos::serialization::save ( Archive &  ar,
const std::vector< T, Allocator > &  t,
const unsigned  int 
)

◆ save() [10/15]

template<typename Archive , typename T >
std::enable_if< std::is_same<T, unsigned char>::value or std::is_same<T, signed char>::value or std::is_same<T, char>::value>::type Pothos::serialization::save ( Archive &  ar,
const T &  t,
const unsigned  int 
)

◆ save() [11/15]

template<typename Archive , typename T >
std::enable_if< std::is_same<T, unsigned short>::value or std::is_same<T, signed short>::value>::type Pothos::serialization::save ( Archive &  ar,
const T &  t,
const unsigned  int 
)

◆ save() [12/15]

template<typename Archive , typename T >
std::enable_if< std::is_same<T, signed int>::value or std::is_same<T, signed long>::value or std::is_same<T, signed long long>::value>::type Pothos::serialization::save ( Archive &  ar,
const T &  t,
const unsigned  int 
)

◆ save() [13/15]

template<typename Archive , typename T >
std::enable_if< std::is_same<T, unsigned int>::value or std::is_same<T, unsigned long>::value or std::is_same<T, unsigned long long>::value>::type Pothos::serialization::save ( Archive &  ar,
const T &  t,
const unsigned  int 
)

◆ save() [14/15]

template<typename Archive >
std::enable_if<std::numeric_limits<float>::is_iec559>::type Pothos::serialization::save ( Archive &  ar,
const float &  t,
const unsigned  int 
)

◆ save() [15/15]

template<typename Archive >
std::enable_if<std::numeric_limits<double>::is_iec559>::type Pothos::serialization::save ( Archive &  ar,
const double &  t,
const unsigned  int 
)

◆ serialize() [1/10]

template<typename Archive , typename F , typename L >
void Pothos::serialization::serialize ( Archive &  ar,
std::pair< F, L > &  t,
const unsigned  int 
)

◆ serialize() [2/10]

template<class Archive >
void Pothos::serialization::serialize ( Archive &  ,
Pothos::Detail::ObjectContainer &  ,
const unsigned  int 
)

◆ serialize() [3/10]

template<class Archive , typename ValueType >
void Pothos::serialization::serialize ( Archive &  ar,
Pothos::Detail::ObjectContainerT< ValueType > &  t,
const unsigned  int 
)

◆ serialize() [4/10]

template<typename Archive , typename T >
void Pothos::serialization::serialize ( Archive &  ar,
std::complex< T > &  t,
const unsigned int  ver 
)

◆ serialize() [5/10]

template<typename Archive , typename T , typename Traits , typename Allocator >
void Pothos::serialization::serialize ( Archive &  ar,
std::basic_string< T, Traits, Allocator > &  t,
const unsigned int  ver 
)

◆ serialize() [6/10]

template<typename Archive , typename T >
std::enable_if<std::is_polymorphic<T>::value>::type Pothos::serialization::serialize ( Archive &  ar,
T *&  t,
const unsigned int  ver 
)

◆ serialize() [7/10]

template<typename Archive , typename T , typename Compare , typename Allocator >
void Pothos::serialization::serialize ( Archive &  ar,
std::set< T, Compare, Allocator > &  t,
const unsigned int  ver 
)

◆ serialize() [8/10]

template<typename Archive , typename K , typename T , typename Compare , typename Allocator >
void Pothos::serialization::serialize ( Archive &  ar,
std::map< K, T, Compare, Allocator > &  t,
const unsigned int  ver 
)

◆ serialize() [9/10]

template<typename Archive , typename T , typename Allocator >
void Pothos::serialization::serialize ( Archive &  ar,
std::vector< T, Allocator > &  t,
const unsigned int  ver 
)

◆ serialize() [10/10]

template<typename Archive , typename T >
std::enable_if<std::is_arithmetic<T>::value>::type Pothos::serialization::serialize ( Archive &  ar,
T &  t,
const unsigned int  ver 
)