Chris@16: #ifndef BOOST_SERIALIZATION_TRACKING_ENUM_HPP Chris@16: #define BOOST_SERIALIZATION_TRACKING_ENUM_HPP Chris@16: Chris@16: // MS compatible compilers support #pragma once Chris@101: #if defined(_MSC_VER) Chris@16: # pragma once Chris@16: #endif Chris@16: Chris@16: /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 Chris@16: // tracking_enum.hpp: Chris@16: Chris@16: // (C) Copyright 2002 Robert Ramey - http://www.rrsd.com . Chris@16: // Use, modification and distribution is subject to the Boost Software Chris@16: // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: Chris@16: // See http://www.boost.org for updates, documentation, and revision history. Chris@16: Chris@16: namespace boost { Chris@16: namespace serialization { Chris@16: Chris@16: // addresses of serialized objects may be tracked to avoid saving/loading Chris@16: // redundant copies. This header defines a class trait that can be used Chris@16: // to specify when objects should be tracked Chris@16: Chris@16: // names for each tracking level Chris@16: enum tracking_type Chris@16: { Chris@16: // never track this type Chris@16: track_never = 0, Chris@16: // track objects of this type if the object is serialized through a Chris@16: // pointer. Chris@16: track_selectively = 1, Chris@16: // always track this type Chris@16: track_always = 2 Chris@16: }; Chris@16: Chris@16: } // namespace serialization Chris@16: } // namespace boost Chris@16: Chris@16: #endif // BOOST_SERIALIZATION_TRACKING_ENUM_HPP