16 #ifndef TORC_GENERIC_INTERFACEJOINEDINFO_HPP
17 #define TORC_GENERIC_INTERFACEJOINEDINFO_HPP
29 namespace torc {
namespace generic {
class Port; } }
30 namespace torc {
namespace generic {
class PortList; } }
31 namespace torc {
namespace generic {
class BaseVisitor; } }
86 const std::list<PortSharedPtr>& inPorts,
87 const std::list<PortListSharedPtr>& inPortLists,
const ViewSharedPtr& inViewPtr,
134 inline void getPorts(std::list<PortSharedPtr>& outPorts)
const;
141 void setPorts(
const std::list<PortSharedPtr>& inSource);
155 inline void getPortLists(std::list<PortListSharedPtr>& outPortLists)
const;
162 void setPortLists(
const std::list<PortListSharedPtr>& inSource);
169 inline void getChildren(std::vector<InterfaceJoinedInfoSharedPtr> & outJoinedInfos)
const;
178 void setChildren(
const std::vector<InterfaceJoinedInfoSharedPtr> & inSource);
260 std::vector<InterfaceJoinedInfoSharedPtr> & outJoinedInfos)
const {
269 const _Action& action)
throw (
Error) {
271 std::vector<InterfaceJoinedInfoSharedPtr>::iterator it =
mChildren.begin();
292 #endif // TORC_GENERIC_INTERFACEJOINEDINFO_HPP
An acyclic inoutVisitor implementation.
void applyOnAllChildren(const _Action &action)
void getPortLists(std::list< PortListSharedPtr > &outPortLists) const
std::list< PortSharedPtr > mJoinedPorts
const JoinedType getJoinedType() const
std::list< PortListSharedPtr > mJoinedPortLists
void addPort(const PortSharedPtr &inPort)
virtual InterfaceJoinedInfoSharedPtr newInterfaceJoinedInfoPtr(const std::list< PortSharedPtr > &inPorts, const std::list< PortListSharedPtr > &inPortLists, const ViewSharedPtr &inViewPtr, const InterfaceJoinedInfoSharedPtr &inParentJoinedInfo=InterfaceJoinedInfoSharedPtr())
The Error object thrown by different methods of EdifOM.
RelationType mRelationType
void setRelationType(const RelationType &inSource)
A base class for Visitor.
Represents the Interface joining information.
bool addChildJoinedInfo(const InterfaceJoinedInfoSharedPtr &inChildJoinInfo)
boost::shared_ptr< PortList > PortListSharedPtr
void setPortLists(const std::list< PortListSharedPtr > &inSource)
virtual ~InterfaceJoinedInfo()
void addPortList(const PortListSharedPtr &inPortList)
void getChildren(std::vector< InterfaceJoinedInfoSharedPtr > &outJoinedInfos) const
boost::shared_ptr< View > ViewSharedPtr
boost::shared_ptr< InterfaceJoinedInfo > InterfaceJoinedInfoSharedPtr
void setJoinedType(const JoinedType &inSource)
boost::shared_ptr< Port > PortSharedPtr
const RelationType getRelationType() const
std::vector< InterfaceJoinedInfoSharedPtr > mChildren
void getPorts(std::list< PortSharedPtr > &outPorts) const
A placeholder for a factory method.
VisitorType< InterfaceJoinedInfo > Visitor
void setChildren(const std::vector< InterfaceJoinedInfoSharedPtr > &inSource)
virtual void accept(BaseVisitor &visitor)
Receive a visitor to this class. The visit method of the visitor is called and a reference to this ob...
An object that receives an inoutVisitor.
void setCurrentLocation(const std::string &inFunction, const std::string &inFile, uint32_t inLine)
void setPorts(const std::list< PortSharedPtr > &inSource)