#include <Net.hpp>
Public Types | |
typedef InstancePinSharedPtrVector::const_iterator | InstancePinSharedPtrConstIterator |
Constant iterator to InstancePin shared pointer objects. | |
typedef InstancePinSharedPtrVector::iterator | InstancePinSharedPtrIterator |
Non-constant iterator to InstancePin shared pointer objects. | |
typedef PipVector::const_iterator | PipConstIterator |
Constant iterator to Pip objects. | |
typedef PipVector::iterator | PipIterator |
Non-constant iterator to Pip objects. | |
Public Member Functions | |
bool | containsSource (InstancePinSharedPtr &inInstancePinPtr) const |
Determines whether the given instance pin is a source of this net. | |
bool | containsSink (InstancePinSharedPtr &inInstancePinPtr) const |
Determines whether the given instance pin is a sink of this net. | |
bool | containsPip (const Pip &inPip) const |
Determines whether the net contains the given pip. | |
void | addSource (InstancePinSharedPtr &inInstancePinPtr) |
Adds the given instance pin as a source for this net. | |
void | addSink (InstancePinSharedPtr &inInstancePinPtr) |
Adds the given instance pin as a sink for this net. | |
bool | removeSource (InstancePinSharedPtr &inInstancePinPtr) |
Removes the given instance pin from the sources of this net. | |
bool | removeSink (InstancePinSharedPtr &inInstancePinPtr) |
Removes the given instance pin from the sinks of this net. | |
void | addPip (const Pip &inPip) |
Adds the given pip to this net. | |
bool | removePip (const Pip &inPip) |
Removes the given pip from this net. | |
void | unroute (void) |
Unroute the net. | |
bool | hasAnySources (void) const |
Returns true if the net has any sources. | |
bool | hasOneSource (void) const |
Returns true if the net has exactly one source. | |
bool | hasMultipleSources (void) const |
Returns true if the net has more than one source. | |
size_t | getSourceCount (void) const |
Returns the number of sources on the net. | |
bool | hasAnySinks (void) const |
Returns true if the net has any sinks. | |
bool | hasOneSink (void) const |
Returns true if the net has exactly one sink. | |
bool | hasMultipleSinks (void) const |
Returns true if the next has more than one sink. | |
size_t | getSinkCount (void) const |
Returns the number of sinks on the net. | |
bool | hasAnyPips (void) const |
Returns true if the net has any pips. | |
size_t | getPipCount (void) const |
Returns the number of pips on the net. | |
bool | isRouted (void) const |
Returns true if the net has any pips. | |
bool | isUnrouted (void) const |
Returns true if the net has no pips. | |
InstancePinSharedPtrConstIterator | sourcesBegin (void) const |
Returns the begin constant iterator for source instance pins. | |
InstancePinSharedPtrConstIterator | sourcesEnd (void) const |
Returns the end constant iterator for source instance pins. | |
InstancePinSharedPtrIterator | sourcesBegin (void) |
Returns the begin non-constant iterator for source instance pins. | |
InstancePinSharedPtrIterator | sourcesEnd (void) |
Returns the end non-constant iterator for source instance pins. | |
InstancePinSharedPtrConstIterator | sinksBegin (void) const |
Returns the begin constant iterator for sink instance pins. | |
InstancePinSharedPtrConstIterator | sinksEnd (void) const |
Returns the end constant iterator for sink instance pins. | |
InstancePinSharedPtrIterator | sinksBegin (void) |
Returns the begin non-constant iterator for sink instance pins. | |
InstancePinSharedPtrIterator | sinksEnd (void) |
Returns the end non-constant iterator for sink instance pins. | |
PipConstIterator | pipsBegin (void) const |
Returns the begin constant iterator for pips. | |
PipConstIterator | pipsEnd (void) const |
Returns the end constant iterator for pips. | |
PipIterator | pipsBegin (void) |
Returns the begin non-constant iterator for pips. | |
PipIterator | pipsEnd (void) |
Returns the end non-constant iterator for pips. | |
ENetType | getNetType (void) const |
Returns the net power type. See ENetPowerType. | |
void | setNetType (ENetType inNetType) |
Sets the net power type. See ENetPowerType. | |
bool | operator== (const Net &rhs) const |
Equality operator. | |
Protected Types | |
typedef std::string | string |
Imported type name. | |
Protected Member Functions | |
Net (const string &inName, ENetType inNetType) | |
Protected constructor. | |
Protected Attributes | |
ENetType | mNetType |
The net power type. See ENetType. | |
InstancePinSharedPtrVector | mSources |
Vector of instance pin shared pointer sources for the net. | |
InstancePinSharedPtrVector | mSinks |
Vector of instance pin shared pointer sinks for the net. | |
PipVector | mPips |
Vector of pips for the net. | |
Friends | |
class | Factory |
The Factory class has direct access to our internals. |
The Net class owns its instance pins and its pips, and is responsible for deleting them.
Definition at line 41 of file Net.hpp.
typedef std::string torc::physical::Net::string [protected] |
typedef InstancePinSharedPtrVector::const_iterator torc::physical::Net::InstancePinSharedPtrConstIterator |
typedef InstancePinSharedPtrVector::iterator torc::physical::Net::InstancePinSharedPtrIterator |
typedef PipVector::const_iterator torc::physical::Net::PipConstIterator |
typedef PipVector::iterator torc::physical::Net::PipIterator |
bool torc::physical::Net::containsSource | ( | InstancePinSharedPtr & | inInstancePinPtr | ) | const [inline] |
bool torc::physical::Net::containsSink | ( | InstancePinSharedPtr & | inInstancePinPtr | ) | const [inline] |
bool torc::physical::Net::containsPip | ( | const Pip & | inPip | ) | const [inline] |
void torc::physical::Net::addSource | ( | InstancePinSharedPtr & | inInstancePinPtr | ) | [inline] |
void torc::physical::Net::addSink | ( | InstancePinSharedPtr & | inInstancePinPtr | ) | [inline] |
bool torc::physical::Net::removeSource | ( | InstancePinSharedPtr & | inInstancePinPtr | ) | [inline] |
bool torc::physical::Net::removeSink | ( | InstancePinSharedPtr & | inInstancePinPtr | ) | [inline] |
void torc::physical::Net::addPip | ( | const Pip & | inPip | ) | [inline] |
bool torc::physical::Net::removePip | ( | const Pip & | inPip | ) | [inline] |
void torc::physical::Net::unroute | ( | void | ) | [inline] |
bool torc::physical::Net::hasAnySources | ( | void | ) | const [inline] |
bool torc::physical::Net::hasOneSource | ( | void | ) | const [inline] |
bool torc::physical::Net::hasMultipleSources | ( | void | ) | const [inline] |
size_t torc::physical::Net::getSourceCount | ( | void | ) | const [inline] |
bool torc::physical::Net::hasAnySinks | ( | void | ) | const [inline] |
bool torc::physical::Net::hasOneSink | ( | void | ) | const [inline] |
bool torc::physical::Net::hasMultipleSinks | ( | void | ) | const [inline] |
size_t torc::physical::Net::getSinkCount | ( | void | ) | const [inline] |
bool torc::physical::Net::hasAnyPips | ( | void | ) | const [inline] |
size_t torc::physical::Net::getPipCount | ( | void | ) | const [inline] |
bool torc::physical::Net::isRouted | ( | void | ) | const [inline] |
bool torc::physical::Net::isUnrouted | ( | void | ) | const [inline] |
InstancePinSharedPtrConstIterator torc::physical::Net::sourcesBegin | ( | void | ) | const [inline] |
InstancePinSharedPtrConstIterator torc::physical::Net::sourcesEnd | ( | void | ) | const [inline] |
InstancePinSharedPtrIterator torc::physical::Net::sourcesBegin | ( | void | ) | [inline] |
InstancePinSharedPtrIterator torc::physical::Net::sourcesEnd | ( | void | ) | [inline] |
InstancePinSharedPtrConstIterator torc::physical::Net::sinksBegin | ( | void | ) | const [inline] |
InstancePinSharedPtrConstIterator torc::physical::Net::sinksEnd | ( | void | ) | const [inline] |
InstancePinSharedPtrIterator torc::physical::Net::sinksBegin | ( | void | ) | [inline] |
InstancePinSharedPtrIterator torc::physical::Net::sinksEnd | ( | void | ) | [inline] |
PipConstIterator torc::physical::Net::pipsBegin | ( | void | ) | const [inline] |
PipConstIterator torc::physical::Net::pipsEnd | ( | void | ) | const [inline] |
PipIterator torc::physical::Net::pipsBegin | ( | void | ) | [inline] |
PipIterator torc::physical::Net::pipsEnd | ( | void | ) | [inline] |
ENetType torc::physical::Net::getNetType | ( | void | ) | const [inline] |
void torc::physical::Net::setNetType | ( | ENetType | inNetType | ) | [inline] |
bool torc::physical::Net::operator== | ( | const Net & | rhs | ) | const [inline] |
friend class Factory [friend] |
The Factory class has direct access to our internals.
Reimplemented from torc::physical::Progenitor< T >.
ENetType torc::physical::Net::mNetType [protected] |
PipVector torc::physical::Net::mPips [protected] |