![]()  | 
  
    P4C
    
   The P4 Compiler 
   | 
 
Public Member Functions | |
| PsaEnumOn32Bits (cstring filename) | |
  Public Member Functions inherited from P4::ChooseEnumRepresentation | |
| virtual unsigned | encoding (const IR::Type_Enum *, unsigned n) const | 
This class implements a policy suitable for the ConvertEnums pass. The policy is: convert all enums that are not part of the psa. Use 32-bit values for all enums. Also convert PSA_PacketPath_t to bit<32>