Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:28:30

0001 #ifndef BOOST_ARCHIVE_POLYMORPHIC_TEXT_OARCHIVE_HPP
0002 #define BOOST_ARCHIVE_POLYMORPHIC_TEXT_OARCHIVE_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_oarchive.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 #include <boost/archive/text_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_text_oarchive :
0027     public detail::polymorphic_oarchive_route<text_oarchive>
0028 {
0029 public:
0030     polymorphic_text_oarchive(std::ostream & os, unsigned int flags = 0) :
0031         detail::polymorphic_oarchive_route<text_oarchive>(os, flags)
0032     {}
0033     ~polymorphic_text_oarchive() BOOST_OVERRIDE {}
0034 };
0035 
0036 } // namespace archive
0037 } // namespace boost
0038 
0039 // required by export
0040 BOOST_SERIALIZATION_REGISTER_ARCHIVE(
0041     boost::archive::polymorphic_text_oarchive
0042 )
0043 
0044 #endif // BOOST_ARCHIVE_POLYMORPHIC_TEXT_OARCHIVE_HPP