Wire Sysio Wire Sysion 1.0.0
Loading...
Searching...
No Matches
testing::StringMatchResultListener Class Reference

#include <gmock-matchers.h>

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

Public Member Functions

 StringMatchResultListener ()
 
std::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 212 of file gmock-matchers.h.

Constructor & Destructor Documentation

◆ StringMatchResultListener()

testing::StringMatchResultListener::StringMatchResultListener ( )
inline

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

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

Member Function Documentation

◆ Clear()

void testing::StringMatchResultListener::Clear ( )
inline

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

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

◆ str()

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

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

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

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