41 #ifndef EXTERNALPOINTER_H
42 #define EXTERNALPOINTER_H
48 #include <boost/serialization/access.hpp>
49 #include <boost/serialization/base_object.hpp>
50 #include <boost/serialization/nvp.hpp>
161 return "externalptr";
195 friend class boost::serialization::access;
208 template <
class Archive>
209 void serialize(Archive& ar,
const unsigned int version);
217 template <class Archive>
218 void CXXR::ExternalPointer::serialize(Archive& ar, const
unsigned int version)
220 ar & BOOST_SERIALIZATION_BASE_OBJECT_NVP(RObject);
253 = *CXXR::SEXP_downcast<CXXR::ExternalPointer*>(s);
270 = *CXXR::SEXP_downcast<CXXR::ExternalPointer*>(s);
287 = *CXXR::SEXP_downcast<CXXR::ExternalPointer*>(s);