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
29 #ifdef GENOM_SERIALIZATION
30 #endif //GENOM_SERIALIZATION
60 #ifdef GENOM_SERIALIZATION
61 template <
class Archive>
void Port::serialize(Archive& ar,
unsigned int) {
62 ar & boost::serialization::base_object<Commentable>(*this);
63 ar & boost::serialization::base_object<Connectable>(*this);
64 ar & boost::serialization::base_object<Extern>(*this);
65 ar & boost::serialization::base_object<Nameable>(*this);
66 ar & boost::serialization::base_object<PropertyContainer>(*this);
67 ar & boost::serialization::base_object<Renamable>(*this);
68 ar & boost::serialization::base_object<Visitable>(*this);
69 ar & boost::serialization::base_object<Composite<Port> >(*this);
76 template void Port::serialize<boost::archive::binary_iarchive>(
77 boost::archive::binary_iarchive& ar,
const unsigned int);
79 template void Port::serialize<boost::archive::binary_oarchive>(
80 boost::archive::binary_oarchive& ar,
const unsigned int);
82 #endif //GENOM_SERIALIZATION
An object that has a parent.
Represents objects that have properties.
Represents and EDIF View.
Interface for objects that can be composed within each other.
An object that is connectable to a Net.
PortAttributesSharedPtr mAttributes
Represents class that can hold userData.
void setDirection(const EPortDirection &inSource)
boost::shared_ptr< PortAttributes > PortAttributesSharedPtr
EPortDirection mDirection
void setAttributes(const PortAttributesSharedPtr &inSource)
Interface for an EDIF port object.
An object that has a name.
Represents objects that can be renamed.
An object that receives an inoutVisitor.
Used to implement external object referencing.