File indexing completed on 2025-01-18 09:28:30
0001 #ifndef BOOST_ARCHIVE_POLYMORPHIC_XML_WOARCHIVE_HPP
0002 #define BOOST_ARCHIVE_POLYMORPHIC_XML_WOARCHIVE_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 #ifdef BOOST_NO_STD_WSTREAMBUF
0021 #error "wide char i/o not supported on this platform"
0022 #else
0023
0024 #include <boost/archive/xml_woarchive.hpp>
0025 #include <boost/archive/detail/polymorphic_oarchive_route.hpp>
0026
0027 namespace boost {
0028 namespace archive {
0029
0030 class BOOST_SYMBOL_VISIBLE polymorphic_xml_woarchive :
0031 public detail::polymorphic_oarchive_route<xml_woarchive>
0032 {
0033 public:
0034 polymorphic_xml_woarchive(std::wostream & os, unsigned int flags = 0) :
0035 detail::polymorphic_oarchive_route<xml_woarchive>(os, flags)
0036 {}
0037 ~polymorphic_xml_woarchive() BOOST_OVERRIDE {}
0038 };
0039
0040 }
0041 }
0042
0043
0044 BOOST_SERIALIZATION_REGISTER_ARCHIVE(
0045 boost::archive::polymorphic_xml_woarchive
0046 )
0047
0048 #endif
0049 #endif