PageRenderTime 23ms CodeModel.GetById 17ms app.highlight 3ms RepoModel.GetById 2ms app.codeStats 0ms

/Src/Dependencies/Boost/boost/archive/polymorphic_binary_iarchive.hpp

http://hadesmem.googlecode.com/
C++ Header | 54 lines | 32 code | 13 blank | 9 comment | 1 complexity | ae3e9cf3c5e3b89d1080eb51e119c859 MD5 | raw file
 1#ifndef BOOST_ARCHIVE_POLYMORPHIC_BINARY_IARCHIVE_HPP
 2#define BOOST_ARCHIVE_POLYMORPHIC_BINARY_IARCHIVE_HPP
 3
 4// MS compatible compilers support #pragma once
 5#if defined(_MSC_VER) && (_MSC_VER >= 1020)
 6# pragma once
 7#endif
 8
 9/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
10// polymorphic_binary_iarchive.hpp
11
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)
16
17//  See http://www.boost.org for updates, documentation, and revision history.
18
19#include <boost/config.hpp>
20#include <boost/archive/binary_iarchive.hpp>
21#include <boost/archive/detail/polymorphic_iarchive_route.hpp>
22
23#ifdef BOOST_MSVC
24#  pragma warning(push)
25#  pragma warning(disable : 4511 4512)
26#endif
27
28namespace boost { 
29namespace archive {
30
31class polymorphic_binary_iarchive : 
32    public detail::polymorphic_iarchive_route<naked_binary_iarchive>
33{
34public:
35    polymorphic_binary_iarchive(std::istream & is, unsigned int flags = 0) :
36        detail::polymorphic_iarchive_route<naked_binary_iarchive>(is, flags)
37    {}
38    ~polymorphic_binary_iarchive(){}
39};
40
41} // namespace archive
42} // namespace boost
43
44#ifdef BOOST_MSVC
45#pragma warning(pop)
46#endif
47
48// required by export
49BOOST_SERIALIZATION_REGISTER_ARCHIVE(
50    boost::archive::polymorphic_binary_iarchive
51)
52
53#endif // BOOST_ARCHIVE_POLYMORPHIC_BINARY_IARCHIVE_HPP
54