archive.h File Reference
#include <boost/archive/binary_iarchive.hpp>
#include <boost/archive/binary_oarchive.hpp>
#include <boost/iostreams/device/array.hpp>
#include <boost/iostreams/stream.hpp>
#include <boost/archive/impl/basic_binary_iarchive.ipp>
#include <boost/archive/impl/basic_binary_iprimitive.ipp>
#include <boost/archive/impl/basic_binary_oarchive.ipp>
#include <boost/archive/impl/basic_binary_oprimitive.ipp>

Classes

class  ttg::detail::boost_optimized_oarchive< StreamOrStreambuf >
 optimized data-only serializer More...
 
class  ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >
 optimized data-only deserializer for boost_optimized_oarchive More...
 

Namespaces

 ttg
 top-level TTG namespace contains runtime-neutral functionality
 
 ttg::detail
 

Macros

#define BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE(x)
 

Typedefs

using ttg::detail::boost_counting_oarchive = boost_optimized_oarchive< counting_streambuf >
 an archive that counts the size of serialized representation of an object More...
 
using ttg::detail::boost_iovec_oarchive = boost_optimized_oarchive< iovec_ostreambuf >
 an archive that constructs an IOVEC (= sequence of {pointer,size} pairs) representation of an object More...
 
using ttg::detail::boost_buffer_oarchive = boost_optimized_oarchive< boost::iostreams::stream< boost::iostreams::basic_array_sink< char > >>
 an archive that constructs serialized representation of an object in a memory buffer More...
 
using ttg::detail::boost_byte_oarchive = boost_optimized_oarchive< byte_ostreambuf >
 an archive that constructs serialized representation of an object in a memory buffer, in an optimized manner More...
 
using ttg::detail::boost_iovec_iarchive = boost_optimized_iarchive< iovec_istreambuf >
 the deserializer for boost_iovec_oarchive More...
 
using ttg::detail::boost_buffer_iarchive = boost_optimized_iarchive< boost::iostreams::stream< boost::iostreams::basic_array_source< char > >>
 the deserializer for boost_buffer_oarchive More...
 
using ttg::detail::boost_byte_iarchive = boost_optimized_iarchive< byte_istreambuf >
 the deserializer for boost_byte_oarchive More...
 

Functions

template<typename Archive , typename T >
void ttg::detail::oarchive_save_override_optimized_dispatch (Archive &ar, const T &t)
 
template<typename Archive , typename T >
void ttg::detail::iarchive_load_override_optimized_dispatch (Archive &ar, T &t)
 
auto ttg::detail::make_boost_buffer_oarchive (void *const buf, std::size_t size, std::size_t buf_offset=0)
 constructs a boost_buffer_oarchive object More...
 
template<std::size_t N>
auto ttg::detail::make_boost_buffer_oarchive (char(&buf)[N], std::size_t buf_offset=0)
 constructs a boost_buffer_oarchive object More...
 
auto ttg::detail::make_boost_buffer_iarchive (const void *const buf, std::size_t size, std::size_t buf_offset=0)
 constructs a boost_buffer_iarchive object More...
 
template<std::size_t N>
auto ttg::detail::make_boost_buffer_iarchive (const char(&buf)[N], std::size_t buf_offset=0)
 constructs a boost_buffer_iarchive object More...
 
 BOOST_SERIALIZATION_REGISTER_ARCHIVE (ttg::detail::boost_counting_oarchive)
 
 BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE (ttg::detail::boost_counting_oarchive)
 
 BOOST_SERIALIZATION_REGISTER_ARCHIVE (ttg::detail::boost_iovec_oarchive)
 
 BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE (ttg::detail::boost_iovec_oarchive)
 
 BOOST_SERIALIZATION_REGISTER_ARCHIVE (ttg::detail::boost_buffer_oarchive)
 
 BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE (ttg::detail::boost_buffer_oarchive)
 
 BOOST_SERIALIZATION_REGISTER_ARCHIVE (ttg::detail::boost_iovec_iarchive)
 
 BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE (ttg::detail::boost_iovec_iarchive)
 
 BOOST_SERIALIZATION_REGISTER_ARCHIVE (ttg::detail::boost_buffer_iarchive)
 
 BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE (ttg::detail::boost_buffer_iarchive)
 
 BOOST_SERIALIZATION_REGISTER_ARCHIVE (ttg::detail::boost_byte_oarchive)
 
 BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE (ttg::detail::boost_byte_oarchive)
 
 BOOST_SERIALIZATION_REGISTER_ARCHIVE (ttg::detail::boost_byte_iarchive)
 
 BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE (ttg::detail::boost_byte_iarchive)
 

Macro Definition Documentation

◆ BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE

#define BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE (   x)
Value:
BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION(x); \
BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION(x::base_type);

Definition at line 411 of file archive.h.

Function Documentation

◆ BOOST_SERIALIZATION_REGISTER_ARCHIVE() [1/7]

BOOST_SERIALIZATION_REGISTER_ARCHIVE ( ttg::detail::boost_buffer_iarchive  )

◆ BOOST_SERIALIZATION_REGISTER_ARCHIVE() [2/7]

BOOST_SERIALIZATION_REGISTER_ARCHIVE ( ttg::detail::boost_buffer_oarchive  )

◆ BOOST_SERIALIZATION_REGISTER_ARCHIVE() [3/7]

BOOST_SERIALIZATION_REGISTER_ARCHIVE ( ttg::detail::boost_byte_iarchive  )

◆ BOOST_SERIALIZATION_REGISTER_ARCHIVE() [4/7]

BOOST_SERIALIZATION_REGISTER_ARCHIVE ( ttg::detail::boost_byte_oarchive  )

◆ BOOST_SERIALIZATION_REGISTER_ARCHIVE() [5/7]

BOOST_SERIALIZATION_REGISTER_ARCHIVE ( ttg::detail::boost_counting_oarchive  )

◆ BOOST_SERIALIZATION_REGISTER_ARCHIVE() [6/7]

BOOST_SERIALIZATION_REGISTER_ARCHIVE ( ttg::detail::boost_iovec_iarchive  )

◆ BOOST_SERIALIZATION_REGISTER_ARCHIVE() [7/7]

BOOST_SERIALIZATION_REGISTER_ARCHIVE ( ttg::detail::boost_iovec_oarchive  )

◆ BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE() [1/7]

BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE ( ttg::detail::boost_buffer_iarchive  )

◆ BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE() [2/7]

BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE ( ttg::detail::boost_buffer_oarchive  )

◆ BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE() [3/7]

BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE ( ttg::detail::boost_byte_iarchive  )

◆ BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE() [4/7]

BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE ( ttg::detail::boost_byte_oarchive  )

◆ BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE() [5/7]

BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE ( ttg::detail::boost_counting_oarchive  )

◆ BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE() [6/7]

BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE ( ttg::detail::boost_iovec_iarchive  )

◆ BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE() [7/7]

BOOST_SERIALIZATION_USE_ARRAY_OPTIMIZATION_FOR_THIS_AND_BASE ( ttg::detail::boost_iovec_oarchive  )