Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
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 79 of file gmock-matchers.h.

Constructor & Destructor Documentation

◆ MatchResultListener()

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

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

84: stream_(os) {}
os_t os

◆ ~MatchResultListener()

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

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

111 {
112}

Member Function Documentation

◆ IsInterested()

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

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

103{ 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 90 of file gmock-matchers.h.

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

◆ stream()

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

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

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

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