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

#include <gtest-message.h>

Public Member Functions

std::string GetString () const
 
 Message ()
 
 Message (const char *str)
 
 Message (const Message &msg)
 
Messageoperator<< (BasicNarrowIoManip val)
 
Messageoperator<< (bool b)
 
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 85 of file gtest-message.h.

Member Typedef Documentation

◆ BasicNarrowIoManip

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

Definition at line 89 of file gtest-message.h.

Constructor & Destructor Documentation

◆ Message() [1/3]

testing::Message::Message ( )

Definition at line 914 of file gtest.cc.

◆ Message() [2/3]

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

Definition at line 96 of file gtest-message.h.

◆ Message() [3/3]

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

Definition at line 101 of file gtest-message.h.

Member Function Documentation

◆ GetString()

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

Definition at line 949 of file gtest.cc.

◆ operator<<() [1/6]

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

Definition at line 165 of file gtest-message.h.

◆ operator<<() [2/6]

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

Definition at line 171 of file gtest-message.h.

◆ operator<<() [3/6]

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

Definition at line 115 of file gtest-message.h.

◆ operator<<() [4/6]

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

Definition at line 922 of file gtest.cc.

◆ operator<<() [5/6]

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

Definition at line 149 of file gtest-message.h.

◆ operator<<() [6/6]

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

Definition at line 925 of file gtest.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 224 of file gtest-message.h.


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


fcl
Author(s):
autogenerated on Fri Jun 11 2021 02:38:06