Public Member Functions | |
PredicateMatcher (std::function< bool(T const &)> const &elem, std::string const &descr) | |
bool | match (T const &item) const override |
std::string | describe () const override |
Public Member Functions inherited from MatcherBase< T > | |
MatchAllOf< T > | operator&& (MatcherBase const &other) const |
MatchAnyOf< T > | operator|| (MatcherBase const &other) const |
MatchNotOf< T > | operator! () const |
Public Member Functions inherited from MatcherUntypedBase | |
MatcherUntypedBase ()=default | |
MatcherUntypedBase (MatcherUntypedBase const &)=default | |
MatcherUntypedBase & | operator= (MatcherUntypedBase const &)=delete |
std::string | toString () const |
Additional Inherited Members | |
Protected Member Functions inherited from MatcherUntypedBase | |
virtual | ~MatcherUntypedBase () |
Protected Attributes inherited from MatcherUntypedBase | |
std::string | m_cachedToString |
PredicateMatcher | ( | std::function< bool(T const &)> const & | elem, |
std::string const & | descr | ||
) |
|
overridevirtual |
Implements MatcherMethod< T >.
|
overridevirtual |
Implements MatcherUntypedBase.