Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::archive::binary_oarchive Class Reference

#include <binary_oarchive.hpp>

Inheritance diagram for boost::archive::binary_oarchive:
Collaboration diagram for boost::archive::binary_oarchive:

Public Member Functions

 binary_oarchive (std::ostream &os, unsigned int flags=0)
 
 binary_oarchive (std::streambuf &bsb, unsigned int flags=0)
 
void save_array (boost::serialization::array< ValueType > const &a, unsigned int)
 
void save_binary (const void *address, std::size_t count)
 

Protected Types

typedef
detail::common_oarchive
< binary_oarchive
detail_common_oarchive
 

Protected Member Functions

void save_override (T &t, BOOST_PFTO int)
 
void save_override (const T &t, BOOST_PFTO int version)
 
void save_override (const class_id_optional_type &, int)
 
void save_override (const class_name_type &t, int)
 
void init (unsigned int flags)
 
 init ()
 
 init ()
 
binary_oarchiveThis ()
 
void save (const T &t)
 
void save (const bool t)
 
 save (const std::string &s)
 
 save (const std::wstring &ws)
 
 save (const char *t)
 
 save (const wchar_t *t)
 
 BOOST_STATIC_ASSERT (sizeof(tracking_type)==sizeof(bool))
 
 BOOST_STATIC_ASSERT (sizeof(class_id_type)==sizeof(int_least16_t))
 
 BOOST_STATIC_ASSERT (sizeof(class_id_reference_type)==sizeof(int_least16_t))
 
 BOOST_STATIC_ASSERT (sizeof(object_id_type)==sizeof(uint_least32_t))
 
 BOOST_STATIC_ASSERT (sizeof(object_reference_type)==sizeof(uint_least32_t))
 

Protected Attributes

std::basic_streambuf
< std::ostream::char_type,
std::ostream::traits_type > & 
m_sb
 
boost::scoped_ptr< std::locale > archive_locale
 
basic_streambuf_locale_saver
< std::ostream::char_type,
std::ostream::traits_type > 
locale_saver
 

Member Typedef Documentation

typedef detail::common_oarchive<binary_oarchive > boost::archive::basic_binary_oarchive< binary_oarchive >::detail_common_oarchive
protectedinherited

Constructor & Destructor Documentation

boost::archive::binary_oarchive::binary_oarchive ( std::ostream &  os,
unsigned int  flags = 0 
)
inline
boost::archive::binary_oarchive::binary_oarchive ( std::streambuf &  bsb,
unsigned int  flags = 0 
)
inline

Member Function Documentation

boost::archive::basic_binary_oarchive< binary_oarchive >::BOOST_STATIC_ASSERT ( sizeof(tracking_type = = sizeof(bool))
protectedinherited
boost::archive::basic_binary_oarchive< binary_oarchive >::BOOST_STATIC_ASSERT ( sizeof(class_id_type = = sizeof(int_least16_t))
protectedinherited
boost::archive::basic_binary_oarchive< binary_oarchive >::BOOST_STATIC_ASSERT ( sizeof(class_id_reference_type = = sizeof(int_least16_t))
protectedinherited
boost::archive::basic_binary_oarchive< binary_oarchive >::BOOST_STATIC_ASSERT ( sizeof(object_id_type = = sizeof(uint_least32_t))
protectedinherited
boost::archive::basic_binary_oarchive< binary_oarchive >::BOOST_STATIC_ASSERT ( sizeof(object_reference_type = = sizeof(uint_least32_t))
protectedinherited
void boost::archive::binary_oarchive_impl< binary_oarchive , std::ostream::char_type , std::ostream::traits_type >::init ( unsigned int  flags)
inlineprotectedinherited
boost::archive::basic_binary_oprimitive< binary_oarchive , std::ostream::char_type , std::ostream::traits_type >::init ( void  )
protectedinherited
boost::archive::basic_binary_oarchive< binary_oarchive >::init ( void  )
protectedinherited
void boost::archive::basic_binary_oprimitive< binary_oarchive , std::ostream::char_type , std::ostream::traits_type >::save ( const T t)
inlineprotectedinherited
void boost::archive::basic_binary_oprimitive< binary_oarchive , std::ostream::char_type , std::ostream::traits_type >::save ( const bool  t)
inlineprotectedinherited
boost::archive::basic_binary_oprimitive< binary_oarchive , std::ostream::char_type , std::ostream::traits_type >::save ( const std::string &  s)
protectedinherited
boost::archive::basic_binary_oprimitive< binary_oarchive , std::ostream::char_type , std::ostream::traits_type >::save ( const std::wstring &  ws)
protectedinherited
boost::archive::basic_binary_oprimitive< binary_oarchive , std::ostream::char_type , std::ostream::traits_type >::save ( const char *  t)
protectedinherited
boost::archive::basic_binary_oprimitive< binary_oarchive , std::ostream::char_type , std::ostream::traits_type >::save ( const wchar_t *  t)
protectedinherited
void boost::archive::basic_binary_oprimitive< binary_oarchive , std::ostream::char_type , std::ostream::traits_type >::save_array ( boost::serialization::array< ValueType > const &  a,
unsigned  int 
)
inlineinherited
void boost::archive::basic_binary_oprimitive< binary_oarchive , std::ostream::char_type , std::ostream::traits_type >::save_binary ( const void *  address,
std::size_t  count 
)
inherited
void boost::archive::binary_oarchive_impl< binary_oarchive , std::ostream::char_type , std::ostream::traits_type >::save_override ( T t,
BOOST_PFTO  int 
)
inlineprotectedinherited
void boost::archive::basic_binary_oarchive< binary_oarchive >::save_override ( const T t,
BOOST_PFTO int  version 
)
inlineprotectedinherited
void boost::archive::basic_binary_oarchive< binary_oarchive >::save_override ( const class_id_optional_type ,
int   
)
inlineprotectedinherited
void boost::archive::basic_binary_oarchive< binary_oarchive >::save_override ( const class_name_type t,
int   
)
inlineprotectedinherited
binary_oarchive * boost::archive::basic_binary_oprimitive< binary_oarchive , std::ostream::char_type , std::ostream::traits_type >::This ( )
inlineprotectedinherited

Member Data Documentation

boost::scoped_ptr<std::locale> boost::archive::basic_binary_oprimitive< binary_oarchive , std::ostream::char_type , std::ostream::traits_type >::archive_locale
protectedinherited
basic_streambuf_locale_saver<std::ostream::char_type , std::ostream::traits_type > boost::archive::basic_binary_oprimitive< binary_oarchive , std::ostream::char_type , std::ostream::traits_type >::locale_saver
protectedinherited
std::basic_streambuf<std::ostream::char_type , std::ostream::traits_type >& boost::archive::basic_binary_oprimitive< binary_oarchive , std::ostream::char_type , std::ostream::traits_type >::m_sb
protectedinherited

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