P4C
The P4 Compiler
Loading...
Searching...
No Matches
GroupConstraintExtractor Class Reference

Blueprint for group constraint extractor classes. More...

#include <group_constraint_extractor.h>

Inheritance diagram for GroupConstraintExtractor:
[legend]

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
 

Detailed Description

Blueprint for group constraint extractor classes.