1 #ifndef BOOST_ARCHIVE_BASIC_POINTER_OSERIALIZER_HPP
2 #define BOOST_ARCHIVE_BASIC_POINTER_OSERIALIZER_HPP
4 // MS compatible compilers support #pragma once
9 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
10 // basic_pointer_oserializer.hpp: extenstion of type_info required for
13 // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
14 // Use, modification and distribution is subject to the Boost Software
15 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
16 // http://www.boost.org/LICENSE_1_0.txt)
18 // See http://www.boost.org for updates, documentation, and revision history.
19 #include <boost/config.hpp>
20 #include <boost/noncopyable.hpp>
21 #include <boost/archive/detail/auto_link_archive.hpp>
22 #include <boost/archive/detail/basic_serializer.hpp>
24 #include <boost/archive/detail/abi_prefix.hpp> // must be the last header
27 # pragma warning(push)
28 # pragma warning(disable : 4511 4512)
32 namespace serialization {
33 class extended_type_info;
34 } // namespace serialization
40 class basic_oserializer;
42 class BOOST_SYMBOL_VISIBLE basic_pointer_oserializer :
43 public basic_serializer
46 explicit BOOST_ARCHIVE_DECL basic_pointer_oserializer(
47 const boost::serialization::extended_type_info & type_
50 virtual BOOST_ARCHIVE_DECL ~basic_pointer_oserializer();
51 virtual const basic_oserializer & get_basic_serializer() const = 0;
52 virtual void save_object_ptr(
59 } // namespace archive
66 #include <boost/archive/detail/abi_suffix.hpp> // pops abi_suffix.hpp pragmas
68 #endif // BOOST_ARCHIVE_BASIC_POINTER_OSERIALIZER_HPP