Bond
 
Loading...
Searching...
No Matches
bond.h File Reference

Go to the source code of this file.

Namespaces

namespace  bond
 namespace bond
 

Functions

template<typename Protocols = BuiltInProtocols, typename T , typename Writer >
void bond::Serialize (const T &obj, Writer &output)
 Serialize an object using a protocol writer. More...
 
template<typename Protocols = BuiltInProtocols, typename Reader , typename T >
void bond::Deserialize (Reader input, T &obj)
 Deserialize an object from a protocol reader. More...
 
template<typename T , typename Protocols = BuiltInProtocols, typename Reader >
bond::Deserialize (Reader input)
 Deserialize an object of type T from a protocol reader. More...
 
template<typename Protocols = BuiltInProtocols, typename Reader , typename T >
void bond::Deserialize (Reader input, T &obj, const RuntimeSchema &schema)
 Deserialize an object from a protocol reader using runtime schema. More...
 
template<typename T , typename Protocols = BuiltInProtocols, typename Reader >
bond::Deserialize (Reader input, const RuntimeSchema &schema)
 Deserialize an object of type T from a protocol reader using runtime schema. More...
 
template<typename Protocols , typename T , typename Writer >
void bond::Marshal (const T &obj, Writer &output)
 Marshal an object using a protocol writer. More...
 
template<typename Protocols = BuiltInProtocols, typename Buffer , typename T >
void bond::Unmarshal (Buffer input, T &obj)
 Unmarshal an object from data stream. More...
 
template<typename T , typename Protocols = BuiltInProtocols, typename Buffer >
bond::Unmarshal (Buffer input)
 Unmarshal an object of type T from data stream. More...
 
template<typename Protocols = BuiltInProtocols, typename Buffer , typename T >
void bond::Unmarshal (Buffer input, bonded< T > &obj)
 Initialize a bonded<T> from data stream contained marshaled object. More...
 
template<typename Protocols = BuiltInProtocols, typename Buffer , typename T >
void bond::Unmarshal (Buffer input, T &obj, const RuntimeSchema &schema)
 Unmarshal an object from data stream using a runtime schema. More...
 
template<typename T , typename Protocols = BuiltInProtocols, typename Buffer >
bond::Unmarshal (Buffer input, const RuntimeSchema &schema)
 Unmarshal an object of type T from data stream using a runtime schema. More...
 
template<typename Protocols = BuiltInProtocols, typename Buffer , typename T >
void bond::Unmarshal (Buffer input, bonded< T > &obj, const RuntimeSchema &schema)
 Initialize a bonded<T> from data stream contained marshaled object using a runtime schema. More...
 
template<typename Protocols = BuiltInProtocols, typename T , typename Reader , typename Writer >
void bond::Merge (const T &obj, Reader input, Writer &output)
 Merge an object with serialize data and write the result using a protocol writer. More...