P4C
The P4 Compiler
|
#include <constraints.h>
Public Member Functions | |
void | addConstraint (uint32_t r) |
bool | hasConstraint () const |
bool | isALU () const |
bool | isArch () const |
bool | isChecksum () const |
bool | isClearOnWrite () const |
bool | isDigest () const |
bool | isOnlyClearOnWrite () const |
bool | isPragmaContainerSize () const |
bool | isPragmaSolitary () const |
This class represents the solitary constraint, which implies that the field cannot be packed with any other field in the same container. Note that solitary constraint does not preclude fields sharing the same container through overlay.
|
inlinevirtual |
Implements Constraints::BooleanConstraint.
|
inlinevirtual |
Implements Constraints::BooleanConstraint.