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

#include <nexthop.h>

Inheritance diagram for VrfNHKey:
Collaboration diagram for VrfNHKey:

Public Member Functions

 VrfNHKey (const string &vrf_name, bool policy, bool bridge_nh)
 
virtual ~VrfNHKey ()
 
virtual bool NextHopKeyIsLess (const NextHopKey &rhs) const
 
virtual NextHopAllocEntry () const
 
virtual NextHopKeyClone () const
 
const std::string & GetVrfName () const
 
const bool & GetBridgeNh () const
 
- Public Member Functions inherited from NextHopKey
 NextHopKey (NextHop::Type type, bool policy)
 
virtual ~NextHopKey ()
 
bool IsEqual (const NextHopKey &rhs) const
 
void SetPolicy (bool policy)
 
NextHop::Type GetType () const
 
bool GetPolicy () const
 
bool IsLess (const NextHopKey &rhs) const
 
- Public Member Functions inherited from AgentKey
 AgentKey ()
 
 AgentKey (DBSubOperation sub_op)
 
virtual ~AgentKey ()
 
- Public Member Functions inherited from DBRequestKey
virtual ~DBRequestKey ()
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (VrfNHKey)
 

Private Attributes

VrfKey vrf_key_
 
bool policy_
 
bool bridge_nh_
 

Friends

class VrfNH
 

Additional Inherited Members

- Public Types inherited from AgentKey
enum  DBSubOperation { ADD_DEL_CHANGE, RESYNC }
 
- Public Attributes inherited from AgentKey
uint8_t sub_op_
 
- Protected Attributes inherited from NextHopKey
NextHop::Type type_
 
bool policy_
 

Detailed Description

Definition at line 1376 of file nexthop.h.

Constructor & Destructor Documentation

VrfNHKey::VrfNHKey ( const string &  vrf_name,
bool  policy,
bool  bridge_nh 
)
inline

Definition at line 1378 of file nexthop.h.

virtual VrfNHKey::~VrfNHKey ( )
inlinevirtual

Definition at line 1382 of file nexthop.h.

Member Function Documentation

NextHop * VrfNHKey::AllocEntry ( ) const
virtual

Implements NextHopKey.

Definition at line 920 of file nexthop.cc.

Here is the call graph for this function:

virtual NextHopKey* VrfNHKey::Clone ( ) const
inlinevirtual

Implements NextHopKey.

Definition at line 1397 of file nexthop.h.

Here is the call graph for this function:

VrfNHKey::DISALLOW_COPY_AND_ASSIGN ( VrfNHKey  )
private
const bool& VrfNHKey::GetBridgeNh ( ) const
inline

Definition at line 1401 of file nexthop.h.

const std::string& VrfNHKey::GetVrfName ( ) const
inline

Definition at line 1400 of file nexthop.h.

virtual bool VrfNHKey::NextHopKeyIsLess ( const NextHopKey rhs) const
inlinevirtual

Reimplemented from NextHopKey.

Definition at line 1384 of file nexthop.h.

Here is the call graph for this function:

Friends And Related Function Documentation

friend class VrfNH
friend

Definition at line 1404 of file nexthop.h.

Member Data Documentation

bool VrfNHKey::bridge_nh_
private

Definition at line 1407 of file nexthop.h.

bool VrfNHKey::policy_
private

Definition at line 1406 of file nexthop.h.

VrfKey VrfNHKey::vrf_key_
private

Definition at line 1405 of file nexthop.h.


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