22 #ifndef NDN_INTEREST_FILTER_HPP 
   23 #define NDN_INTEREST_FILTER_HPP 
   93   InterestFilter(
const std::string& prefixUri, 
const std::string& regexFilter);
 
  103   InterestFilter(
const char* prefixUri, 
const std::string& regexFilter);
 
  113   InterestFilter(
const std::string& prefixUri, 
const char* regexFilter);
 
  178   makePattern(
const std::string& regexFilter);
 
  181   std::string regexFilter_;
 
  182   std::string regexFilterPattern_;
 
const std::string & getRegexFilter() const 
Get the regex filter. 
Definition: interest-filter.hpp:168
 
Copyright (C) 2013-2016 Regents of the University of California. 
Definition: common.hpp:35
 
const Name & getPrefix() const 
Get the prefix given to the constructor. 
Definition: interest-filter.hpp:154
 
InterestFilter(const Name &prefix)
Create an InterestFilter to match any Interest whose name starts with the given prefix. 
Definition: interest-filter.hpp:40
 
InterestFilter(const char *prefixUri)
Create an InterestFilter to match any Interest whose name starts with the given prefix. 
Definition: interest-filter.hpp:60
 
A Name holds an array of Name::Component and represents an NDN name. 
Definition: name.hpp:40
 
InterestFilter(const std::string &prefixUri)
Create an InterestFilter to match any Interest whose name starts with the given prefix. 
Definition: interest-filter.hpp:50
 
bool hasRegexFilter() const 
Check if a regexFilter was supplied to the constructor. 
Definition: interest-filter.hpp:161
 
An InterestFilter holds a Name prefix and optional regex match expression for use in Face::setInteres...
Definition: interest-filter.hpp:33
 
bool doesMatch(const Name &name) const 
Check if the given name matches this filter. 
Definition: interest-filter.cpp:73