cxxtools::bin Namespace Reference

Classes

class  BinOObject
 Wrapper object to easily print serializable objects in cxxtools binary format to a output stream. More...
class  BinIOObject
class  Deserializer
class  Formatter
class  Parser
class  RpcClient
class  RpcServer
class  Serializer

Functions

template<typename CharType , typename ObjectType >
std::basic_ostream< CharType > & operator<< (std::basic_ostream< CharType > &out, const BinOObject< ObjectType > &object)
 The output operator for BinOObject. It does the actual work.
template<typename ObjectType >
BinOObject< ObjectType > Bin (const ObjectType &object)
 Function, which creates a BinOObject.
template<typename CharType , typename ObjectType >
std::basic_istream< CharType > & operator>> (std::basic_istream< CharType > &in, BinIOObject< ObjectType > object)
 The input operator for BinIOObject. It does the actual work.
template<typename ObjectType >
BinIOObject< ObjectType > Bin (ObjectType &object)

Function Documentation

template<typename ObjectType >
BinOObject<ObjectType> cxxtools::bin::Bin ( const ObjectType &  object)

Function, which creates a BinOObject.

This makes the syntactic sugar perfect. See the example at BinOObject for its use.

template<typename ObjectType >
BinIOObject<ObjectType> cxxtools::bin::Bin ( ObjectType &  object)
template<typename CharType , typename ObjectType >
std::basic_ostream<CharType>& cxxtools::bin::operator<< ( std::basic_ostream< CharType > &  out,
const BinOObject< ObjectType > &  object 
)

The output operator for BinOObject. It does the actual work.

template<typename CharType , typename ObjectType >
std::basic_istream<CharType>& cxxtools::bin::operator>> ( std::basic_istream< CharType > &  in,
BinIOObject< ObjectType >  object 
)

The input operator for BinIOObject. It does the actual work.