P4C
The P4 Compiler
|
Blueprint for group constraint extractor classes. More...
#include <group_constraint_extractor.h>
Public Types | |
using | Group = std::vector<ConstrainedSlice> |
Public Member Functions | |
std::vector< const Group * > | getGroups (const cstring &name) const |
bool | isFieldInAnyGroup (const cstring &name) const |
Protected Member Functions | |
void | processSlice (unsigned groupId, const PHV::FieldSlice &slice, const ConstrainedFieldMap &map) |
Protected Attributes | |
std::map< cstring, std::set< unsigned > > | fieldToGroupMap |
std::vector< Group > | groups |
Blueprint for group constraint extractor classes.