FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
VOM::l2_vtr::option_t Struct Reference
+ Inheritance diagram for VOM::l2_vtr::option_t:
+ Collaboration diagram for VOM::l2_vtr::option_t:

Public Member Functions

 option_t (const option_t &l)=default
 
 ~option_t ()=default
 
- Public Member Functions inherited from VOM::enum_base< option_t >
const std::stringto_string () const
 convert to string format for debug purposes More...
 
bool operator== (const enum_base &e) const
 Comparison operator. More...
 
enum_baseoperator= (const enum_base &e)
 Assignment. More...
 
enum_baseoperator|= (const enum_base &e)
 bitwise or assignemnt More...
 
enum_base operator| (const enum_base &e1) const
 bitwise or More...
 
bool operator!= (const enum_base &e) const
 Comparison operator. More...
 
 operator int () const
 integer conversion operator More...
 
int value () const
 Return the value of the enum - same as integer conversion. More...
 

Static Public Attributes

const static option_t DISABLED
 
const static option_t PUSH_1
 
const static option_t PUSH_2
 
const static option_t POP_1
 
const static option_t POP_2
 
const static option_t TRANSLATE_1_1
 
const static option_t TRANSLATE_1_2
 
const static option_t TRANSLATE_2_1
 
const static option_t TRANSLATE_2_2
 

Additional Inherited Members

- Protected Member Functions inherited from VOM::enum_base< option_t >
 enum_base (int value, const std::string desc)
 Constructor of an enum - takes value and string description. More...
 
virtual ~enum_base ()
 Constructor. More...
 

Detailed Description

Definition at line 24 of file l2_vtr.hpp.

Constructor & Destructor Documentation

◆ option_t()

VOM::l2_vtr::option_t::option_t ( const option_t l)
default

◆ ~option_t()

VOM::l2_vtr::option_t::~option_t ( )
default

Field Documentation

◆ DISABLED

const option_t VOM::l2_vtr::option_t::DISABLED
static

Definition at line 29 of file l2_vtr.hpp.

◆ POP_1

const option_t VOM::l2_vtr::option_t::POP_1
static

Definition at line 32 of file l2_vtr.hpp.

◆ POP_2

const option_t VOM::l2_vtr::option_t::POP_2
static

Definition at line 33 of file l2_vtr.hpp.

◆ PUSH_1

const option_t VOM::l2_vtr::option_t::PUSH_1
static

Definition at line 30 of file l2_vtr.hpp.

◆ PUSH_2

const option_t VOM::l2_vtr::option_t::PUSH_2
static

Definition at line 31 of file l2_vtr.hpp.

◆ TRANSLATE_1_1

const option_t VOM::l2_vtr::option_t::TRANSLATE_1_1
static

Definition at line 34 of file l2_vtr.hpp.

◆ TRANSLATE_1_2

const option_t VOM::l2_vtr::option_t::TRANSLATE_1_2
static

Definition at line 35 of file l2_vtr.hpp.

◆ TRANSLATE_2_1

const option_t VOM::l2_vtr::option_t::TRANSLATE_2_1
static

Definition at line 36 of file l2_vtr.hpp.

◆ TRANSLATE_2_2

const option_t VOM::l2_vtr::option_t::TRANSLATE_2_2
static

Definition at line 37 of file l2_vtr.hpp.


The documentation for this struct was generated from the following files: