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

#include <routing_policy_action.h>

Inheritance diagram for UpdateLocalPref:
Collaboration diagram for UpdateLocalPref:

Public Member Functions

 UpdateLocalPref (uint32_t local_pref)
 
virtual ~UpdateLocalPref ()
 
virtual void operator() (BgpAttr *out_attr) const
 
std::string ToString () const
 
virtual bool IsEqual (const RoutingPolicyAction &local_pref) const
 
- Public Member Functions inherited from RoutingPolicyUpdateAction
virtual ~RoutingPolicyUpdateAction ()
 
bool terminal () const
 
bool accept () const
 
- Public Member Functions inherited from RoutingPolicyAction
virtual ~RoutingPolicyAction ()
 
virtual bool operator== (const RoutingPolicyAction &action) const
 
virtual bool operator!= (const RoutingPolicyAction &action) const
 

Private Attributes

uint32_t local_pref_
 

Detailed Description

Definition at line 140 of file routing_policy_action.h.

Constructor & Destructor Documentation

UpdateLocalPref::UpdateLocalPref ( uint32_t  local_pref)
explicit

Definition at line 197 of file routing_policy_action.cc.

virtual UpdateLocalPref::~UpdateLocalPref ( )
inlinevirtual

Definition at line 143 of file routing_policy_action.h.

Member Function Documentation

bool UpdateLocalPref::IsEqual ( const RoutingPolicyAction local_pref) const
virtual

Implements RoutingPolicyAction.

Definition at line 211 of file routing_policy_action.cc.

void UpdateLocalPref::operator() ( BgpAttr out_attr) const
virtual

Implements RoutingPolicyUpdateAction.

Definition at line 201 of file routing_policy_action.cc.

Here is the call graph for this function:

string UpdateLocalPref::ToString ( ) const
virtual

Implements RoutingPolicyAction.

Definition at line 205 of file routing_policy_action.cc.

Member Data Documentation

uint32_t UpdateLocalPref::local_pref_
private

Definition at line 149 of file routing_policy_action.h.


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