ConfigFilter is an abstract base class for RegexNameFilter, etc. More...
#include <config-filter.hpp>
Public Member Functions | |
| bool | match (bool isForInterest, const Name &packetName) |
| Call the virtual matchName method based on the packet type. More... | |
Static Public Member Functions | |
| static ptr_lib::shared_ptr < ConfigFilter > | create (const BoostInfoTree &configSection) |
| Create a filter from the configuration section. More... | |
ConfigFilter is an abstract base class for RegexNameFilter, etc.
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 a packet. Matched packets will be checked against the checkers defined in the rule.
|
static |
Create a filter from the configuration section.
| configSection | The section containing the definition of the filter, e.g. one of <validator.rule.filter>. |
| bool ndn::ConfigFilter::match | ( | bool | isForInterest, |
| const Name & | packetName | ||
| ) |
1.8.6