Electroneum
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)
 

Detailed Description

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

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

Member Function Documentation

◆ Print() [1/2]

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

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

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)
Here is the call graph for this function:

◆ Print() [2/2]

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

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

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)
Here is the call graph for this function:

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