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 char *str)
 
 Message (const Message &msg)
 
Messageoperator<< (BasicNarrowIoManip val)
 
Messageoperator<< (bool b)
 
Messageoperator<< (const ::std::wstring &wstr)
 
template<typename T >
Messageoperator<< (const T &val)
 
Messageoperator<< (const wchar_t *wide_c_str)
 
template<typename T >
Messageoperator<< (T *const &pointer)
 
Messageoperator<< (wchar_t *wide_c_str)
 

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

◆ BasicNarrowIoManip

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

Definition at line 3161 of file gtest.h.

Constructor & Destructor Documentation

◆ Message() [1/3]

testing::Message::Message ( )

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

◆ Message() [2/3]

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

Definition at line 3168 of file gtest.h.

◆ Message() [3/3]

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

Definition at line 3173 of file gtest.h.

Member Function Documentation

◆ GetString()

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

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

◆ operator<<() [1/7]

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

Definition at line 3237 of file gtest.h.

◆ operator<<() [2/7]

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

Definition at line 3243 of file gtest.h.

◆ operator<<() [3/7]

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

◆ operator<<() [4/7]

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

Definition at line 3187 of file gtest.h.

◆ operator<<() [5/7]

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

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

◆ operator<<() [6/7]

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

Definition at line 3221 of file gtest.h.

◆ operator<<() [7/7]

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

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

◆ operator=()

void testing::Message::operator= ( const Message )
private

Member Data Documentation

◆ ss_

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:


diagnostic_aggregator
Author(s): Kevin Watts, Brice Rebsamen
autogenerated on Tue Nov 15 2022 03:17:13