Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:42:51

0001 #ifndef BOOST_ARCHIVE_SERIALIZER_MAP_HPP
0002 #define BOOST_ARCHIVE_SERIALIZER_MAP_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 // archive_serializer_map.hpp: extension of type_info required for
0011 // serialization.
0012 
0013 // (C) Copyright 2009 Robert Ramey - http://www.rrsd.com .
0014 // Use, modification and distribution is subject to the Boost Software
0015 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0016 // http://www.boost.org/LICENSE_1_0.txt)
0017 
0018 //  See http://www.boost.org for updates, documentation, and revision history.
0019 
0020 // note: this is nothing more than the thinnest of wrappers around
0021 // basic_serializer_map so we can have a one map / archive type.
0022 
0023 #include <boost/config.hpp>
0024 #include <boost/archive/detail/auto_link_archive.hpp>
0025 #include <boost/archive/detail/abi_prefix.hpp> // must be the last header
0026 
0027 namespace boost {
0028 
0029 namespace serialization {
0030     class extended_type_info;
0031 } // namespace serialization
0032 
0033 namespace archive {
0034 namespace detail {
0035 
0036 class basic_serializer;
0037 
0038 template<class Archive>
0039 class BOOST_SYMBOL_VISIBLE archive_serializer_map {
0040 public:
0041     static BOOST_ARCHIVE_OR_WARCHIVE_DECL bool insert(const basic_serializer * bs);
0042     static BOOST_ARCHIVE_OR_WARCHIVE_DECL void erase(const basic_serializer * bs);
0043     static BOOST_ARCHIVE_OR_WARCHIVE_DECL const basic_serializer * find(
0044         const boost::serialization::extended_type_info & type_
0045     );
0046 };
0047 
0048 } // namespace detail
0049 } // namespace archive
0050 } // namespace boost
0051 
0052 #include <boost/archive/detail/abi_suffix.hpp> // must be the last header
0053 
0054 #endif //BOOST_ARCHIVE_SERIALIZER_MAP_HPP