File indexing completed on 2025-01-18 09:28:27
0001 #ifndef BOOST_ARCHIVE_BASIC_POINTER_ISERIALIZER_HPP
0002 #define BOOST_ARCHIVE_BASIC_POINTER_ISERIALIZER_HPP
0003
0004
0005 #if defined(_MSC_VER)
0006 # pragma once
0007 #endif
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019 #include <boost/config.hpp>
0020 #include <boost/noncopyable.hpp>
0021 #include <boost/archive/detail/auto_link_archive.hpp>
0022 #include <boost/archive/detail/basic_serializer.hpp>
0023
0024 #include <boost/archive/detail/abi_prefix.hpp> // must be the last header
0025
0026 #ifdef BOOST_MSVC
0027 # pragma warning(push)
0028 # pragma warning(disable : 4511 4512)
0029 #endif
0030
0031 namespace boost {
0032 namespace serialization {
0033 class extended_type_info;
0034 }
0035
0036
0037 namespace archive {
0038 namespace detail {
0039
0040 class basic_iarchive;
0041 class basic_iserializer;
0042
0043 class BOOST_SYMBOL_VISIBLE basic_pointer_iserializer
0044 : public basic_serializer {
0045 protected:
0046 explicit BOOST_ARCHIVE_DECL basic_pointer_iserializer(
0047 const boost::serialization::extended_type_info & type_
0048 );
0049 virtual BOOST_ARCHIVE_DECL ~basic_pointer_iserializer();
0050 public:
0051 virtual void * heap_allocation() const = 0;
0052 virtual const basic_iserializer & get_basic_serializer() const = 0;
0053 virtual void load_object_ptr(
0054 basic_iarchive & ar,
0055 void * x,
0056 const unsigned int file_version
0057 ) const = 0;
0058 };
0059
0060 }
0061 }
0062 }
0063
0064 #ifdef BOOST_MSVC
0065 #pragma warning(pop)
0066 #endif
0067
0068 #include <boost/archive/detail/abi_suffix.hpp> // pops abi_suffix.hpp pragmas
0069
0070 #endif