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

#include <xml_oarchive.hpp>

Inheritance diagram for boost::archive::xml_oarchive:
Collaboration diagram for boost::archive::xml_oarchive:

Public Member Functions

 xml_oarchive (std::ostream &os, unsigned int flags=0)
 
 ~xml_oarchive ()
 
void save_binary (const void *address, std::size_t count)
 
void put (typename std::ostream::char_type c)
 
void put (const char *s)
 

Protected Types

typedef
detail::common_oarchive
< xml_oarchive
detail_common_oarchive
 

Protected Member Functions

void save (const T &t)
 
void save (const version_type &t)
 
void save (const boost::serialization::item_version_type &t)
 
 save (const char *t)
 
 save (const wchar_t *t)
 
 save (const std::string &s)
 
 save (const std::wstring &ws)
 
void save (const bool t)
 
void save (const signed char t)
 
void save (const unsigned char t)
 
void save (const char t)
 
void save (const wchar_t t)
 
void save_impl (const T &t, boost::mpl::bool_< false > &)
 
void save_impl (const T &t, boost::mpl::bool_< true > &)
 
 indent ()
 
 init ()
 
 write_attribute (const char *attribute_name, int t, const char *conjunction="=\"")
 
 write_attribute (const char *attribute_name, const char *key)
 
 save_start (const char *name)
 
 save_end (const char *name)
 
 end_preamble ()
 
void save_override (T &t, BOOST_PFTO int)
 
void save_override (const ::boost::serialization::nvp< T > &t, int)
 
 save_override (const object_id_type &t, int)
 
 save_override (const object_reference_type &t, int)
 
 save_override (const version_type &t, int)
 
 save_override (const class_id_type &t, int)
 
 save_override (const class_id_optional_type &t, int)
 
 save_override (const class_id_reference_type &t, int)
 
 save_override (const class_name_type &t, int)
 
 save_override (const tracking_type &t, int)
 

Protected Attributes

std::ostream & os
 
io::ios_flags_saver flags_saver
 
io::ios_precision_saver precision_saver
 
boost::scoped_ptr< std::locale > archive_locale
 
basic_streambuf_locale_saver
< typename
std::ostream::char_type,
typename
std::ostream::traits_type > 
locale_saver
 
unsigned int depth
 
bool indent_next
 
bool pending_preamble
 

Member Typedef Documentation

typedef detail::common_oarchive<xml_oarchive > boost::archive::basic_xml_oarchive< xml_oarchive >::detail_common_oarchive
protectedinherited

Constructor & Destructor Documentation

boost::archive::xml_oarchive::xml_oarchive ( std::ostream &  os,
unsigned int  flags = 0 
)
inline
boost::archive::xml_oarchive::~xml_oarchive ( )
inline

Member Function Documentation

boost::archive::basic_xml_oarchive< xml_oarchive >::end_preamble ( )
protectedinherited
boost::archive::basic_xml_oarchive< xml_oarchive >::indent ( )
protectedinherited
boost::archive::basic_xml_oarchive< xml_oarchive >::init ( void  )
protectedinherited
void boost::archive::basic_text_oprimitive< std::ostream >::put ( typename std::ostream ::char_type  c)
inlineinherited
void boost::archive::basic_text_oprimitive< std::ostream >::put ( const char *  s)
inlineinherited
void boost::archive::xml_oarchive_impl< xml_oarchive >::save ( const T t)
inlineprotectedinherited
void boost::archive::basic_text_oprimitive< std::ostream >::save ( const bool  t)
inlineprotectedinherited
boost::archive::xml_oarchive_impl< xml_oarchive >::save ( const char *  t)
protectedinherited
boost::archive::xml_oarchive_impl< xml_oarchive >::save ( const wchar_t *  t)
protectedinherited
boost::archive::xml_oarchive_impl< xml_oarchive >::save ( const std::string &  s)
protectedinherited
boost::archive::xml_oarchive_impl< xml_oarchive >::save ( const std::wstring &  ws)
protectedinherited
void boost::archive::basic_text_oprimitive< std::ostream >::save ( const signed char  t)
inlineprotectedinherited
void boost::archive::basic_text_oprimitive< std::ostream >::save ( const unsigned char  t)
inlineprotectedinherited
void boost::archive::basic_text_oprimitive< std::ostream >::save ( const char  t)
inlineprotectedinherited
void boost::archive::basic_text_oprimitive< std::ostream >::save ( const wchar_t  t)
inlineprotectedinherited
boost::archive::basic_xml_oarchive< xml_oarchive >::save_end ( const char *  name)
protectedinherited
void boost::archive::basic_text_oprimitive< std::ostream >::save_impl ( const T t,
boost::mpl::bool_< false > &   
)
inlineprotectedinherited
void boost::archive::basic_text_oprimitive< std::ostream >::save_impl ( const T t,
boost::mpl::bool_< true > &   
)
inlineprotectedinherited
void boost::archive::basic_xml_oarchive< xml_oarchive >::save_override ( T t,
BOOST_PFTO  int 
)
inlineprotectedinherited
void boost::archive::basic_xml_oarchive< xml_oarchive >::save_override ( const ::boost::serialization::nvp< T > &  t,
int   
)
inlineprotectedinherited
boost::archive::basic_xml_oarchive< xml_oarchive >::save_override ( const object_id_type t,
int   
)
protectedinherited
boost::archive::basic_xml_oarchive< xml_oarchive >::save_override ( const object_reference_type t,
int   
)
protectedinherited
boost::archive::basic_xml_oarchive< xml_oarchive >::save_override ( const version_type t,
int   
)
protectedinherited
boost::archive::basic_xml_oarchive< xml_oarchive >::save_override ( const class_id_type t,
int   
)
protectedinherited
boost::archive::basic_xml_oarchive< xml_oarchive >::save_override ( const class_id_optional_type t,
int   
)
protectedinherited
boost::archive::basic_xml_oarchive< xml_oarchive >::save_override ( const class_id_reference_type t,
int   
)
protectedinherited
boost::archive::basic_xml_oarchive< xml_oarchive >::save_override ( const class_name_type t,
int   
)
protectedinherited
boost::archive::basic_xml_oarchive< xml_oarchive >::save_override ( const tracking_type t,
int   
)
protectedinherited
boost::archive::basic_xml_oarchive< xml_oarchive >::save_start ( const char *  name)
protectedinherited
boost::archive::basic_xml_oarchive< xml_oarchive >::write_attribute ( const char *  attribute_name,
int  t,
const char *  conjunction = "=\"" 
)
protectedinherited
boost::archive::basic_xml_oarchive< xml_oarchive >::write_attribute ( const char *  attribute_name,
const char *  key 
)
protectedinherited

Member Data Documentation

boost::scoped_ptr<std::locale> boost::archive::basic_text_oprimitive< std::ostream >::archive_locale
protectedinherited
unsigned int boost::archive::basic_xml_oarchive< xml_oarchive >::depth
protectedinherited
io::ios_flags_saver boost::archive::basic_text_oprimitive< std::ostream >::flags_saver
protectedinherited
bool boost::archive::basic_xml_oarchive< xml_oarchive >::indent_next
protectedinherited
basic_streambuf_locale_saver< typename std::ostream ::char_type, typename std::ostream ::traits_type > boost::archive::basic_text_oprimitive< std::ostream >::locale_saver
protectedinherited
std::ostream & boost::archive::basic_text_oprimitive< std::ostream >::os
protectedinherited
bool boost::archive::basic_xml_oarchive< xml_oarchive >::pending_preamble
protectedinherited
io::ios_precision_saver boost::archive::basic_text_oprimitive< std::ostream >::precision_saver
protectedinherited

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