ttg::detail::boost_optimized_oarchive< StreamOrStreambuf > Class Template Reference
Inheritance diagram for ttg::detail::boost_optimized_oarchive< StreamOrStreambuf >:
Documentation
template<typename StreamOrStreambuf>
class ttg::detail::boost_optimized_oarchive< StreamOrStreambuf >
optimized data-only serializer
skips metadata (class version, etc.) by providing optimized save_override function that will be called by boost::archive::binary_oarchive_impl::save_override
Public Types | |
using | pbase_type = StreamOrStreambuf |
using | base_type = boost::archive::binary_oarchive_impl< boost_optimized_oarchive< StreamOrStreambuf >, std::ostream::char_type, std::ostream::traits_type > |
Public Member Functions | |
boost_optimized_oarchive () | |
boost_optimized_oarchive (StreamOrStreambuf sbuf) | |
template<typename Arg > | |
boost_optimized_oarchive (Arg &&arg) | |
void | save_object (const void *x, const boost::archive::detail::basic_oserializer &bos) |
template<class T > | |
auto & | operator<< (const T &t) |
template<class T > | |
auto & | operator& (const T &t) |
const auto & | streambuf () const |
const auto & | stream () const |
template<class T > | |
void | save_override (const T &t) |
void | save_override (const boost::archive::class_id_optional_type &) |
void | save_override (const boost::archive::version_type &t) |
void | save_override (const boost::serialization::item_version_type &t) |
void | save_override (const boost::archive::class_id_type &t) |
void | save_override (const boost::archive::class_id_reference_type &t) |
template<class T > | |
void | save (const T &t) |
void | save (const bool t) |
template<class ValueType > | |
void | save_array (boost::serialization::array_wrapper< ValueType > const &a, unsigned int) |
void | save_binary (const 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_oarchive< StreamOrStreambuf > |
Member Typedef Documentation
◆ base_type
template<typename StreamOrStreambuf >
using ttg::detail::boost_optimized_oarchive< StreamOrStreambuf >::base_type = boost::archive::binary_oarchive_impl<boost_optimized_oarchive<StreamOrStreambuf>, std::ostream::char_type, std::ostream::traits_type> |
◆ pbase_type
template<typename StreamOrStreambuf >
using ttg::detail::boost_optimized_oarchive< StreamOrStreambuf >::pbase_type = StreamOrStreambuf |
Constructor & Destructor Documentation
◆ boost_optimized_oarchive() [1/3]
template<typename StreamOrStreambuf >
|
inline |
◆ boost_optimized_oarchive() [2/3]
template<typename StreamOrStreambuf >
|
inline |
◆ boost_optimized_oarchive() [3/3]
template<typename StreamOrStreambuf >
template<typename Arg >
|
inline |
Member Function Documentation
◆ operator&()
template<typename StreamOrStreambuf >
template<class T >
|
inline |
◆ operator<<()
template<typename StreamOrStreambuf >
template<class T >
|
inline |
◆ save() [1/2]
template<typename StreamOrStreambuf >
|
inline |
◆ save() [2/2]
template<typename StreamOrStreambuf >
template<class T >
|
inline |
◆ save_array()
template<typename StreamOrStreambuf >
template<class ValueType >
|
inline |
◆ save_binary()
template<typename StreamOrStreambuf >
|
inline |
◆ save_object()
template<typename StreamOrStreambuf >
|
inline |
◆ save_override() [1/6]
template<typename StreamOrStreambuf >
|
inline |
◆ save_override() [2/6]
template<typename StreamOrStreambuf >
|
inline |
◆ save_override() [3/6]
template<typename StreamOrStreambuf >
|
inline |
◆ save_override() [4/6]
template<typename StreamOrStreambuf >
|
inline |
◆ save_override() [5/6]
template<typename StreamOrStreambuf >
|
inline |
◆ save_override() [6/6]
template<typename StreamOrStreambuf >
template<class T >
|
inline |
◆ stream()
template<typename StreamOrStreambuf >
|
inline |
◆ streambuf()
template<typename StreamOrStreambuf >
|
inline |
Friends And Related Function Documentation
◆ boost::archive::detail::common_oarchive< StreamOrStreambuf >
template<typename StreamOrStreambuf >
|
friend |
◆ boost::archive::save_access
template<typename StreamOrStreambuf >
|
friend |
Member Data Documentation
◆ pbase_derived_from_stdstreambuf
template<typename StreamOrStreambuf >
|
staticconstexpr |
The documentation for this class was generated from the following file:
- ttg/ttg/serialization/backends/boost/archive.h