xorp

RedistPolicy< A > Class Template Reference

Base class for Redistribution Policy objects. More...

#include <redist_policy.hh>

Inheritance diagram for RedistPolicy< A >:
IsEGP< A > IsIGP< A > IsOfProtocol< A > RedistBinaryOp< A > RedistLogicalAnd< A > RedistLogicalOr< A >

List of all members.

Public Member Functions

virtual bool accept (const IPRouteEntry< A > &ipr) const =0
 Determine whether route should be accepted for redistribution.

Detailed Description

template<typename A>
class RedistPolicy< A >

Base class for Redistribution Policy objects.

Redistribution Policy objects are intended to be composable. Logical Operators as well as route attibute operators are defined.


Member Function Documentation

template<typename A>
virtual bool RedistPolicy< A >::accept ( const IPRouteEntry< A > &  ipr) const [pure virtual]

Determine whether route should be accepted for redistribution.

Parameters:
iprroute to be examined.
Returns:
true if route should be accepted for redistribution, false otherwise.

Implemented in IsOfProtocol< A >, IsIGP< A >, and IsEGP< A >.


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