![]() |
![]() |
#include <EventHypothesis.h>
Public Member Functions | |
virtual bool | operator() (const CandRefType &cand, const std::string &role) const |
RoleRegexpFilter (const std::string &roleRegexp) | |
Private Attributes | |
boost::regex | re_ |
Definition at line 111 of file EventHypothesis.h.
pat::eventhypothesis::RoleRegexpFilter::RoleRegexpFilter | ( | const std::string & | roleRegexp | ) | [inline, explicit] |
Definition at line 113 of file EventHypothesis.h.
: re_(roleRegexp) {}
virtual bool pat::eventhypothesis::RoleRegexpFilter::operator() | ( | const CandRefType & | cand, |
const std::string & | role | ||
) | const [inline, virtual] |
Implements pat::eventhypothesis::ParticleFilter.
Definition at line 114 of file EventHypothesis.h.
References re_.
{ return boost::regex_match(role, re_); }
boost::regex pat::eventhypothesis::RoleRegexpFilter::re_ [private] |
Definition at line 118 of file EventHypothesis.h.
Referenced by operator()().