16 #ifndef TORC_GENERIC_PORTLIST_HPP
17 #define TORC_GENERIC_PORTLIST_HPP
20 #ifdef GENOM_SERIALIZATION
21 #include <boost/serialization/access.hpp>
22 #endif //GENOM_SERIALIZATION
31 namespace torc {
namespace generic {
class PortElement; } }
45 #ifdef GENOM_SERIALIZATION
46 friend class boost::serialization::access;
47 #endif //GENOM_SERIALIZATION
70 const std::list<PortReferenceSharedPtr>& inPortReferences)
throw (
Error);
130 void getChildren(std::list<PortListElement>& outPorts);
139 const boost::shared_ptr<_Tp>& inType,
size_t& inoutCurrentWidth) throw (
Error);
141 #ifdef GENOM_SERIALIZATION
142 template <
class Archive>
void serialize(Archive& ar,
unsigned int);
143 #endif //GENOM_SERIALIZATION
151 #endif // TORC_GENERIC_PORTLIST_HPP
An acyclic inoutVisitor implementation.
void getChildren(std::list< PortListElement > &outPorts)
Represents port element like port or port reference.
An object that is connectable to a Net.
virtual PortListSharedPtr newPortListPtr(const std::list< PortSharedPtr > &inPorts, const std::list< PortReferenceSharedPtr > &inPortReferences)
std::list< NetSharedPtr >::iterator Connection
void connectElementToNet(const NetSharedPtr &inNet, const boost::shared_ptr< _Tp > &inType, size_t &inoutCurrentWidth)
virtual void disconnect()
void addChildPortReference(const PortReferenceSharedPtr &inPortRef)
The Error object thrown by different methods of EdifOM.
boost::shared_ptr< Net > NetSharedPtr
A base class for Visitor.
boost::shared_ptr< PortReference > PortReferenceSharedPtr
boost::shared_ptr< PortList > PortListSharedPtr
VisitorType< PortList > Visitor
Represents an ordered list of port references.
virtual void accept(BaseVisitor &inoutVisitor)
boost::shared_ptr< Port > PortSharedPtr
virtual Connection connect(const NetSharedPtr &inNet)
A placeholder for a factory method.
void addChildPort(const PortSharedPtr &inPort)
PortElement PortListElement
std::list< PortListElement > mElements