Collage  1.5.0
High-performance C++ library for developing object-oriented distributed applications.
co::DataOStreamArchive Class Reference

A boost.serialization output archive writing to a co::DataOStream. More...

#include <dataOStreamArchive.h>

+ Inheritance diagram for co::DataOStreamArchive:
+ Collaboration diagram for co::DataOStreamArchive:

Classes

struct  use_array_optimization
 

Public Member Functions

CO_API DataOStreamArchive (DataOStream &stream)
 Construct a new serialization archive. More...
 
CO_API void save_binary (const void *data, std::size_t size)
 
template<typename T >
void save_array (const boost::serialization::array< T > &a, unsigned int)
 
template<typename T >
boost::enable_if< boost::is_integral< T > >::type save (const T &t)
 
template<typename T >
boost::enable_if< boost::is_floating_point< T > >::type save (const T &t)
 
template<typename T >
void save_array (const boost::serialization::array< T > &a, unsigned int)
 
template<class C , class T , class A >
void save (const std::basic_string< C, T, A > &s)
 
template<typename T >
boost::enable_if< boost::is_integral< T > >::type save (const T &t)
 
template<typename T >
boost::enable_if< boost::is_floating_point< T > >::type save (const T &t)
 

Friends

class boost::archive::save_access
 

Detailed Description

A boost.serialization output archive writing to a co::DataOStream.

Definition at line 57 of file dataOStreamArchive.h.

Constructor & Destructor Documentation

CO_API co::DataOStreamArchive::DataOStreamArchive ( DataOStream stream)
explicit

Construct a new serialization archive.

Version
1.0

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