Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Private Member Functions | Private Attributes | List of all members
testing::internal::FieldMatcher< Class, FieldType > Class Template Reference

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/external/gmock/include/gmock/gmock-matchers.h>

Public Member Functions

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

Private Member Functions

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

Private Attributes

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

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename Class , typename FieldType >
void testing::internal::FieldMatcher< Class, FieldType >::DescribeNegationTo ( ::std::ostream *  os) const
inline
template<typename Class , typename FieldType >
void testing::internal::FieldMatcher< Class, FieldType >::DescribeTo ( ::std::ostream *  os) const
inline
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
template<typename Class , typename FieldType >
bool testing::internal::FieldMatcher< Class, FieldType >::MatchAndExplainImpl ( false_type  ,
const Class obj,
MatchResultListener listener 
) const
inlineprivate
template<typename Class , typename FieldType >
bool testing::internal::FieldMatcher< Class, FieldType >::MatchAndExplainImpl ( true_type  ,
const Class p,
MatchResultListener listener 
) const
inlineprivate

Member Data Documentation

template<typename Class , typename FieldType >
const FieldType Class::* testing::internal::FieldMatcher< Class, FieldType >::field_
private
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: