Savarese Software Research Corporation
serialization.h File Reference

This header defines serialization support classes and functions. More...

#include <ssrc/wisp-packages.h>
#include <ssrc/spread/detail/ByteBuffer.h>
#include <utility>
#include <boost/iostreams/stream.hpp>
#include <boost/iostreams/device/array.hpp>
#include <boost/archive/binary_iarchive.hpp>
#include <boost/archive/binary_oarchive.hpp>
#include <boost/serialization/split_free.hpp>
#include <boost/serialization/binary_object.hpp>
Include dependency graph for serialization.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class   detail::array_device_adapter< Ch, mode_type >
  This is a Boost iostreams direct device whose begin and end pointers can be modified. More...
 
struct   detail::array_device_adapter< Ch, mode_type >::category
 
struct   detail::char_array_streambuf< DeviceAdapter >
 
class   Packer< Archive >
  Packer serializes objects into ssrc::spread::detail::ByteBuffer instances (usually a ssrc::spread::Message instance). More...
 
class   Unpacker< Archive >
  Unpacker deserializes objects from ssrc::spread::detail::ByteBuffer instances (usually a ssrc::spread::Message instance). More...
 
struct   PackingTraits< P, U >
 

Namespaces

  detail
 
  boost
 
  boost::serialization
 

Macros

#define  __BEGIN_BOOST_SERIALIZATION
  Opens the boost::serialization namespace so you can add custom serialize functions. More...
 
#define  __END_BOOST_SERIALIZATION
  Closes the boost::serialization namespace started with __BEGIN_BOOST_SERIALIZATION. More...
 

Typedefs

typedef array_device_adapter< char >  detail::char_array_source
 
typedef array_device_adapter< char >  detail::char_array_sink
 
typedef char_array_streambuf< char_array_source >  detail::char_array_source_buffer
 
typedef char_array_streambuf< char_array_sink >  detail::char_array_sink_buffer
 
typedef Packer< boost::archive::binary_oarchive >  BinaryPacker
 
typedef Unpacker< boost::archive::binary_iarchive >  BinaryUnpacker
 
typedef PackingTraits< BinaryPacker, BinaryUnpacker BinaryPackingTraits
 

Functions

template<class Archive >
void  boost::serialization::save_construct_data (Archive &ar, const NS_SSRC_SPREAD::detail::ByteBuffer *buffer, const unsigned int)
 
template<class Archive >
void  boost::serialization::load_construct_data (Archive &ar, NS_SSRC_SPREAD::detail::ByteBuffer *buffer, const unsigned int)
 
template<class Archive >
void  boost::serialization::save (Archive &ar, const NS_SSRC_SPREAD::detail::ByteBuffer &buffer, const unsigned int)
 
template<class Archive >
void  boost::serialization::load (Archive &ar, NS_SSRC_SPREAD::detail::ByteBuffer &buffer, const unsigned int)
 

Detailed Description

This header defines serialization support classes and functions.

Definition in file serialization.h.

Macro Definition Documentation

#define __BEGIN_BOOST_SERIALIZATION
Value:
namespace boost { \
namespace serialization {

Opens the boost::serialization namespace so you can add custom serialize functions.

Close the serialize function definition block with __END_BOOST_SERIALIZATION.

Definition at line 43 of file serialization.h.

#define __END_BOOST_SERIALIZATION
Value:
} \
}

Closes the boost::serialization namespace started with __BEGIN_BOOST_SERIALIZATION.

Definition at line 51 of file serialization.h.

Typedef Documentation

typedef Packer<boost::archive::binary_oarchive> BinaryPacker

Definition at line 313 of file serialization.h.

typedef Unpacker<boost::archive::binary_iarchive> BinaryUnpacker

Definition at line 314 of file serialization.h.


Savarese Software Research Corporation
Copyright © 2006-2012 Savarese Software Research Corporation. All rights reserved.