Statistics
| Revision:

root / tmp / org.txm.statsengine.r.core.win32 / res / win32 / library / BH / include / boost / archive / detail / archive_serializer_map.hpp @ 2486

History | View | Annotate | Download (1.7 kB)

1 2486 sjacqu01
#ifndef BOOST_ARCHIVE_SERIALIZER_MAP_HPP
2 2486 sjacqu01
#define BOOST_ARCHIVE_SERIALIZER_MAP_HPP
3 2486 sjacqu01
4 2486 sjacqu01
// MS compatible compilers support #pragma once
5 2486 sjacqu01
#if defined(_MSC_VER)
6 2486 sjacqu01
# pragma once
7 2486 sjacqu01
#endif
8 2486 sjacqu01
9 2486 sjacqu01
/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
10 2486 sjacqu01
// archive_serializer_map.hpp: extenstion of type_info required for
11 2486 sjacqu01
// serialization.
12 2486 sjacqu01
13 2486 sjacqu01
// (C) Copyright 2009 Robert Ramey - http://www.rrsd.com .
14 2486 sjacqu01
// Use, modification and distribution is subject to the Boost Software
15 2486 sjacqu01
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
16 2486 sjacqu01
// http://www.boost.org/LICENSE_1_0.txt)
17 2486 sjacqu01
18 2486 sjacqu01
//  See http://www.boost.org for updates, documentation, and revision history.
19 2486 sjacqu01
20 2486 sjacqu01
// note: this is nothing more than the thinest of wrappers around
21 2486 sjacqu01
// basic_serializer_map so we can have a one map / archive type.
22 2486 sjacqu01
23 2486 sjacqu01
#include <boost/config.hpp>
24 2486 sjacqu01
#include <boost/archive/detail/auto_link_archive.hpp>
25 2486 sjacqu01
#include <boost/archive/detail/abi_prefix.hpp> // must be the last header
26 2486 sjacqu01
27 2486 sjacqu01
namespace boost {
28 2486 sjacqu01
29 2486 sjacqu01
namespace serialization {
30 2486 sjacqu01
    class extended_type_info;
31 2486 sjacqu01
} // namespace serialization
32 2486 sjacqu01
33 2486 sjacqu01
namespace archive {
34 2486 sjacqu01
namespace detail {
35 2486 sjacqu01
36 2486 sjacqu01
class basic_serializer;
37 2486 sjacqu01
38 2486 sjacqu01
template<class Archive>
39 2486 sjacqu01
class BOOST_SYMBOL_VISIBLE archive_serializer_map {
40 2486 sjacqu01
public:
41 2486 sjacqu01
    static BOOST_ARCHIVE_OR_WARCHIVE_DECL bool insert(const basic_serializer * bs);
42 2486 sjacqu01
    static BOOST_ARCHIVE_OR_WARCHIVE_DECL void erase(const basic_serializer * bs);
43 2486 sjacqu01
    static BOOST_ARCHIVE_OR_WARCHIVE_DECL const basic_serializer * find(
44 2486 sjacqu01
        const boost::serialization::extended_type_info & type_
45 2486 sjacqu01
    );
46 2486 sjacqu01
};
47 2486 sjacqu01
48 2486 sjacqu01
} // namespace detail
49 2486 sjacqu01
} // namespace archive
50 2486 sjacqu01
} // namespace boost
51 2486 sjacqu01
52 2486 sjacqu01
#include <boost/archive/detail/abi_suffix.hpp> // must be the last header
53 2486 sjacqu01
54 2486 sjacqu01
#endif //BOOST_ARCHIVE_SERIALIZER_MAP_HPP