CppUnit project page CppUnit home page

stringtools.h File Reference

#include <cpptl/conststring.h>
#include <float.h>
#include <stdio.h>

Include dependency graph for stringtools.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  CppTL

Classes

struct  CppTL::SignedPolicy< IntType >
struct  CppTL::UnsignedPolicy< IntType >

Functions

bool CppTL::isDigit (char c)
char CppTL::digit (unsigned number)
char CppTL::hexaDigit (unsigned number)
template<class IntType, class SignPolicy>
CppTL::ConstString CppTL::integerToString (IntType v, SignPolicy sign)
template<class UnsignedIntegerType>
CppTL::ConstString CppTL::integerToHexaString (UnsignedIntegerType value)
CppTL::ConstString CppTL::toString (char c)
CppTL::ConstString CppTL::toString (int v)
CppTL::ConstString CppTL::toString (unsigned int v)
CppTL::ConstString CppTL::toString (long v)
CppTL::ConstString CppTL::toString (unsigned long v)
CppTL::ConstString CppTL::toString (short v)
CppTL::ConstString CppTL::toString (unsigned short v)
CppTL::ConstString CppTL::toString (int64_t v)
CppTL::ConstString CppTL::toString (uint64_t v)
CppTL::ConstString CppTL::toString (float v)
CppTL::ConstString CppTL::toString (double v)
CppTL::ConstString CppTL::toString (long double v)
CppTL::ConstString CppTL::toString (bool v)
CppTL::ConstString CppTL::toHexaString (unsigned int v)
CppTL::ConstString CppTL::toHexaString (uint64_t v)
void CppTL::escapeControl (char c, CppTL::StringBuffer &escaped, const char *newLineEscape="\\n")
void CppTL::escape (char c, CppTL::StringBuffer &escaped, const char *newLineEscape="\\n")
void CppTL::escapeRange (const char *first, const char *last, CppTL::StringBuffer &escaped, const char *newLineEscape="\\n")
void CppTL::escape (const CppTL::ConstString &text, CppTL::StringBuffer &escaped, const char *newLineEscape="\\n")
CppTL::ConstString CppTL::quoteStringRange (const char *first, const char *last, const char *newLineEscape="\\n")
CppTL::ConstString CppTL::quoteString (const CppTL::ConstString &text, const char *newLineEscape="\\n")
CppTL::ConstString CppTL::quoteMultiLineStringRange (const char *first, const char *last)
CppTL::ConstString CppTL::quoteMultiLineString (const CppTL::ConstString &str)


SourceForge Logo hosts this site. Send comments to:
CppUnit Developers