template <typename T>
class MatcherBase
Defined at line 228 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
An internal class for implementing Matcher
<T
>, which will derive
from it. We put functionalities common to all Matcher
<T
>
specializations here to avoid code duplication.
Public Methods
bool MatchAndExplain (const T & x, MatchResultListener * listener)
Returns true if and only if the matcher matches x; also explains the
match result to 'listener'.
Defined at line 232 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
bool Matches (const T & x)
Returns true if and only if this matcher matches x.
Defined at line 238 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
void DescribeTo (::std::ostream * os)
Describes this matcher to an ostream.
Defined at line 244 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
void DescribeNegationTo (::std::ostream * os)
Describes the negation of this matcher to an ostream.
Defined at line 250 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
void ExplainMatchResultTo (const T & x, ::std::ostream * os)
Explains why x matches, or doesn't match, the matcher.
Defined at line 256 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
const MatcherDescriberInterface * GetDescriber ()
Returns the describer for this matcher object; retains ownership
of the describer, which is only guaranteed to be alive when
this matcher object is alive.
Defined at line 264 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
Protected Methods
void MatcherBase<T> ()
Defined at line 270 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
template <typename U>
void MatcherBase<T> (const MatcherInterface<U> * impl)
Constructs a matcher from its implementation.
Defined at line 274 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
template <typename M, typename = typename std::remove_reference<
M>::type::is_gtest_matcher>
void MatcherBase<T> (M && m)
Defined at line 281 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
void MatcherBase<T> (const MatcherBase<T> & other)
Defined at line 285 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
MatcherBase<T> & operator= (const MatcherBase<T> & other)
Defined at line 290 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
void MatcherBase<T> (MatcherBase<T> && other)
Defined at line 299 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
MatcherBase<T> & operator= (MatcherBase<T> && other)
Defined at line 304 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h
void ~MatcherBase<T> ()
Defined at line 313 of file ../../third_party/googletest/src/googletest/include/gtest/gtest-matchers.h