Classdesc 3.44
BinStream Class Reference

#include <pack_base.h>

Inheritance diagram for BinStream:
Inheritance graph
Collaboration diagram for BinStream:
Collaboration graph

Public Member Functions

 BinStream (pack_t &packer)
template<class T>
enable_if< Not< is_container< T > >, BinStream & >::T operator<< (const T &o)
template<class T>
enable_if< Not< is_container< T > >, BinStream & >::T operator>> (T &o)
template<class T>
enable_if< is_container< T >, BinStream & >::T operator<< (const T &o)
template<class T>
enable_if< is_sequence< T >, BinStream & >::T operator>> (T &o)
template<class T>
enable_if< is_associative_container< T >, BinStream & >::T operator>> (T &o)
template<class T, class A>
BinStreamoperator<< (const std::vector< T, A > &o)
 specialisation for vector
template<class T, class A>
BinStreamoperator>> (std::vector< T, A > &o)
 BinStream (pack_t &packer)
template<class T>
enable_if< Not< is_container< T > >, BinStream & >::T operator<< (const T &o)
template<class T>
enable_if< Not< is_container< T > >, BinStream & >::T operator>> (T &o)
template<class T>
enable_if< is_container< T >, BinStream & >::T operator<< (const T &o)
template<class T>
enable_if< is_sequence< T >, BinStream & >::T operator>> (T &o)
template<class T>
enable_if< is_associative_container< T >, BinStream & >::T operator>> (T &o)
template<class T, class A>
BinStreamoperator<< (const std::vector< T, A > &o)
 specialisation for vector
template<class T, class A>
BinStreamoperator>> (std::vector< T, A > &o)

Detailed Description

Binary streamer class. This subverts the normal classdesc serialisation to just stream types directly to a pack_t type, for efficiency. Only useful for PODs.

Caveat: Do not use on classes with virtual functions!


The documentation for this class was generated from the following files: