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

#include <gtest.h>

Public Member Functions

 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)
 
std::string GetString () const
 

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.

References ss_.

◆ Message() [2/3]

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

Definition at line 3168 of file gtest.h.

References GetString().

◆ 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

◆ 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.

References Chroma::b.

◆ 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.

References testing::internal::String::ShowWideCString().

◆ 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.

References testing::internal::String::ShowWideCString().

◆ 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.

Referenced by GetString(), and Message().


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