Go to the documentation of this file.
47 : parent_(nullptr), ports_(), signalGroup_() {}
54 : parent_(nullptr), ports_(), signalGroup_(other.signalGroup_) {
55 std::insert_iterator<PortContainerType> portInserter(
57 for (
size_t i = 0; i < other.
portCount(); i++) {
66 : parent_(nullptr), ports_(), signalGroup_(signalGroup) {}
119 "The port group does not have port by given signal type.");
172 for (
size_t i = 0; i <
portCount(); i++) {
174 this->
portAt(i).assignedSignal().type() ==
virtual NetlistPortGroup * clone(bool asMirrored=false) const
BaseNetlistBlock * parent_
The parent block where the group belongs to.
const NetlistPort & portAt(size_t index) const
void setParent(BaseNetlistBlock *newParent)
PortContainerType::const_reverse_iterator const_reverse_iterator
PortContainerType::reverse_iterator reverse_iterator
void assignSignalGroup(SignalGroup signalGroup)
#define assert(condition)
#define THROW_EXCEPTION(exceptionType, message)
Exception wrapper macro that automatically includes file name, line number and function name where th...
void addPort(NetlistPort &port)
PortContainerType::iterator iterator
virtual NetlistPort * clone(bool asMirrored=false) const
SignalGroup assignedSignalGroup() const
const BaseNetlistBlock & parent() const
SignalGroup signalGroup_
The usage/implemented interface of the group.
const NetlistPort & portBySignal(SignalType type) const
Signal assignedSignal() const
reverse_iterator rbegin()
bool hasPortBySignal(SignalType type) const
virtual ~NetlistPortGroup()
PortContainerType::const_iterator const_iterator
PortContainerType ports_
The ports belonging to this group by reference.