P4C
The P4 Compiler
|
#include <collect_pipelines.h>
Public Member Functions | |
bool | operator< (const Pipe &) const |
A total order given by declaration names (i.e. consistent with ==). | |
bool | operator== (const Pipe &) const |
Public Attributes | |
const IR::Declaration_Instance * | dec = nullptr |
FullGress | egress |
const IR::BFN::TnaControl * | ghost = nullptr |
FullGress | ingress |
Friends | |
class | CollectPipelines |
Description of Tofino pipeline with ingress, egress and possibly ghost. Comparable so that it can be put into std::map as a key or into std::set.
bool BFN::CollectPipelines::Pipe::operator== | ( | const Pipe & | other | ) | const |
Identity comparison. I.e. two pipes are the same if they arise from the same declaration.