P4C
The P4 Compiler
Loading...
Searching...
No Matches
BFN::CollectPipelines::Pipelines Class Reference

#include <collect_pipelines.h>

Public Member Functions

std::vector< Pipe >::const_iterator begin () const
 
std::vector< Pipe >::const_iterator end () const
 
PipeSet get (const IR::BFN::TnaControl *c) const
 Set of all pipes using this control.
 
PipeSet get (const IR::BFN::TnaDeparser *d) const
 Set of all pipes using this deparser.
 
PipeSet get (const IR::BFN::TnaParser *p) const
 Set of all pipes using this parser.
 

Friends

class CollectPipelines
 

Detailed Description

Metadata about all the pipelines in the given P4 program. Can be iterated over, or one can get a set of pipes corresponding to given control/parser/deparser.