46 #ifndef GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_
47 #define GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_
55 void operator<<(
const testing::internal::Secret&,
int);
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) {
157 #endif // GTEST_OS_SYMBIAN
172 return *
this << (b ?
"true" :
"false");
180 #if GTEST_HAS_STD_WSTRING
184 #endif // GTEST_HAS_STD_WSTRING
186 #if GTEST_HAS_GLOBAL_WSTRING
190 #endif // GTEST_HAS_GLOBAL_WSTRING
205 template <
typename T>
207 if (pointer == NULL) {
213 template <
typename T>
221 #endif // GTEST_OS_SYMBIAN
224 const internal::scoped_ptr< ::std::stringstream> ss_;
228 void operator=(
const Message&);
242 template <
typename T>
244 return (
Message() << streamable).GetString();
250 #endif // GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_
Definition: gtest-death-test.h:43
::std::string string
Definition: gtest-port.h:872
::std::wstring wstring
Definition: gtest-port.h:878
Definition: mpreal.h:3066
Message(const char *str)
Definition: gtest-message.h:101
#define GTEST_API_
Definition: gtest-port.h:768
std::ostream & operator<<(std::ostream &os, const Message &sb)
Definition: gtest-message.h:232
Message(const Message &msg)
Definition: gtest-message.h:96
Definition: gtest-message.h:85
std::string StreamableToString(const T &streamable)
Definition: gtest-message.h:243
bool_constant< false > false_type
Definition: gtest-port.h:1617
const T1 &f1 return GTEST_2_TUPLE_() T(f0, f1)
std::string GetString() const
Definition: gtest.cc:946
Definition: gtest-port.h:1611
void operator<<(const testing::internal::Secret &, int)
FLOAT b(int j, FLOAT z)
Definition: y1.cc:79