File indexing completed on 2025-01-18 09:28:30
0001 #ifndef BOOST_ARCHIVE_POLYMORPHIC_XML_OARCHIVE_HPP
0002 #define BOOST_ARCHIVE_POLYMORPHIC_XML_OARCHIVE_HPP
0003
0004
0005 #if defined(_MSC_VER)
0006 # pragma once
0007 #endif
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #include <boost/config.hpp>
0020 #include <boost/archive/xml_oarchive.hpp>
0021 #include <boost/archive/detail/polymorphic_oarchive_route.hpp>
0022
0023 namespace boost {
0024 namespace archive {
0025
0026 class BOOST_SYMBOL_VISIBLE polymorphic_xml_oarchive :
0027 public detail::polymorphic_oarchive_route<xml_oarchive>
0028 {
0029 public:
0030 polymorphic_xml_oarchive(std::ostream & os, unsigned int flags = 0) :
0031 detail::polymorphic_oarchive_route<xml_oarchive>(os, flags)
0032 {}
0033 ~polymorphic_xml_oarchive() BOOST_OVERRIDE {}
0034 };
0035 }
0036 }
0037
0038
0039 BOOST_SERIALIZATION_REGISTER_ARCHIVE(
0040 boost::archive::polymorphic_xml_oarchive
0041 )
0042
0043 #endif