All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Pages
Public Member Functions | Protected Member Functions | List of all members
ndn::NdnRegexComponentMatcher Class Reference
Inheritance diagram for ndn::NdnRegexComponentMatcher:

Public Member Functions

 NdnRegexComponentMatcher (const std::string &expr, ptr_lib::shared_ptr< NdnRegexBackrefManager > backrefManager, bool isExactMatch=true)
 Create a RegexComponent matcher from expr. More...
 
virtual bool match (const Name &name, size_t offset, size_t len)
 

Protected Member Functions

virtual void compile ()
 Compile the regular expression to generate more matchers when necessary.
 

Constructor & Destructor Documentation

ndn::NdnRegexComponentMatcher::NdnRegexComponentMatcher ( const std::string &  expr,
ptr_lib::shared_ptr< NdnRegexBackrefManager backrefManager,
bool  isExactMatch = true 
)
inline

Create a RegexComponent matcher from expr.

Parameters
exprThe standard regular expression to match a component.
backrefManagerThe back reference manager.
isExactMatchThe flag to provide exact match.

The documentation for this class was generated from the following file: