Public Member Functions | Public Attributes | List of all members
Catch::Matchers::Vector::ContainsElementMatcher< T > Struct Template Reference

#include <catch.hpp>

Inheritance diagram for Catch::Matchers::Vector::ContainsElementMatcher< T >:
Inheritance graph
[legend]

Public Member Functions

 ContainsElementMatcher (T const &comparator)
 
std::string describe () const override
 
bool match (std::vector< T > const &v) const override
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherBase< T >
MatchNotOf< T > operator! () const
 
MatchAllOf< T > operator&& (MatcherBase const &other) const
 
MatchAnyOf< T > operator|| (MatcherBase const &other) const
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase
 MatcherUntypedBase ()=default
 
 MatcherUntypedBase (MatcherUntypedBase const &)=default
 
MatcherUntypedBaseoperator= (MatcherUntypedBase const &)=delete
 
std::string toString () const
 
- Public Member Functions inherited from Catch::Matchers::Impl::MatcherMethod< T >
virtual bool match (T const &arg) const=0
 

Public Attributes

T const & m_comparator
 

Additional Inherited Members

- Protected Member Functions inherited from Catch::Matchers::Impl::MatcherUntypedBase
virtual ~MatcherUntypedBase ()
 
- Protected Attributes inherited from Catch::Matchers::Impl::MatcherUntypedBase
std::string m_cachedToString
 

Detailed Description

template<typename T>
struct Catch::Matchers::Vector::ContainsElementMatcher< T >

Definition at line 3227 of file catch.hpp.

Constructor & Destructor Documentation

◆ ContainsElementMatcher()

template<typename T >
Catch::Matchers::Vector::ContainsElementMatcher< T >::ContainsElementMatcher ( T const &  comparator)
inline

Definition at line 3229 of file catch.hpp.

Member Function Documentation

◆ describe()

template<typename T >
std::string Catch::Matchers::Vector::ContainsElementMatcher< T >::describe ( ) const
inlineoverridevirtual

Implements Catch::Matchers::Impl::MatcherUntypedBase.

Definition at line 3240 of file catch.hpp.

◆ match()

template<typename T >
bool Catch::Matchers::Vector::ContainsElementMatcher< T >::match ( std::vector< T > const &  v) const
inlineoverride

Definition at line 3231 of file catch.hpp.

Member Data Documentation

◆ m_comparator

template<typename T >
T const& Catch::Matchers::Vector::ContainsElementMatcher< T >::m_comparator

Definition at line 3244 of file catch.hpp.


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


inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:10