Filter is one of the classes used by ValidatorConfig. More...
#include <filter.hpp>
Public Member Functions | |
virtual | ~Filter () |
bool | match (const Data &data) |
bool | match (const Interest &interest) |
Protected Member Functions | |
virtual bool | matchName (const Name &name)=0 |
Filter is one of the classes used by ValidatorConfig.
The ValidatorConfig class consists of a set of rules. The Filter class is a part of a rule and is used to match packet. Matched packets will be checked against the checkers defined in the rule.
Definition at line 48 of file filter.hpp.
|
inlinevirtual |
Definition at line 53 of file filter.hpp.
|
inline |
Definition at line 58 of file filter.hpp.
References ndn::Data::getName(), and matchName().
|
inline |
Definition at line 64 of file filter.hpp.
References ndn::Interest::getName(), ndn::Name::getPrefix(), matchName(), ndn::signed_interest::MIN_LENGTH, and ndn::Name::size().
|
protectedpure virtual |
Implemented in ndn::security::conf::RegexNameFilter, and ndn::security::conf::RelationNameFilter.
Referenced by match().