FD.io VPP
v19.04-6-g6f05f72
Vector Packet Processing
|
Feature Directions. More...
Public Member Functions | |
direction_t (int v, const std::string s) | |
Constructor. More... | |
~direction_t ()=default | |
Destructor. More... | |
Public Member Functions inherited from VOM::enum_base< direction_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_base & | operator= (const enum_base &e) |
Assignment. More... | |
enum_base & | operator|= (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 direction_t | INPUT |
Permit Direction. More... | |
static const direction_t | OUTPUT |
Deny Direction. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from VOM::enum_base< direction_t > | |
enum_base (int value, const std::string desc) | |
Constructor of an enum - takes value and string description. More... | |
virtual | ~enum_base () |
Constructor. More... | |
VOM::direction_t::direction_t | ( | int | v, |
const std::string | s | ||
) |
|
default |
Destructor.
|
static |
|
static |