![]() |
P4C
The P4 Compiler
|
Public Member Functions | |
| EdgeSet (CFG::Edge *edge) | |
| EdgeSet (const EdgeSet *other) | |
| bool | checkSame (const EdgeSet &other) const |
| void | dbprint (std::ostream &out) const |
| void | emplace (CFG::Edge *edge) |
| bool | isDestination (const CFG::Node *destination) const |
| void | mergeWith (const EdgeSet *other) |
| size_t | size () const |
Public Member Functions inherited from IHasDbPrint | |
| void | print () const |
Public Attributes | |
| ordered_set< CFG::Edge * > | edges |
| bool BMV2::CFG::EdgeSet::checkSame | ( | const EdgeSet & | other | ) | const |
Checks whether the two edge sets represent the same set of nodes. Importantly, two TableNodes are equivalent if they refer to the same table (pointer equality is not enough).