P4C
The P4 Compiler
Loading...
Searching...
No Matches
IXBar::Loc Struct Reference

Public Types

enum  type { BYTE = 0 , WORD = 1 , NONE = 2 }
 

Public Member Functions

 Loc (const Loc &)=default
 
 Loc (int g, int b)
 
bool allocated () const
 
int getOrd (const bool isTernary=false) const
 
type group_type () const
 
 operator bool () const
 
 operator std::pair< int, int > () const
 
bool operator!= (const Loc &loc) const
 
bool operator== (const Loc &loc) const
 return the byte number in the total order
 

Public Attributes

int byte = -1
 
int group = -1