14 #ifndef DATATOOLS_SMART_REF_H 15 #define DATATOOLS_SMART_REF_H 27 #include <boost/serialization/access.hpp> 28 #include <boost/serialization/nvp.hpp> 72 _ref_ = const_cast<pointer_type>(&obj);
103 _properties_ = props;
122 :
public std::unary_function<smart_ref_type, bool>
152 template<
class Archive>
153 void serialize(Archive& ar_,
const unsigned int )
155 ar_ & boost::serialization::make_nvp(
"properties", _properties_);
156 ar_ & boost::serialization::make_nvp(
"ref", _ref_);
164 #endif // DATATOOLS_SMART_REF_H
void serialize(Archive &a_ar, geomtools::vector_3d &v_, const unsigned int a_version)