File indexing completed on 2025-01-18 09:28:30
0001 #ifndef BOOST_ARCHIVE_POLYMORPHIC_TEXT_IARCHIVE_HPP
0002 #define BOOST_ARCHIVE_POLYMORPHIC_TEXT_IARCHIVE_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/text_iarchive.hpp>
0021 #include <boost/archive/detail/polymorphic_iarchive_route.hpp>
0022
0023 #ifdef BOOST_MSVC
0024 # pragma warning(push)
0025 # pragma warning(disable : 4511 4512)
0026 #endif
0027
0028 namespace boost {
0029 namespace archive {
0030
0031 class BOOST_SYMBOL_VISIBLE polymorphic_text_iarchive :
0032 public detail::polymorphic_iarchive_route<text_iarchive>
0033 {
0034 public:
0035 polymorphic_text_iarchive(std::istream & is, unsigned int flags = 0) :
0036 detail::polymorphic_iarchive_route<text_iarchive>(is, flags)
0037 {}
0038 ~polymorphic_text_iarchive() BOOST_OVERRIDE {}
0039 };
0040
0041 }
0042 }
0043
0044 #ifdef BOOST_MSVC
0045 #pragma warning(pop)
0046 #endif
0047
0048
0049 BOOST_SERIALIZATION_REGISTER_ARCHIVE(
0050 boost::archive::polymorphic_text_iarchive
0051 )
0052
0053 #endif