Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 09:33:01

0001 #ifndef BOOST_ARCHIVE_POLYMORPHIC_TEXT_WIARCHIVE_HPP
0002 #define BOOST_ARCHIVE_POLYMORPHIC_TEXT_WIARCHIVE_HPP
0003 
0004 // MS compatible compilers support #pragma once
0005 #if defined(_MSC_VER)
0006 # pragma once
0007 #endif
0008 
0009 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
0010 // polymorphic_text_wiarchive.hpp
0011 
0012 // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
0013 // Use, modification and distribution is subject to the Boost Software
0014 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0015 // http://www.boost.org/LICENSE_1_0.txt)
0016 
0017 //  See http://www.boost.org for updates, documentation, and revision history.
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/text_wiarchive.hpp>
0025 #include <boost/archive/detail/polymorphic_iarchive_route.hpp>
0026 
0027 #ifdef BOOST_MSVC
0028 #  pragma warning(push)
0029 #  pragma warning(disable : 4511 4512)
0030 #endif
0031 
0032 namespace boost {
0033 namespace archive {
0034 
0035 class BOOST_SYMBOL_VISIBLE polymorphic_text_wiarchive :
0036     public detail::polymorphic_iarchive_route<text_wiarchive>
0037 {
0038 public:
0039     polymorphic_text_wiarchive(std::wistream & is, unsigned int flags = 0) :
0040         detail::polymorphic_iarchive_route<text_wiarchive>(is, flags)
0041     {}
0042     ~polymorphic_text_wiarchive() BOOST_OVERRIDE {}
0043 };
0044 
0045 } // namespace archive
0046 } // namespace boost
0047 
0048 #ifdef BOOST_MSVC
0049 #pragma warning(pop)
0050 #endif
0051 
0052 // required by export
0053 BOOST_SERIALIZATION_REGISTER_ARCHIVE(
0054     boost::archive::polymorphic_text_wiarchive
0055 )
0056 
0057 #endif // BOOST_NO_STD_WSTREAMBUF
0058 #endif // BOOST_ARCHIVE_POLYMORPHIC_TEXT_WIARCHIVE_HPP