20 #ifdef GENOM_SERIALIZATION
21 #include <boost/archive/binary_iarchive.hpp>
22 #include <boost/archive/binary_oarchive.hpp>
23 #include <boost/serialization/base_object.hpp>
24 #include <boost/serialization/is_abstract.hpp>
25 #endif //GENOM_SERIALIZATION
28 #ifdef GENOM_SERIALIZATION
30 #endif //GENOM_SERIALIZATION
52 #ifdef GENOM_SERIALIZATION
53 template <
class Archive>
void Parameter::serialize(Archive& ar,
unsigned int) {
54 ar & boost::serialization::base_object< Composite<Parameter> >(*this);
55 ar & boost::serialization::base_object< Nameable >(*this);
56 ar & boost::serialization::base_object<Renamable>(*this);
57 ar & boost::serialization::base_object< Visitable >(*this);
63 template void Parameter::serialize<boost::archive::binary_oarchive>(
64 boost::archive::binary_oarchive& ar,
const unsigned int);
66 template void Parameter::serialize<boost::archive::binary_iarchive>(
67 boost::archive::binary_iarchive& ar,
const unsigned int);
69 #endif //GENOM_SERIALIZATION
void setValue(const Value &inSource)
Interface for objects that can be composed within each other.
virtual void setUnit(const Unit &inSource)
Represents a parameter object in EDIF.
virtual const Unit getUnit() const
An object that has a name.
Represents objects that can be renamed.
An object that receives an inoutVisitor.