|
bmv2
Designing your own switch target with bmv2
|
#include <parser_error.h>
Public Member Functions | |
| bool | operator== (const ErrorCode &other) const |
| Equality operator. | |
| bool | operator!= (const ErrorCode &other) const |
| Inequality operator. | |
Static Public Member Functions | |
| static ErrorCode | make_invalid () |
Used to represent an error code (used in the parser) internally. This is really just a wrapper around an integral type.
|
inlinestatic |
An invalid ErrorCode, with an integral value distinct from all other P4-specified error codes.
|
inline |
Inequality operator.
|
inline |
Equality operator.