P4C
The P4 Compiler
Loading...
Searching...
No Matches
P4::BMV2::Helpers::CounterlikeTraits< Standard::CounterExtern< Standard::Arch::PSA > > Struct Reference

CounterlikeTraits<> specialization for CounterExtern for PSA More...

#include <helpers.h>

Inheritance diagram for P4::BMV2::Helpers::CounterlikeTraits< Standard::CounterExtern< Standard::Arch::PSA > >:
[legend]

Static Public Member Functions

static const cstring directPropertyName ()
 
static const cstring directTypeName ()
 
static std::optional< size_t > indexTypeParamIdx ()
 
static const cstring name ()
 
static const cstring sizeParamName ()
 
static const cstring typeName ()
 

Detailed Description

CounterlikeTraits<> specialization for CounterExtern for PSA

Member Function Documentation

◆ indexTypeParamIdx()

static std::optional< size_t > P4::BMV2::Helpers::CounterlikeTraits< Standard::CounterExtern< Standard::Arch::PSA > >::indexTypeParamIdx ( )
inlinestatic

the index of the type parameter for the counter index, in the type parameter list of the extern type declaration.