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

#include <nexthop.h>

Public Member Functions

 ComponentNHKey (int label, std::unique_ptr< const NextHopKey > key)
 
 ComponentNHKey (int label, Composite::Type type, bool policy, const ComponentNHKeyList &component_nh_list, const std::string &vrf_name)
 
 ComponentNHKey (int label, const boost::uuids::uuid &intf_uuid, uint8_t flags, const MacAddress &mac)
 
 ComponentNHKey (int label, uint8_t tag, const boost::uuids::uuid &intf_uuid)
 
 ComponentNHKey (int label, const string &vrf_name, const Ip4Address &sip, const Ip4Address &dip, bool policy, TunnelType::TypeBmap bmap)
 
virtual ~ComponentNHKey ()
 
bool operator== (const ComponentNHKey &rhs) const
 
uint32_t label () const
 
const NextHopKeynh_key () const
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (ComponentNHKey)
 

Private Attributes

uint32_t label_
 
std::unique_ptr< const NextHopKeynh_key_
 

Detailed Description

Definition at line 1643 of file nexthop.h.

Constructor & Destructor Documentation

ComponentNHKey::ComponentNHKey ( int  label,
std::unique_ptr< const NextHopKey key 
)
inline

Definition at line 1645 of file nexthop.h.

ComponentNHKey::ComponentNHKey ( int  label,
Composite::Type  type,
bool  policy,
const ComponentNHKeyList component_nh_list,
const std::string &  vrf_name 
)

Definition at line 2809 of file nexthop.cc.

ComponentNHKey::ComponentNHKey ( int  label,
const boost::uuids::uuid intf_uuid,
uint8_t  flags,
const MacAddress mac 
)
inline

Definition at line 1650 of file nexthop.h.

ComponentNHKey::ComponentNHKey ( int  label,
uint8_t  tag,
const boost::uuids::uuid intf_uuid 
)
inline

Definition at line 1657 of file nexthop.h.

ComponentNHKey::ComponentNHKey ( int  label,
const string &  vrf_name,
const Ip4Address sip,
const Ip4Address dip,
bool  policy,
TunnelType::TypeBmap  bmap 
)
inline

Definition at line 1661 of file nexthop.h.

virtual ComponentNHKey::~ComponentNHKey ( )
inlinevirtual

Definition at line 1667 of file nexthop.h.

Member Function Documentation

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

Definition at line 1676 of file nexthop.h.

const NextHopKey* ComponentNHKey::nh_key ( ) const
inline

Definition at line 1677 of file nexthop.h.

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

Definition at line 1669 of file nexthop.h.

Member Data Documentation

uint32_t ComponentNHKey::label_
private

Definition at line 1679 of file nexthop.h.

std::unique_ptr<const NextHopKey> ComponentNHKey::nh_key_
private

Definition at line 1680 of file nexthop.h.


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