46 #ifndef GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_ 47 #define GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_ 86 typedef std::ostream& (*BasicNarrowIoManip)(std::ostream&);
97 *ss_ << std::setprecision(std::numeric_limits<double>::digits10 + 2);
106 explicit Message(
const char* str) : ss_(new ::
std::stringstream) {
112 template <
typename T>
119 template <
typename T>
138 template <
typename T>
140 if (pointer == NULL) {
147 #endif // GTEST_OS_SYMBIAN 162 return *
this << (b ?
"true" :
"false");
174 #if GTEST_HAS_STD_WSTRING 178 #endif // GTEST_HAS_STD_WSTRING 180 #if GTEST_HAS_GLOBAL_WSTRING 184 #endif // GTEST_HAS_GLOBAL_WSTRING 201 template <
typename T>
203 if (pointer == NULL) {
209 template <
typename T>
213 #endif // GTEST_OS_SYMBIAN 220 void operator=(
const Message&);
230 #endif // GTEST_INCLUDE_GTEST_GTEST_MESSAGE_H_ Definition: gmock-actions.h:49
const internal::scoped_ptr< ::std::stringstream > ss_
Definition: gtest-message.h:216
GTEST_API_ String StringStreamToString(::std::stringstream *stream)
Definition: gtest.cc:1735
::std::wstring wstring
Definition: gtest-port.h:762
#define GTEST_API_
Definition: gtest-port.h:662
std::ostream & operator<<(std::ostream &os, const Message &sb)
Definition: gtest-message.h:224
internal::String GetString() const
Definition: gtest-message.h:190
static String ShowWideCString(const wchar_t *wide_c_str)
Definition: gtest.cc:1530
Definition: gtest-string.h:81
Message(const char *str)
Definition: gtest-message.h:106
Definition: InputPrereqs.h:78
Message()
Definition: gtest-message.h:94
Definition: gtest-port.h:1463
Message(const Message &msg)
Definition: gtest-message.h:101
Definition: gtest-message.h:82
void GTestStreamToHelper(std::ostream *os, const T &val)
Definition: gtest-internal.h:96