P4C
The P4 Compiler
Loading...
Searching...
No Matches
Constraints::PairConstraint Class Referenceabstract
Inheritance diagram for Constraints::PairConstraint:
[legend]

Public Member Functions

 PairConstraint (cstring f1, cstring f2)
 
 PairConstraint (PairConstraint &p)
 
virtual void addConstraint (uint32_t reason)=0
 
virtual bool hasConstraint () const =0
 
bool operator< (PairConstraint const &a) const
 
bool operator== (const PairConstraint &a) const
 

Protected Attributes

std::pair< cstring, cstringfields
 
unsigned reason = 0