P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::P4Tools::CompilerConfiguration Class Reference

#include <configuration.h>

Inheritance diagram for P4::P4Tools::CompilerConfiguration:
[legend]

Public Member Functions

int maximumWidthSupported () const override
 Maximum width supported for a bit field or integer.
 
- Public Member Functions inherited from P4::DefaultP4CConfiguration
int maximumArraySize () const
 Maximum size for a header stack array.
 
- Public Member Functions inherited from P4::P4CConfiguration

Static Public Member Functions

static const CompilerConfigurationget ()
 
- Static Public Member Functions inherited from P4::DefaultP4CConfiguration
static const DefaultP4CConfigurationget ()
 

Detailed Description

A P4CConfiguration implementation that increases the maximum width for a bit field or integer.

Member Function Documentation

◆ get()

static const CompilerConfiguration & P4::P4Tools::CompilerConfiguration::get ( )
inlinestatic
Returns
the singleton instance.

◆ maximumWidthSupported()

int P4::P4Tools::CompilerConfiguration::maximumWidthSupported ( ) const
inlinenodiscardoverridevirtual

Maximum width supported for a bit field or integer.

Reimplemented from P4::DefaultP4CConfiguration.