Electroneum
testing::MatchResultListener Class Referenceabstract

#include <gmock-matchers.h>

Inheritance diagram for testing::MatchResultListener:

Public Member Functions

 MatchResultListener (::std::ostream *os)
 
virtual ~MatchResultListener ()=0
 
template<typename T >
MatchResultListeneroperator<< (const T &x)
 
::std::ostream * stream ()
 
bool IsInterested () const
 

Detailed Description

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

Constructor & Destructor Documentation

◆ MatchResultListener()

testing::MatchResultListener::MatchResultListener ( ::std::ostream *  os)
inlineexplicit

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

85 : stream_(os) {}

◆ ~MatchResultListener()

testing::MatchResultListener::~MatchResultListener ( )
inlinepure virtual

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

112  {
113 }

Member Function Documentation

◆ IsInterested()

bool testing::MatchResultListener::IsInterested ( ) const
inline

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

104 { return stream_ != NULL; }
Here is the caller graph for this function:

◆ operator<<()

template<typename T >
MatchResultListener& testing::MatchResultListener::operator<< ( const T x)
inline

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

91  {
92  if (stream_ != NULL)
93  *stream_ << x;
94  return *this;
95  }

◆ stream()

::std::ostream* testing::MatchResultListener::stream ( void  )
inline

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

98 { return stream_; }
Here is the caller graph for this function:

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