My Project
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
CxxTest::ValueTraits< const char > Class Reference

#include <ValueTraits.h>

Public Member Functions

 ValueTraits (char c)
 
const char * asString (void) const
 

Private Attributes

char _asString [sizeof("'\\xXX'")]
 

Detailed Description

Definition at line 289 of file ValueTraits.h.

Constructor & Destructor Documentation

◆ ValueTraits()

CxxTest::ValueTraits< const char >::ValueTraits ( char  c)
inline

Definition at line 293 of file ValueTraits.h.

293{ copyString( charToString( c, copyString( _asString, "'" ) ), "'" ); }
char _asString[sizeof("'\\xXX'")]
Definition: ValueTraits.h:291
char * copyString(char *dst, const char *src)
Definition: ValueTraits.cpp:30
char * charToString(unsigned long c, char *s)
Definition: ValueTraits.cpp:48

Member Function Documentation

◆ asString()

const char * CxxTest::ValueTraits< const char >::asString ( void  ) const
inline

Definition at line 294 of file ValueTraits.h.

294{ return _asString; }

Field Documentation

◆ _asString

char CxxTest::ValueTraits< const char >::_asString[sizeof("'\\xXX'")]
private

Definition at line 291 of file ValueTraits.h.


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