Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
testing::Message Class Reference

#include <gtest.h>

Public Member Functions

std::string GetString () const
 
 Message ()
 
 Message (const Message &msg)
 
 Message (const char *str)
 
template<typename T >
Messageoperator<< (const T &val)
 
template<typename T >
Messageoperator<< (T *const &pointer)
 
Messageoperator<< (BasicNarrowIoManip val)
 
Messageoperator<< (bool b)
 
Messageoperator<< (const wchar_t *wide_c_str)
 
Messageoperator<< (wchar_t *wide_c_str)
 
Messageoperator<< (const ::std::wstring &wstr)
 

Private Types

typedef std::ostream &(* BasicNarrowIoManip) (std::ostream &)
 

Private Member Functions

void operator= (const Message &)
 

Private Attributes

const internal::scoped_ptr< ::std::stringstream > ss_
 

Detailed Description

Definition at line 3157 of file gtest.h.

Member Typedef Documentation

typedef std::ostream&(* testing::Message::BasicNarrowIoManip) (std::ostream &)
private

Definition at line 3161 of file gtest.h.

Constructor & Destructor Documentation

testing::Message::Message ( )

Definition at line 2395 of file gtest-all.cc.

testing::Message::Message ( const Message msg)
inline

Definition at line 3168 of file gtest.h.

testing::Message::Message ( const char *  str)
inlineexplicit

Definition at line 3173 of file gtest.h.

Member Function Documentation

std::string testing::Message::GetString ( ) const

Definition at line 2430 of file gtest-all.cc.

template<typename T >
Message& testing::Message::operator<< ( const T &  val)
inline

Definition at line 3187 of file gtest.h.

template<typename T >
Message& testing::Message::operator<< ( T *const &  pointer)
inline

Definition at line 3221 of file gtest.h.

Message& testing::Message::operator<< ( BasicNarrowIoManip  val)
inline

Definition at line 3237 of file gtest.h.

Message& testing::Message::operator<< ( bool  b)
inline

Definition at line 3243 of file gtest.h.

Message & testing::Message::operator<< ( const wchar_t *  wide_c_str)

Definition at line 2403 of file gtest-all.cc.

Message & testing::Message::operator<< ( wchar_t *  wide_c_str)

Definition at line 2406 of file gtest-all.cc.

Message& testing::Message::operator<< ( const ::std::wstring &  wstr)
void testing::Message::operator= ( const Message )
private

Member Data Documentation

const internal::scoped_ptr< ::std::stringstream> testing::Message::ss_
private

Definition at line 3296 of file gtest.h.


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


self_test
Author(s): Kevin Watts, Brice Rebsamen , Jeremy Leibs and Blaise Gassend
autogenerated on Thu Oct 8 2020 03:21:45