Public Methods | |
Anchor (Id id, Offset offset, Unit unit, set< string > const &signals) | |
Create an anchor, using the given identifier. | |
Anchor (Id id, Unit unit, set< string > const &signals) | |
Create an anchor, using a given identifier, but without specifying its offset. | |
Anchor (Id id, const Anchor *) | |
Copy an anchor, but with the given identifier. | |
const Id | getId () const |
Get the id of the anchor. | |
Offset | getOffset () const |
Get the offset of the anchor. | |
void | setOffset (Offset o) |
Set the offset of the anchor. | |
bool | getAnchored () const |
Get the anchored flag of the anchor. | |
void | setSignals (set< string > &signals) |
Set the signals of the anchor. | |
set< string > | getSignals () const |
Get the signals of the anchor. | |
void | setUnit (string unit) |
Set the unit of the anchor. | |
Unit | getUnit () const |
Get the unit of the anchor. | |
string | toString () |
Dump the anchor in AIF format. | |
Protected Methods | |
void | unsetOffset () |
Unset the offset. | |
Friends | |
bool | operator< (const Anchor &, const Anchor &) |
Comparison of two anchors. |
![]() |