46#ifndef GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_
47#define GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_
51#include "gtest/internal/gtest-port.h"
89 typedef std::ostream& (*BasicNarrowIoManip)(std::ostream&);
101 explicit Message(
const char* str) : ss_(new ::
std::stringstream) {
107 template <
typename T>
114 template <
typename T>
148 template <
typename T>
150 if (pointer == NULL) {
172 return *
this << (b ?
"true" :
"false");
180#if GTEST_HAS_STD_WSTRING
186#if GTEST_HAS_GLOBAL_WSTRING
205 template <
typename T>
207 if (pointer == NULL) {
213 template <
typename T>
214 inline void StreamHelper(internal::false_type ,
224 const internal::scoped_ptr< ::std::stringstream> ss_;
228 void operator=(
const Message&);
233 return os << sb.GetString();
244 return (Message() << streamable).GetString();
Definition dsd/test/gtest/include/gtest/gtest-message.h:85
std::string GetString() const
Message(const char *str)
Definition mbelib/test/gtest/include/gtest/gtest-message.h:101
Message(const Message &msg)
Definition mbelib/test/gtest/include/gtest/gtest-message.h:96
void operator<<(const testing::internal::Secret &, int)
#define GTEST_API_
Definition dsd/test/gtest/include/gtest/internal/gtest-port.h:768
void operator<<(const testing::internal::Secret &, int)
Definition dsd/test/gmock/include/gmock/gmock-actions.h:60
bool_constant< true > true_type
Definition dsd/test/gtest/include/gtest/internal/gtest-port.h:1618
std::string StreamableToString(const T &streamable)
Definition dsd/test/gtest/include/gtest/gtest-message.h:243
Definition dsd/test/gmock/include/gmock/gmock-actions.h:49
std::ostream & operator<<(std::ostream &os, const Message &sb)
Definition dsd/test/gtest/include/gtest/gtest-message.h:232
bool_constant< bool_value > type
Definition mbelib/test/gtest/include/gtest/internal/gtest-port.h:1612