FD.io VPP  v19.08-27-gf4dcae4
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::string & to_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

static const option_t DISABLED
 
static const option_t PUSH_1
 
static const option_t PUSH_2
 
static const option_t POP_1
 
static const option_t POP_2
 
static const option_t TRANSLATE_1_1
 
static const option_t TRANSLATE_1_2
 
static const option_t TRANSLATE_2_1
 
static const 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

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

Field Documentation

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

Definition at line 29 of file l2_vtr.hpp.

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

Definition at line 32 of file l2_vtr.hpp.

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

Definition at line 33 of file l2_vtr.hpp.

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

Definition at line 30 of file l2_vtr.hpp.

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

Definition at line 31 of file l2_vtr.hpp.

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

Definition at line 34 of file l2_vtr.hpp.

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

Definition at line 35 of file l2_vtr.hpp.

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

Definition at line 36 of file l2_vtr.hpp.

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: