proxygen
testing::internal::UniversalTersePrinter< const char * > Class Template Reference

#include <gtest-printers.h>

Static Public Member Functions

static void Print (const char *str,::std::ostream *os)
 
static void Print (const char *str,::std::ostream *os)
 
static void Print (const char *str,::std::ostream *os)
 

Detailed Description

template<>
class testing::internal::UniversalTersePrinter< const char * >

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

Member Function Documentation

static void testing::internal::UniversalTersePrinter< const char * >::Print ( const char *  str,
::std::ostream *  os 
)
inlinestatic

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

References testing::internal::UniversalPrint().

804  {
805  if (str == NULL) {
806  *os << "NULL";
807  } else {
808  UniversalPrint(string(str), os);
809  }
810  }
void UniversalPrint(const T &value,::std::ostream *os)
static void testing::internal::UniversalTersePrinter< const char * >::Print ( const char *  str,
::std::ostream *  os 
)
inlinestatic

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

References testing::internal::UniversalPrint().

804  {
805  if (str == NULL) {
806  *os << "NULL";
807  } else {
808  UniversalPrint(string(str), os);
809  }
810  }
void UniversalPrint(const T &value,::std::ostream *os)
static void testing::internal::UniversalTersePrinter< const char * >::Print ( const char *  str,
::std::ostream *  os 
)
inlinestatic

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

References testing::internal::UniversalPrint().

804  {
805  if (str == NULL) {
806  *os << "NULL";
807  } else {
808  UniversalPrint(string(str), os);
809  }
810  }
void UniversalPrint(const T &value,::std::ostream *os)

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