OpenSDN source code
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() [1/3]

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

Definition at line 1604 of file nexthop.h.

◆ ComponentNH() [2/3]

ComponentNH::ComponentNH ( )
inline

Definition at line 1606 of file nexthop.h.

◆ ComponentNH() [3/3]

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

Definition at line 1608 of file nexthop.h.

Member Function Documentation

◆ DISALLOW_COPY_AND_ASSIGN()

ComponentNH::DISALLOW_COPY_AND_ASSIGN ( ComponentNH  )
private

◆ label()

uint32_t ComponentNH::label ( ) const
inline

Definition at line 1627 of file nexthop.h.

◆ nh()

const NextHop* ComponentNH::nh ( ) const
inline

Definition at line 1623 of file nexthop.h.

◆ operator==()

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

Definition at line 1611 of file nexthop.h.

◆ ToString()

std::string ComponentNH::ToString ( )
inline

Definition at line 1619 of file nexthop.h.

Member Data Documentation

◆ label_

uint32_t ComponentNH::label_
private

Definition at line 1631 of file nexthop.h.

◆ nh_

NextHopConstRef ComponentNH::nh_
private

Definition at line 1632 of file nexthop.h.


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