FD.io VPP  v18.10-34-gcce845e
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...
 
void reset ()
 reset the value of the handle to ~0 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 228 of file types.hpp.

Constructor & Destructor Documentation

VOM::handle_t::handle_t ( int  value)

Constructor.

Definition at line 58 of file types.cpp.

VOM::handle_t::handle_t ( )

Constructor.

Definition at line 63 of file types.cpp.

Member Function Documentation

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

Comparison operator.

Definition at line 81 of file types.cpp.

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

less than operator

Definition at line 87 of file types.cpp.

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

Comparison operator.

Definition at line 75 of file types.cpp.

void VOM::handle_t::reset ( )

reset the value of the handle to ~0

Definition at line 99 of file types.cpp.

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

convert to string format for debug purposes

Definition at line 69 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 93 of file types.cpp.

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 263 of file types.hpp.


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