template <typename Class, typename FieldType>

class FieldMatcher

Defined at line 2117 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h

Implements the Field() matcher for matching a field (i.e. member

variable) of an object.

Public Methods

void FieldMatcher<Class, FieldType> (FieldType Class::* field, const Matcher<const FieldType &> & matcher)

Defined at line 2119 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h

void FieldMatcher<Class, FieldType> (const std::string & field_name, FieldType Class::* field, const Matcher<const FieldType &> & matcher)

Defined at line 2123 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h

void DescribeTo (::std::ostream * os)

Defined at line 2129 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h

void DescribeNegationTo (::std::ostream * os)

Defined at line 2134 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h

template <typename T>
bool MatchAndExplain (const T & value, MatchResultListener * listener)

Defined at line 2140 of file ../../third_party/googletest/src/googlemock/include/gmock/gmock-matchers.h