FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
VOM::neighbour::flags_t Struct Reference
+ Inheritance diagram for VOM::neighbour::flags_t:
+ Collaboration diagram for VOM::neighbour::flags_t:

Public Member Functions

 flags_t (int v, const std::string s)
 Constructor. More...
 
 ~flags_t ()=default
 Destructor. More...
 
flags_t operator| (const flags_t &e1) const
 
- Public Member Functions inherited from VOM::enum_base< flags_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 flags_t NONE
 
static const flags_t STATIC
 
static const flags_t NO_FIB_ENTRY
 

Additional Inherited Members

- Protected Member Functions inherited from VOM::enum_base< flags_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 30 of file neighbour.hpp.

Constructor & Destructor Documentation

◆ flags_t()

VOM::neighbour::flags_t::flags_t ( int  v,
const std::string  s 
)

Constructor.

Definition at line 29 of file neighbour.cpp.

◆ ~flags_t()

VOM::neighbour::flags_t::~flags_t ( )
default

Destructor.

Member Function Documentation

◆ operator|()

flags_t VOM::neighbour::flags_t::operator| ( const flags_t e1) const
inline

Definition at line 42 of file neighbour.hpp.

Field Documentation

◆ NO_FIB_ENTRY

const neighbour::flags_t VOM::neighbour::flags_t::NO_FIB_ENTRY
static

Definition at line 51 of file neighbour.hpp.

◆ NONE

const neighbour::flags_t VOM::neighbour::flags_t::NONE
static

Definition at line 49 of file neighbour.hpp.

◆ STATIC

const neighbour::flags_t VOM::neighbour::flags_t::STATIC
static

Definition at line 50 of file neighbour.hpp.


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