Bond
 
Loading...
Searching...
No Matches
bond::bonded< void, Reader > Class Template Reference

Untyped specialization of bonded<T>, used for dynamic binding (i.e. schema known at runtime) More...

Inherits bond::detail::nonassignable.

Public Member Functions

 bonded (Reader data, const RuntimeSchema &schema, bool base=false)
 Initialize from serialized data and runtime schema. More...
 
 bonded (const bonded &other)
 Copy constructor. More...
 
template<typename T , typename ReaderT >
 bonded (const bonded< T, ReaderT > &other)
 Explicit cast from bonded<T> More...
 
 bonded (bonded &&other) BOND_NOEXCEPT_IF(&&std
 Move constructor. More...
 
template<typename Protocols = BuiltInProtocols, typename Writer >
boost::disable_if< uses_marshaled_bonded< typenameWriter::Reader > >::type Serialize (Writer &output) const
 Serialize bonded using specified protocol writer. More...
 
template<typename T , typename Protocols = BuiltInProtocols>
Deserialize () const
 Deserialize an object of type T. More...
 
template<typename Protocols = BuiltInProtocols, typename T >
void Deserialize (T &var) const
 Deserialize to an object of type T. More...
 
template<typename Protocols = BuiltInProtocols, typename T >
boost::enable_if< uses_marshaled_bonded< Reader, T > >::type Deserialize (bonded< T > &var) const
 Deserialize to a bonded<T> More...
 
template<typename Protocols = BuiltInProtocols, typename T >
boost::disable_if< uses_marshaled_bonded< Reader, T > >::type Deserialize (bonded< T > &var) const
 Deserialize to a bonded<T> More...
 
void Skip ()
 Skip struct data in the underlying payload. More...
 

Detailed Description

template<typename Reader>
class bond::bonded< void, Reader >

Untyped specialization of bonded<T>, used for dynamic binding (i.e. schema known at runtime)

See User's Manual

Constructor & Destructor Documentation

◆ bonded() [1/4]

template<typename Reader >
bond::bonded< void, Reader >::bonded ( Reader  data,
const RuntimeSchema schema,
bool  base = false 
)

Initialize from serialized data and runtime schema.

◆ bonded() [2/4]

template<typename Reader >
bond::bonded< void, Reader >::bonded ( const bonded< void, Reader > &  other)

Copy constructor.

◆ bonded() [3/4]

template<typename Reader >
template<typename T , typename ReaderT >
bond::bonded< void, Reader >::bonded ( const bonded< T, ReaderT > &  other)
explicit

Explicit cast from bonded<T>

◆ bonded() [4/4]

template<typename Reader >
bond::bonded< void, Reader >::bonded ( bonded< void, Reader > &&  other) &&

Move constructor.

Member Function Documentation

◆ Deserialize() [1/4]

template<typename Reader >
template<typename T , typename Protocols = BuiltInProtocols>
T bond::bonded< void, Reader >::Deserialize ( ) const

Deserialize an object of type T.

◆ Deserialize() [2/4]

template<typename Reader >
template<typename Protocols = BuiltInProtocols, typename T >
boost::enable_if< uses_marshaled_bonded< Reader, T > >::type bond::bonded< void, Reader >::Deserialize ( bonded< T > &  var) const

Deserialize to a bonded<T>

◆ Deserialize() [3/4]

template<typename Reader >
template<typename Protocols = BuiltInProtocols, typename T >
boost::disable_if< uses_marshaled_bonded< Reader, T > >::type bond::bonded< void, Reader >::Deserialize ( bonded< T > &  var) const

Deserialize to a bonded<T>

◆ Deserialize() [4/4]

template<typename Reader >
template<typename Protocols = BuiltInProtocols, typename T >
void bond::bonded< void, Reader >::Deserialize ( T &  var) const

Deserialize to an object of type T.

◆ Serialize()

template<typename Reader >
template<typename Protocols = BuiltInProtocols, typename Writer >
boost::disable_if< uses_marshaled_bonded< typenameWriter::Reader > >::type bond::bonded< void, Reader >::Serialize ( Writer &  output) const

Serialize bonded using specified protocol writer.

◆ Skip()

template<typename Reader >
void bond::bonded< void, Reader >::Skip ( )

Skip struct data in the underlying payload.