1 #ifndef BOOST_SERIALIZER_MAP_HPP
2 #define BOOST_SERIALIZER_MAP_HPP
4 // MS compatible compilers support #pragma once
9 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
10 // basic_serializer_map.hpp: extenstion of type_info required for serialization.
12 // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
13 // Use, modification and distribution is subject to the Boost Software
14 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
15 // http://www.boost.org/LICENSE_1_0.txt)
17 // See http://www.boost.org for updates, documentation, and revision history.
21 #include <boost/config.hpp>
22 #include <boost/noncopyable.hpp>
23 #include <boost/archive/detail/auto_link_archive.hpp>
25 #include <boost/archive/detail/abi_prefix.hpp> // must be the last header
28 namespace serialization {
29 class extended_type_info;
35 class basic_serializer;
37 class BOOST_SYMBOL_VISIBLE
38 basic_serializer_map : public
41 struct type_info_pointer_compare
44 const basic_serializer * lhs, const basic_serializer * rhs
48 const basic_serializer *,
49 type_info_pointer_compare
53 BOOST_ARCHIVE_DECL bool insert(const basic_serializer * bs);
54 BOOST_ARCHIVE_DECL void erase(const basic_serializer * bs);
55 BOOST_ARCHIVE_DECL const basic_serializer * find(
56 const boost::serialization::extended_type_info & type_
59 // cw 8.3 requires this
60 basic_serializer_map& operator=(basic_serializer_map const&);
64 } // namespace archive
67 #include <boost/archive/detail/abi_suffix.hpp> // must be the last header
69 #endif // BOOST_SERIALIZER_MAP_HPP