OpenSDN source code
NextHopKey Class Referenceabstract

#include <nexthop.h>

Inheritance diagram for NextHopKey:
Collaboration diagram for NextHopKey:

Public Member Functions

 NextHopKey (NextHop::Type type, bool policy)
 
virtual ~NextHopKey ()
 
virtual NextHopAllocEntry () const =0
 
virtual NextHopKeyClone () const =0
 
virtual bool NextHopKeyIsLess (const NextHopKey &rhs) const
 
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 ()
 

Protected Attributes

NextHop::Type type_
 
bool policy_
 

Private Member Functions

 DISALLOW_COPY_AND_ASSIGN (NextHopKey)
 

Friends

class NextHop
 

Additional Inherited Members

- Public Types inherited from AgentKey
enum  DBSubOperation { ADD_DEL_CHANGE , RESYNC }
 
- Public Attributes inherited from AgentKey
uint8_t sub_op_
 

Detailed Description

Definition at line 469 of file nexthop.h.

Constructor & Destructor Documentation

◆ NextHopKey()

NextHopKey::NextHopKey ( NextHop::Type  type,
bool  policy 
)
inline

Definition at line 471 of file nexthop.h.

◆ ~NextHopKey()

virtual NextHopKey::~NextHopKey ( )
inlinevirtual

Definition at line 473 of file nexthop.h.

Member Function Documentation

◆ AllocEntry()

◆ Clone()

◆ DISALLOW_COPY_AND_ASSIGN()

NextHopKey::DISALLOW_COPY_AND_ASSIGN ( NextHopKey  )
private

◆ GetPolicy()

bool NextHopKey::GetPolicy ( ) const
inline

Definition at line 500 of file nexthop.h.

◆ GetType()

NextHop::Type NextHopKey::GetType ( ) const
inline

Definition at line 499 of file nexthop.h.

◆ IsEqual()

bool NextHopKey::IsEqual ( const NextHopKey rhs) const
inline

Definition at line 481 of file nexthop.h.

Here is the call graph for this function:

◆ IsLess()

bool NextHopKey::IsLess ( const NextHopKey rhs) const
inline

Definition at line 501 of file nexthop.h.

Here is the call graph for this function:

◆ NextHopKeyIsLess()

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

◆ SetPolicy()

void NextHopKey::SetPolicy ( bool  policy)
inline

Definition at line 495 of file nexthop.h.

Friends And Related Function Documentation

◆ NextHop

friend class NextHop
friend

Definition at line 511 of file nexthop.h.

Member Data Documentation

◆ policy_

bool NextHopKey::policy_
protected

Definition at line 513 of file nexthop.h.

◆ type_

NextHop::Type NextHopKey::type_
protected

Definition at line 512 of file nexthop.h.


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