FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
VOM::handle_t Struct Reference

A type declaration of an interface handle in VPP. More...

+ Collaboration diagram for VOM::handle_t:

Public Member Functions

 handle_t (int value)
 Constructor. More...
 
 handle_t ()
 Constructor. More...
 
std::string to_string () const
 convert to string format for debug purposes More...
 
bool operator== (const handle_t &other) const
 Comparison operator. More...
 
bool operator!= (const handle_t &other) const
 Comparison operator. More...
 
bool operator< (const handle_t &other) const
 less than operator More...
 
uint32_t value () const
 get the value of the handle More...
 

Static Public Attributes

static const handle_t INVALID
 A value of an interface handle_t that means the itf does not exist. More...
 

Detailed Description

A type declaration of an interface handle in VPP.

Definition at line 164 of file types.hpp.

Constructor & Destructor Documentation

VOM::handle_t::handle_t ( int  value)

Constructor.

Definition at line 57 of file types.cpp.

VOM::handle_t::handle_t ( )

Constructor.

Definition at line 62 of file types.cpp.

Member Function Documentation

bool VOM::handle_t::operator!= ( const handle_t other) const

Comparison operator.

Definition at line 80 of file types.cpp.

bool VOM::handle_t::operator< ( const handle_t other) const

less than operator

Definition at line 86 of file types.cpp.

bool VOM::handle_t::operator== ( const handle_t other) const

Comparison operator.

Definition at line 74 of file types.cpp.

std::string VOM::handle_t::to_string ( void  ) const

convert to string format for debug purposes

Definition at line 68 of file types.cpp.

+ Here is the caller graph for this function:

uint32_t VOM::handle_t::value ( ) const

get the value of the handle

Definition at line 92 of file types.cpp.

+ Here is the caller graph for this function:

Field Documentation

const handle_t VOM::handle_t::INVALID
static

A value of an interface handle_t that means the itf does not exist.

Definition at line 199 of file types.hpp.


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