Bond
bond::SimpleBinaryReader< BufferT, MarshaledBondedProtocolsT > Class Template Reference

Reader for Simple Binary protocol. More...

Public Member Functions

 SimpleBinaryReader (typename boost::call_traits< Buffer >::param_type input, uint16_t version_value=default_version< SimpleBinaryReader >::value)
 Construct from input buffer/stream containing serialized data. More...
 
 SimpleBinaryReader (const SimpleBinaryReader &that) BOND_NOEXCEPT
 Copy constructor. More...
 
bool operator== (const SimpleBinaryReader &rhs) const
 Comparison operator. More...
 
boost::call_traits< Buffer >::const_reference GetBuffer () const
 Access to underlying buffer. More...
 
boost::call_traits< Buffer >::reference GetBuffer ()
 Access to underlying buffer. More...
 

Detailed Description

template<typename BufferT, typename MarshaledBondedProtocolsT>
class bond::SimpleBinaryReader< BufferT, MarshaledBondedProtocolsT >

Reader for Simple Binary protocol.

Constructor & Destructor Documentation

◆ SimpleBinaryReader() [1/2]

template<typename BufferT , typename MarshaledBondedProtocolsT >
bond::SimpleBinaryReader< BufferT, MarshaledBondedProtocolsT >::SimpleBinaryReader ( typename boost::call_traits< Buffer >::param_type  input,
uint16_t  version_value = default_version<SimpleBinaryReader< BufferT, MarshaledBondedProtocolsT >>::value 
)

Construct from input buffer/stream containing serialized data.

◆ SimpleBinaryReader() [2/2]

template<typename BufferT , typename MarshaledBondedProtocolsT >
bond::SimpleBinaryReader< BufferT, MarshaledBondedProtocolsT >::SimpleBinaryReader ( const SimpleBinaryReader< BufferT, MarshaledBondedProtocolsT > &  that)

Copy constructor.

Member Function Documentation

◆ GetBuffer() [1/2]

template<typename BufferT , typename MarshaledBondedProtocolsT >
boost::call_traits< Buffer >::reference bond::SimpleBinaryReader< BufferT, MarshaledBondedProtocolsT >::GetBuffer ( )

Access to underlying buffer.

◆ GetBuffer() [2/2]

template<typename BufferT , typename MarshaledBondedProtocolsT >
boost::call_traits< Buffer >::const_reference bond::SimpleBinaryReader< BufferT, MarshaledBondedProtocolsT >::GetBuffer ( ) const

Access to underlying buffer.

◆ operator==()

template<typename BufferT , typename MarshaledBondedProtocolsT >
bool bond::SimpleBinaryReader< BufferT, MarshaledBondedProtocolsT >::operator== ( const SimpleBinaryReader< BufferT, MarshaledBondedProtocolsT > &  rhs) const

Comparison operator.