OpenSDN source code
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ComponentNH Class Reference

#include <nexthop.h>

Public Member Functions

 ComponentNH (uint32_t label, const NextHop *nh)
 
 ComponentNH ()
 
 ComponentNH (uint32_t label, NextHop *nh)
 
bool operator== (const ComponentNH &rhs) const
 
std::string ToString ()
 
const NextHopnh () const
 
uint32_t label () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (ComponentNH)
 

Private Attributes

uint32_t label_
 
NextHopConstRef nh_
 

Detailed Description

Definition at line 1602 of file nexthop.h.

Constructor & Destructor Documentation

ComponentNH::ComponentNH ( uint32_t  label,
const NextHop nh 
)
inline

Definition at line 1604 of file nexthop.h.

ComponentNH::ComponentNH ( )
inline

Definition at line 1606 of file nexthop.h.

ComponentNH::ComponentNH ( uint32_t  label,
NextHop nh 
)
inline

Definition at line 1608 of file nexthop.h.

Member Function Documentation

ComponentNH::DISALLOW_COPY_AND_ASSIGN ( ComponentNH  )
private
uint32_t ComponentNH::label ( ) const
inline

Definition at line 1627 of file nexthop.h.

const NextHop* ComponentNH::nh ( ) const
inline

Definition at line 1623 of file nexthop.h.

bool ComponentNH::operator== ( const ComponentNH rhs) const
inline

Definition at line 1611 of file nexthop.h.

std::string ComponentNH::ToString ( )
inline

Definition at line 1619 of file nexthop.h.

Member Data Documentation

uint32_t ComponentNH::label_
private

Definition at line 1631 of file nexthop.h.

NextHopConstRef ComponentNH::nh_
private

Definition at line 1632 of file nexthop.h.


The documentation for this class was generated from the following file: