proxygen
testing::internal2::TypeWithoutFormatter< T, kTypeKind > Class Template Reference

#include <gtest-printers.h>

Static Public Member Functions

static void PrintValue (const T &value,::std::ostream *os)
 
static void PrintValue (const T &value,::std::ostream *os)
 
static void PrintValue (const T &value,::std::ostream *os)
 

Detailed Description

template<typename T, TypeKind kTypeKind>
class testing::internal2::TypeWithoutFormatter< T, kTypeKind >

Definition at line 136 of file gtest-printers.h.

Member Function Documentation

template<typename T , TypeKind kTypeKind>
static void testing::internal2::TypeWithoutFormatter< T, kTypeKind >::PrintValue ( const T value,
::std::ostream *  os 
)
inlinestatic

Definition at line 139 of file gtest-printers.h.

References testing::internal2::PrintBytesInObjectTo().

Referenced by testing::internal2::operator<<(), and testing::internal2::TypeWithoutFormatter< T, kConvertibleToInteger >::PrintValue().

139  {
140  PrintBytesInObjectTo(reinterpret_cast<const unsigned char*>(&value),
141  sizeof(value), os);
142  }
GTEST_API_ void PrintBytesInObjectTo(const unsigned char *obj_bytes, size_t count,::std::ostream *os)
static const char *const value
Definition: Conv.cpp:50
template<typename T , TypeKind kTypeKind>
static void testing::internal2::TypeWithoutFormatter< T, kTypeKind >::PrintValue ( const T value,
::std::ostream *  os 
)
inlinestatic

Definition at line 139 of file gtest-printers.h.

References testing::internal2::kProtobufOneLinerMaxLength, and testing::internal2::PrintBytesInObjectTo().

139  {
140  PrintBytesInObjectTo(reinterpret_cast<const unsigned char*>(&value),
141  sizeof(value), os);
142  }
GTEST_API_ void PrintBytesInObjectTo(const unsigned char *obj_bytes, size_t count,::std::ostream *os)
static const char *const value
Definition: Conv.cpp:50
template<typename T , TypeKind kTypeKind>
static void testing::internal2::TypeWithoutFormatter< T, kTypeKind >::PrintValue ( const T value,
::std::ostream *  os 
)
inlinestatic

Definition at line 139 of file gtest-printers.h.

References testing::internal2::kProtobufOneLinerMaxLength, and testing::internal2::PrintBytesInObjectTo().

139  {
140  PrintBytesInObjectTo(reinterpret_cast<const unsigned char*>(&value),
141  sizeof(value), os);
142  }
GTEST_API_ void PrintBytesInObjectTo(const unsigned char *obj_bytes, size_t count,::std::ostream *os)
static const char *const value
Definition: Conv.cpp:50

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