xorp

BGPVarRWExport< A > Class Template Reference

Returns the output peering for the neighbor variable. More...

#include <bgp_varrw_export.hh>

Inheritance diagram for BGPVarRWExport< A >:
BGPVarRW< A > SingleVarRW NONCOPYABLE VarRW

List of all members.

Public Member Functions

 BGPVarRWExport (const string &name, const string &neighbor)
 same as BGPVarRW but returns a different neighbor.

Protected Member Functions

Elementread_neighbor ()
 read the neighbor variable---the peer the advertisement is about to be sent to.

Private Attributes

const string _neighbor

Detailed Description

template<class A>
class BGPVarRWExport< A >

Returns the output peering for the neighbor variable.

The neighbor variable in a dest {} policy block refers to the output peer where the advertisement is being sent.


Constructor & Destructor Documentation

template<class A >
BGPVarRWExport< A >::BGPVarRWExport ( const string &  name,
const string &  neighbor 
)

same as BGPVarRW but returns a different neighbor.

Parameters:
namethe name of the filter printed while tracing.
neighborvalue to return for neighbor variable.

Member Function Documentation

template<class A >
Element * BGPVarRWExport< A >::read_neighbor ( ) [protected, virtual]

read the neighbor variable---the peer the advertisement is about to be sent to.

Returns:
the neighbor variable.

Reimplemented from BGPVarRW< A >.


The documentation for this class was generated from the following files:
 All Classes Namespaces Functions Variables Typedefs Enumerations