16 #ifndef TORC_GENERIC_CLONEABLE_HPP
17 #define TORC_GENERIC_CLONEABLE_HPP
20 #include <boost/shared_ptr.hpp>
22 #ifdef GENOM_SERIALIZATION
23 #include <boost/serialization/access.hpp>
24 #include <boost/serialization/weak_ptr.hpp>
25 #endif //GENOM_SERIALIZATION
42 #ifdef GENOM_SERIALIZATION
43 friend class boost::serialization::access;
65 virtual boost::shared_ptr<_CloneableType>
68 #ifdef GENOM_SERIALIZATION
69 template <
class Archive>
void serialize(Archive& ar,
unsigned int);
70 #endif //GENOM_SERIALIZATION
79 #ifdef GENOM_SERIALIZATION
80 template <
class _CloneableType>
template <
class Archive>
void
82 #endif //GENOM_SERIALIZATION
86 #endif // TORC_GENERIC_CLONEABLE_HPP
Cloneable< _CloneableType > & operator=(const Cloneable< _CloneableType > &source)
Represents all EOM classes that can be cloned(copied).
virtual boost::shared_ptr< _CloneableType > clone()=0