Electroneum
testing::StringMatchResultListener Class Reference

#include <gmock-matchers.h>

Inheritance diagram for testing::StringMatchResultListener:
Collaboration diagram for testing::StringMatchResultListener:

Public Member Functions

 StringMatchResultListener ()
 
internal::string str () const
 
void Clear ()
 
- Public Member Functions inherited from testing::MatchResultListener
 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 184 of file gmock-matchers.h.

Constructor & Destructor Documentation

◆ StringMatchResultListener()

testing::StringMatchResultListener::StringMatchResultListener ( )
inline

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

186 : MatchResultListener(&ss_) {}
MatchResultListener(::std::ostream *os)

Member Function Documentation

◆ Clear()

void testing::StringMatchResultListener::Clear ( )
inline

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

192 { ss_.str(""); }

◆ str()

internal::string testing::StringMatchResultListener::str ( ) const
inline

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

189 { return ss_.str(); }
Here is the caller graph for this function:

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