P4C
The P4 Compiler
|
#include <cmp.h>
Public Member Functions | |
OPERATOR (equal, Equal) | |
OPERATOR (greater, Greater) | |
OPERATOR (greater_equal, GreaterEqual) | |
OPERATOR (less, Less) | |
OPERATOR (less_equal, LessEqual) | |
OPERATOR (not_equal, NotEqual) | |
bool | operator!= (const T &other) const |
virtual bool | operator< (const T &) const =0 |
bool | operator<= (const T &other) const |
bool | operator== (const T &other) const |
bool | operator> (const T &other) const |
bool | operator>= (const T &other) const |
Lifts < on objects to functions and functors for ==, !=, <, >, <=, and >= on pointers, and also derives ==, !=, >, <=, and >= on objects. The lifted virtual operator< is assumed to implement a strict weak ordering relation.
|
pure virtual |
Implemented in Clot, ClotCandidate, ConstrainedSlice, and Pseudoheader.