FD.io VPP  v18.07-34-g55fbdb9
Vector Packet Processing
VOM::direction_t Struct Reference

Feature Directions. More...

+ Inheritance diagram for VOM::direction_t:
+ Collaboration diagram for VOM::direction_t:

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_baseoperator= (const enum_base &e)
 Assignment. 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...
 

Detailed Description

Feature Directions.

Definition at line 131 of file types.hpp.

Constructor & Destructor Documentation

VOM::direction_t::direction_t ( int  v,
const std::string  s 
)

Constructor.

Definition at line 267 of file types.cpp.

VOM::direction_t::~direction_t ( )
default

Destructor.

Field Documentation

const direction_t VOM::direction_t::INPUT
static

Permit Direction.

Definition at line 146 of file types.hpp.

const direction_t VOM::direction_t::OUTPUT
static

Deny Direction.

Definition at line 151 of file types.hpp.


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