Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
testing::internal::FieldMatcher< Class, FieldType > Class Template Reference

#include <JETSCAPE/blob/main/external_packages/googletest/googlemock/include/gmock/gmock-matchers.h>

+ Collaboration diagram for testing::internal::FieldMatcher< Class, FieldType >:

Public Member Functions

 FieldMatcher (FieldType Class::*field, const Matcher< const FieldType & > &matcher)
 
void DescribeTo (::std::ostream *os) const
 
void DescribeNegationTo (::std::ostream *os) const
 
template<typename T >
bool MatchAndExplain (const T &value, MatchResultListener *listener) const
 

Private Member Functions

bool MatchAndExplainImpl (false_type, const Class &obj, MatchResultListener *listener) const
 
bool MatchAndExplainImpl (true_type, const Class *p, MatchResultListener *listener) const
 
 GTEST_DISALLOW_ASSIGN_ (FieldMatcher)
 

Private Attributes

const FieldType Class::* field_
 
const Matcher< const FieldType & > matcher_
 

Detailed Description

template<typename Class, typename FieldType>
class testing::internal::FieldMatcher< Class, FieldType >

Definition at line 2181 of file gmock-matchers.h.

View newest version in sPHENIX GitHub at line 2181 of file gmock-matchers.h

Constructor & Destructor Documentation

template<typename Class , typename FieldType >
testing::internal::FieldMatcher< Class, FieldType >::FieldMatcher ( FieldType Class::*  field,
const Matcher< const FieldType & > &  matcher 
)
inline

Definition at line 2183 of file gmock-matchers.h.

View newest version in sPHENIX GitHub at line 2183 of file gmock-matchers.h

Member Function Documentation

template<typename Class , typename FieldType >
void testing::internal::FieldMatcher< Class, FieldType >::DescribeNegationTo ( ::std::ostream *  os) const
inline

Definition at line 2192 of file gmock-matchers.h.

View newest version in sPHENIX GitHub at line 2192 of file gmock-matchers.h

References testing::internal::MatcherBase< T >::DescribeNegationTo(), and testing::internal::FieldMatcher< Class, FieldType >::matcher_.

+ Here is the call graph for this function:

template<typename Class , typename FieldType >
void testing::internal::FieldMatcher< Class, FieldType >::DescribeTo ( ::std::ostream *  os) const
inline

Definition at line 2187 of file gmock-matchers.h.

View newest version in sPHENIX GitHub at line 2187 of file gmock-matchers.h

References testing::internal::MatcherBase< T >::DescribeTo(), and testing::internal::FieldMatcher< Class, FieldType >::matcher_.

+ Here is the call graph for this function:

template<typename Class , typename FieldType >
testing::internal::FieldMatcher< Class, FieldType >::GTEST_DISALLOW_ASSIGN_ ( FieldMatcher< Class, FieldType >  )
private
template<typename Class , typename FieldType >
template<typename T >
bool testing::internal::FieldMatcher< Class, FieldType >::MatchAndExplain ( const T value,
MatchResultListener listener 
) const
inline

Definition at line 2198 of file gmock-matchers.h.

View newest version in sPHENIX GitHub at line 2198 of file gmock-matchers.h

References GTEST_REMOVE_CONST_, testing::internal::FieldMatcher< Class, FieldType >::MatchAndExplainImpl(), Acts::UnitConstants::T, and parse_cmake_options::type.

+ Here is the call graph for this function:

template<typename Class , typename FieldType >
bool testing::internal::FieldMatcher< Class, FieldType >::MatchAndExplainImpl ( false_type  ,
const Class &  obj,
MatchResultListener listener 
) const
inlineprivate

Definition at line 2209 of file gmock-matchers.h.

View newest version in sPHENIX GitHub at line 2209 of file gmock-matchers.h

References testing::internal::FieldMatcher< Class, FieldType >::field_, testing::internal::FieldMatcher< Class, FieldType >::matcher_, and testing::internal::MatchPrintAndExplain().

Referenced by testing::internal::FieldMatcher< Class, FieldType >::MatchAndExplain(), and testing::internal::FieldMatcher< Class, FieldType >::MatchAndExplainImpl().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename Class , typename FieldType >
bool testing::internal::FieldMatcher< Class, FieldType >::MatchAndExplainImpl ( true_type  ,
const Class *  p,
MatchResultListener listener 
) const
inlineprivate

Definition at line 2215 of file gmock-matchers.h.

View newest version in sPHENIX GitHub at line 2215 of file gmock-matchers.h

References testing::internal::FieldMatcher< Class, FieldType >::MatchAndExplainImpl().

+ Here is the call graph for this function:

Member Data Documentation

template<typename Class , typename FieldType >
const FieldType Class::* testing::internal::FieldMatcher< Class, FieldType >::field_
private

Definition at line 2227 of file gmock-matchers.h.

View newest version in sPHENIX GitHub at line 2227 of file gmock-matchers.h

Referenced by testing::internal::FieldMatcher< Class, FieldType >::MatchAndExplainImpl().

template<typename Class , typename FieldType >
const Matcher<const FieldType&> testing::internal::FieldMatcher< Class, FieldType >::matcher_
private

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