epoc32/include/stdapis/boost/serialization/tracking_enum.hpp
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/serialization/tracking_enum.hpp	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,41 @@
     1.4 +#ifndef BOOST_SERIALIZATION_TRACKING_ENUM_HPP
     1.5 +#define BOOST_SERIALIZATION_TRACKING_ENUM_HPP
     1.6 +
     1.7 +// MS compatible compilers support #pragma once
     1.8 +#if defined(_MSC_VER) && (_MSC_VER >= 1020)
     1.9 +# pragma once
    1.10 +#endif
    1.11 +
    1.12 +/////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8
    1.13 +// tracking_enum.hpp:
    1.14 +
    1.15 +// (C) Copyright 2002 Robert Ramey - http://www.rrsd.com . 
    1.16 +// Use, modification and distribution is subject to the Boost Software
    1.17 +// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
    1.18 +// http://www.boost.org/LICENSE_1_0.txt)
    1.19 +
    1.20 +//  See http://www.boost.org for updates, documentation, and revision history.
    1.21 +
    1.22 +namespace boost {
    1.23 +namespace serialization {
    1.24 +
    1.25 +// addresses of serialized objects may be tracked to avoid saving/loading
    1.26 +// redundant copies.  This header defines a class trait that can be used
    1.27 +// to specify when objects should be tracked
    1.28 +
    1.29 +// names for each tracking level
    1.30 +enum tracking_type
    1.31 +{
    1.32 +    // never track this type
    1.33 +    track_never = 0,
    1.34 +    // track objects of this type if the object is serialized through a 
    1.35 +    // pointer.
    1.36 +    track_selectivly = 1,
    1.37 +    // always track this type
    1.38 +    track_always = 2
    1.39 +};
    1.40 +
    1.41 +} // namespace serialization
    1.42 +} // namespace boost
    1.43 +
    1.44 +#endif // BOOST_SERIALIZATION_TRACKING_ENUM_HPP