Chris@16: #ifndef BOOST_ARCHIVE_SERIALIZER_MAP_HPP Chris@16: #define BOOST_ARCHIVE_SERIALIZER_MAP_HPP Chris@16: Chris@16: // MS compatible compilers support #pragma once Chris@101: #if defined(_MSC_VER) Chris@16: # pragma once Chris@16: #endif Chris@16: Chris@16: /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 Chris@16: // archive_serializer_map.hpp: extenstion of type_info required for Chris@16: // serialization. Chris@16: Chris@16: // (C) Copyright 2009 Robert Ramey - http://www.rrsd.com . Chris@16: // Use, modification and distribution is subject to the Boost Software Chris@16: // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: // See http://www.boost.org for updates, documentation, and revision history. Chris@16: Chris@16: // note: this is nothing more than the thinest of wrappers around Chris@16: // basic_serializer_map so we can have a one map / archive type. Chris@16: Chris@16: #include Chris@16: #include Chris@16: #include // must be the last header Chris@16: Chris@16: namespace boost { Chris@16: Chris@16: namespace serialization { Chris@16: class extended_type_info; Chris@16: } // namespace serialization Chris@16: Chris@16: namespace archive { Chris@16: namespace detail { Chris@16: Chris@16: class basic_serializer; Chris@16: Chris@16: template Chris@16: class BOOST_ARCHIVE_OR_WARCHIVE_DECL(BOOST_PP_EMPTY()) Chris@16: archive_serializer_map { Chris@16: public: Chris@16: static bool insert(const basic_serializer * bs); Chris@16: static void erase(const basic_serializer * bs); Chris@16: static const basic_serializer * find( Chris@16: const boost::serialization::extended_type_info & type_ Chris@16: ); Chris@16: }; Chris@16: Chris@16: } // namespace detail Chris@16: } // namespace archive Chris@16: } // namespace boost Chris@16: Chris@16: #include // must be the last header Chris@16: Chris@16: #endif //BOOST_ARCHIVE_SERIALIZER_MAP_HPP