P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::Test::SliceSpec Struct Reference

Public Member Functions

 SliceSpec (const char *fieldName)
 
 SliceSpec (const char *fieldName, le_bitrange slice)
 
 SliceSpec (const cstring fieldName)
 
 SliceSpec (const cstring fieldName, le_bitrange slice)
 
bool operator!= (const SliceSpec other) const
 
bool operator< (const SliceSpec other) const
 
bool operator<= (const SliceSpec other) const
 
bool operator== (const SliceSpec other) const
 
bool operator> (const SliceSpec other) const
 
bool operator>= (const SliceSpec other) const
 

Public Attributes

std::string fieldName
 
std::optional< le_bitrangeslice
 

Friends

std::ostream & operator<< (std::ostream &out, const SliceSpec &sliceSpec)