21 #ifdef GENOM_SERIALIZATION
22 #include <boost/archive/binary_iarchive.hpp>
23 #include <boost/archive/binary_oarchive.hpp>
24 #include <boost/serialization/base_object.hpp>
25 #include <boost/serialization/export.hpp>
26 #endif //GENOM_SERIALIZATION
32 #ifdef GENOM_SERIALIZATION
34 #endif //GENOM_SERIALIZATION
51 create(newScalarPortReference);
52 newScalarPortReference->bindToMasterPort(inPortPtr);
53 if(inParentCollection) {
54 inParentCollection->addChild(newScalarPortReference);
56 inInstancePtr->addPortReference(newScalarPortReference);
58 return newScalarPortReference;
80 if(inNet->getSize() != getSize()) {
120 #ifdef GENOM_SERIALIZATION
121 template <
class Archive>
void ScalarPortReference::serialize(Archive& ar,
unsigned int) {
122 ar & boost::serialization::base_object< PortReference >(*this);
123 ar & boost::serialization::base_object<
128 template void ScalarPortReference::serialize<boost::archive::binary_iarchive>(
129 boost::archive::binary_iarchive& ar,
const unsigned int);
131 template void ScalarPortReference::serialize<boost::archive::binary_oarchive>(
132 boost::archive::binary_oarchive& ar,
const unsigned int);
134 #endif //GENOM_SERIALIZATION
virtual Connection connect(const NetSharedPtr &inNet)=0
virtual void accept(BaseVisitor &inoutVisitor)
boost::shared_ptr< Instance > InstanceSharedPtr
virtual Connection connect(const NetSharedPtr &inNet)
Represents areference to a standalone port.
A single object with no child objects.
Represents the usable instance of a port of a cell in another cell.
std::list< NetSharedPtr >::iterator Connection
boost::shared_ptr< ScalarPortReference > ScalarPortReferenceSharedPtr
void connectPortRefToNet(const PortReferenceSharedPtr &inPort)
void runVisitor(_Tp &inoutVisited, BaseVisitor &inoutVisitor)
virtual void disconnect()
The Error object thrown by different methods of EdifOM.
boost::shared_ptr< Net > NetSharedPtr
A base class for Visitor.
void saveContextData(const std::string &inName, const boost::any &inSource)
void disconnectPortRefFromNet(const PortReferenceSharedPtr &inPort)
virtual ScalarPortReferenceSharedPtr newScalarPortReferencePtr(const InstanceSharedPtr &inInstancePtr, const PortSharedPtr &inPortPtr, const PortBundleReferenceSharedPtr &inParentCollection=PortBundleReferenceSharedPtr())
boost::shared_ptr< Port > PortSharedPtr
boost::shared_ptr< PortBundleReference > PortBundleReferenceSharedPtr
void setCurrentLocation(const std::string &inFunction, const std::string &inFile, uint32_t inLine)