torc-master
|
Encapsulation of an arc between two tilewires. More...
#include <Arc.hpp>
Public Member Functions | |
Arc (void) | |
Null constructor. More... | |
Arc (const Tilewire &inSourceTilewire, const Tilewire &inSinkTilewire) | |
Public constructor. More... | |
const Tilewire & | getSourceTilewire (void) const |
Returns the source tilewire. More... | |
const Tilewire & | getSinkTilewire (void) const |
Returns the sink tilewire. More... | |
bool | operator== (const Arc &rhs) const |
Equality operator. More... | |
bool | operator< (const Arc &rhs) const |
Comparison operator. More... | |
bool | isUndefined (void) const |
Protected Attributes | |
Tilewire | mSourceTilewire |
The source tilewire. More... | |
Tilewire | mSinkTilewire |
The sink tilewire. More... | |
Friends | |
std::size_t | hash_value (const Arc &inArc) |
Return a hash value for the specified arc. More... | |
|
inline |
Null constructor.
The source and sink tilewires will be set to Tilewire::sInvalid.
Definition at line 39 of file Arc.hpp.
|
inline |
Public constructor.
Definition at line 41 of file Arc.hpp.
|
inline |
Returns the sink tilewire.
Definition at line 47 of file Arc.hpp.
|
inline |
Returns the source tilewire.
Definition at line 45 of file Arc.hpp.
|
inline |
Definition at line 61 of file Arc.hpp.
|
inline |
Comparison operator.
Definition at line 54 of file Arc.hpp.
|
inline |
Equality operator.
Definition at line 50 of file Arc.hpp.
|
friend |
|
protected |
|
protected |