My Project
Loading...
Searching...
No Matches
Public Member Functions
CxxTest::ValueTraits< const CXXTEST_STD(string)> Class Reference

#include <StdValueTraits.h>

Public Member Functions

 ValueTraits (const CXXTEST_STD(string) &s)
 
- Public Member Functions inherited from CxxTest::StdTraitsBase
StdTraitsBaseoperator<< (const CXXTEST_STD(string) &s)
 
const char * asString () const
 

Detailed Description

Definition at line 47 of file StdValueTraits.h.

Constructor & Destructor Documentation

◆ ValueTraits()

Definition at line 50 of file StdValueTraits.h.

51 {
52 *this << "\"";
53 for ( unsigned i = 0; i < s.length(); ++ i ) {
54 char c[sizeof("\\xXX")];
55 charToString( s[i], c );
56 *this << c;
57 }
58 *this << "\"";
59 }
int i
Definition: cfEzgcd.cc:132
char * charToString(unsigned long c, char *s)
Definition: ValueTraits.cpp:48
char * s
Definition: ValueTraits.h:143

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