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

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

+ Collaboration diagram for testing::internal::PropertyMatcher< Class, PropertyType >:

Public Member Functions

typedef GTEST_REFERENCE_TO_CONST_ (PropertyType) RefToConstProperty
 
 PropertyMatcher (PropertyType(Class::*property)() const, const Matcher< RefToConstProperty > &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_ (PropertyMatcher)
 

Private Attributes

PropertyType(Class::* property_ )() const
 
const Matcher< RefToConstProperty > matcher_
 

Detailed Description

template<typename Class, typename PropertyType>
class testing::internal::PropertyMatcher< Class, PropertyType >

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

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

Constructor & Destructor Documentation

template<typename Class , typename PropertyType >
testing::internal::PropertyMatcher< Class, PropertyType >::PropertyMatcher ( PropertyType(Class::*)() const  property,
const Matcher< RefToConstProperty > &  matcher 
)
inline

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

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

Member Function Documentation

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

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

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

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

+ Here is the call graph for this function:

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

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

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

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

+ Here is the call graph for this function:

template<typename Class , typename PropertyType >
testing::internal::PropertyMatcher< Class, PropertyType >::GTEST_DISALLOW_ASSIGN_ ( PropertyMatcher< Class, PropertyType >  )
private
template<typename Class , typename PropertyType >
typedef testing::internal::PropertyMatcher< Class, PropertyType >::GTEST_REFERENCE_TO_CONST_ ( PropertyType  )
template<typename Class , typename PropertyType >
template<typename T >
bool testing::internal::PropertyMatcher< Class, PropertyType >::MatchAndExplain ( const T value,
MatchResultListener listener 
) const
inline

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

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

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

+ Here is the call graph for this function:

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

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

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

References testing::internal::posix::Abort(), testing::internal::PropertyMatcher< Class, PropertyType >::matcher_, testing::internal::MatchPrintAndExplain(), and testing::internal::PropertyMatcher< Class, PropertyType >::property_.

Referenced by testing::internal::PropertyMatcher< Class, PropertyType >::MatchAndExplain(), and testing::internal::PropertyMatcher< Class, PropertyType >::MatchAndExplainImpl().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

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

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

References testing::internal::PropertyMatcher< Class, PropertyType >::MatchAndExplainImpl().

+ Here is the call graph for this function:

Member Data Documentation

template<typename Class , typename PropertyType >
const Matcher<RefToConstProperty> testing::internal::PropertyMatcher< Class, PropertyType >::matcher_
private
template<typename Class , typename PropertyType >
PropertyType(Class::* testing::internal::PropertyMatcher< Class, PropertyType >::property_)() const
private

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

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

Referenced by testing::internal::PropertyMatcher< Class, PropertyType >::MatchAndExplainImpl().


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