![]() |
P4C
The P4 Compiler
|
Public Types | |
| enum | TypeEnum { B , H , W , TB , TH , TW , MB , MH , MW , DB , DH , DW } |
Public Member Functions | |
| Type (const char *name, bool abort_if_invalid=true) | |
| Type (const Type &t) | |
| Type (Kind k, Size s) | |
| Type (TypeEnum te) | |
| Kind | kind () const |
| unsigned | log2sz () const |
| bool | operator!= (Type c) const |
| bool | operator< (Type c) const |
| Type & | operator= (const Type &t) |
| bool | operator== (Type c) const |
| Size | size () const |
| cstring | toString () const |
| bool | valid () const |
Friends | |
| size_t | hash_value (const Type &c) |
| cstring PHV::Type::toString | ( | ) | const |