ttg::detail::boost_optimized_iarchive< StreamOrStreambuf > Class Template Reference
Inheritance diagram for ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >:

Documentation

template<typename StreamOrStreambuf>
class ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >

optimized data-only deserializer for boost_optimized_oarchive

Definition at line 249 of file archive.h.

Public Types

using pbase_type = StreamOrStreambuf
 
using base_type = boost::archive::binary_iarchive_impl< boost_optimized_iarchive, std::ostream::char_type, std::ostream::traits_type >
 

Public Member Functions

 boost_optimized_iarchive ()
 
 boost_optimized_iarchive (StreamOrStreambuf sbuf)
 
template<typename Arg >
 boost_optimized_iarchive (Arg &&arg)
 
void load_object (void *x, const boost::archive::detail::basic_oserializer &bos)
 
template<class T >
auto & operator>> (T &t)
 
template<class T >
auto & operator& (T &t)
 
const auto & streambuf () const
 
const auto & stream () const
 
template<class T >
void load_override (T &t)
 
void load_override (boost::archive::class_id_optional_type &)
 
void load_override (boost::archive::version_type &t)
 
void load_override (boost::serialization::item_version_type &t)
 
void load_override (boost::archive::class_id_type &t)
 
void load_override (boost::archive::class_id_reference_type &t)
 
template<class T >
void load (T &t)
 
void load (bool &t)
 
template<class ValueType >
void load_array (boost::serialization::array_wrapper< ValueType > &a, unsigned int)
 
void load_binary (void *address, std::size_t count)
 

Static Public Attributes

static constexpr bool pbase_derived_from_stdstreambuf = std::is_base_of_v<std::streambuf, pbase_type>
 

Friends

class boost::archive::save_access
 
class boost::archive::detail::common_iarchive< boost_optimized_iarchive >
 

Member Typedef Documentation

◆ base_type

template<typename StreamOrStreambuf >
using ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::base_type = boost::archive::binary_iarchive_impl<boost_optimized_iarchive, std::ostream::char_type, std::ostream::traits_type>

Definition at line 255 of file archive.h.

◆ pbase_type

template<typename StreamOrStreambuf >
using ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::pbase_type = StreamOrStreambuf

Definition at line 254 of file archive.h.

Constructor & Destructor Documentation

◆ boost_optimized_iarchive() [1/3]

template<typename StreamOrStreambuf >
ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::boost_optimized_iarchive ( )
inline

Definition at line 271 of file archive.h.

◆ boost_optimized_iarchive() [2/3]

template<typename StreamOrStreambuf >
ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::boost_optimized_iarchive ( StreamOrStreambuf  sbuf)
inline

Definition at line 274 of file archive.h.

◆ boost_optimized_iarchive() [3/3]

template<typename StreamOrStreambuf >
template<typename Arg >
ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::boost_optimized_iarchive ( Arg &&  arg)
inline

Definition at line 279 of file archive.h.

Member Function Documentation

◆ load() [1/2]

template<typename StreamOrStreambuf >
void ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::load ( bool &  t)
inline

override default implementations in base_type provided by basic_binary_iprimitive<Archive>

Definition at line 316 of file archive.h.

◆ load() [2/2]

template<typename StreamOrStreambuf >
template<class T >
void ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::load ( T &  t)
inline

override default implementations in base_type provided by basic_binary_iprimitive<Archive>

Definition at line 308 of file archive.h.

◆ load_array()

template<typename StreamOrStreambuf >
template<class ValueType >
void ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::load_array ( boost::serialization::array_wrapper< ValueType > &  a,
unsigned int   
)
inline

override default implementations in base_type provided by basic_binary_iprimitive<Archive>

Definition at line 327 of file archive.h.

◆ load_binary()

template<typename StreamOrStreambuf >
void ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::load_binary ( void *  address,
std::size_t  count 
)
inline

override default implementations in base_type provided by basic_binary_iprimitive<Archive>

Definition at line 332 of file archive.h.

◆ load_object()

template<typename StreamOrStreambuf >
void ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::load_object ( void *  x,
const boost::archive::detail::basic_oserializer &  bos 
)
inline

Definition at line 301 of file archive.h.

◆ load_override() [1/6]

template<typename StreamOrStreambuf >
void ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::load_override ( boost::archive::class_id_optional_type &  )
inline

these provide optimized implementation that's called by base_type::load_override

Definition at line 291 of file archive.h.

◆ load_override() [2/6]

template<typename StreamOrStreambuf >
void ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::load_override ( boost::archive::class_id_reference_type &  t)
inline

these provide optimized implementation that's called by base_type::load_override

Definition at line 297 of file archive.h.

◆ load_override() [3/6]

template<typename StreamOrStreambuf >
void ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::load_override ( boost::archive::class_id_type &  t)
inline

these provide optimized implementation that's called by base_type::load_override

Definition at line 296 of file archive.h.

◆ load_override() [4/6]

template<typename StreamOrStreambuf >
void ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::load_override ( boost::archive::version_type &  t)
inline

these provide optimized implementation that's called by base_type::load_override

Definition at line 293 of file archive.h.

◆ load_override() [5/6]

template<typename StreamOrStreambuf >
void ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::load_override ( boost::serialization::item_version_type &  t)
inline

these provide optimized implementation that's called by base_type::load_override

Definition at line 294 of file archive.h.

◆ load_override() [6/6]

template<typename StreamOrStreambuf >
template<class T >
void ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::load_override ( T &  t)
inline

these provide optimized implementation that's called by base_type::load_override

Definition at line 287 of file archive.h.

◆ operator&()

template<typename StreamOrStreambuf >
template<class T >
auto& ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::operator& ( T &  t)
inline

Definition at line 359 of file archive.h.

◆ operator>>()

template<typename StreamOrStreambuf >
template<class T >
auto& ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::operator>> ( T &  t)
inline

Definition at line 352 of file archive.h.

◆ stream()

template<typename StreamOrStreambuf >
const auto& ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::stream ( ) const
inline

Definition at line 371 of file archive.h.

◆ streambuf()

template<typename StreamOrStreambuf >
const auto& ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::streambuf ( ) const
inline

Definition at line 363 of file archive.h.

Friends And Related Function Documentation

◆ boost::archive::detail::common_iarchive< boost_optimized_iarchive >

template<typename StreamOrStreambuf >
friend class boost::archive::detail::common_iarchive< boost_optimized_iarchive >
friend

Definition at line 261 of file archive.h.

◆ boost::archive::save_access

template<typename StreamOrStreambuf >
friend class boost::archive::save_access
friend

Definition at line 261 of file archive.h.

Member Data Documentation

◆ pbase_derived_from_stdstreambuf

template<typename StreamOrStreambuf >
constexpr bool ttg::detail::boost_optimized_iarchive< StreamOrStreambuf >::pbase_derived_from_stdstreambuf = std::is_base_of_v<std::streambuf, pbase_type>
staticconstexpr

Definition at line 258 of file archive.h.


The documentation for this class was generated from the following file:
  • ttg/ttg/serialization/backends/boost/archive.h