annotate DEPENDENCIES/generic/include/boost/serialization/tracking_enum.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents c530137014c0
children
rev   line source
Chris@16 1 #ifndef BOOST_SERIALIZATION_TRACKING_ENUM_HPP
Chris@16 2 #define BOOST_SERIALIZATION_TRACKING_ENUM_HPP
Chris@16 3
Chris@16 4 // MS compatible compilers support #pragma once
Chris@101 5 #if defined(_MSC_VER)
Chris@16 6 # pragma once
Chris@16 7 #endif
Chris@16 8
Chris@16 9 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
Chris@16 10 // tracking_enum.hpp:
Chris@16 11
Chris@16 12 // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com .
Chris@16 13 // Use, modification and distribution is subject to the Boost Software
Chris@16 14 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Chris@16 15 // http://www.boost.org/LICENSE_1_0.txt)
Chris@16 16
Chris@16 17 // See http://www.boost.org for updates, documentation, and revision history.
Chris@16 18
Chris@16 19 namespace boost {
Chris@16 20 namespace serialization {
Chris@16 21
Chris@16 22 // addresses of serialized objects may be tracked to avoid saving/loading
Chris@16 23 // redundant copies. This header defines a class trait that can be used
Chris@16 24 // to specify when objects should be tracked
Chris@16 25
Chris@16 26 // names for each tracking level
Chris@16 27 enum tracking_type
Chris@16 28 {
Chris@16 29 // never track this type
Chris@16 30 track_never = 0,
Chris@16 31 // track objects of this type if the object is serialized through a
Chris@16 32 // pointer.
Chris@16 33 track_selectively = 1,
Chris@16 34 // always track this type
Chris@16 35 track_always = 2
Chris@16 36 };
Chris@16 37
Chris@16 38 } // namespace serialization
Chris@16 39 } // namespace boost
Chris@16 40
Chris@16 41 #endif // BOOST_SERIALIZATION_TRACKING_ENUM_HPP