Formatter.cpp File Reference

support formatting of strings More...

Go to the source code of this file.

Namespaces

namespace  mockpp
 

Namespace for project "Mock Objects for C++".


Functions

mockpp::String mockpp::number (long n, unsigned base=10)
 Converts a long value into its string representation.
mockpp::String mockpp::number (long long n, unsigned base=10)
 Converts a longlong value into its string representation.
mockpp::String mockpp::number (unsigned long n, unsigned base=10)
 Converts an unsigned long value into its string representation.
mockpp::String mockpp::number (unsigned long long n, unsigned base=10)
 Converts an unsigned long value into its string representation.
mockpp::String mockpp::number (double n, unsigned prec=0)
 Converts an double value into its string representation.
mockpp::String mockpp::number (long double n, unsigned prec=0)
 Converts an long double value into its string representation.
static bool mockpp::findArg (mockpp::String &fmt, int &pos, int &len)
 Helper function.
String & mockpp::replaceFormatterString (String &formatter, const String &repdata)
 Replace a positional -parameter with a value.
static String mockpp::charToReadable (unsigned x)
 Transform a character into a human readable string.
mockpp::Stringoperator<< (mockpp::String &formatter, const int &repdata)
 Replace a positional -parameter with a value.
mockpp::Stringoperator<< (mockpp::String &formatter, const bool &repdata)
 Replace a positional -parameter with a value.
mockpp::Stringoperator<< (mockpp::String &formatter, const unsigned int &repdata)
 Replace a positional -parameter with a value.
mockpp::Stringoperator<< (mockpp::String &formatter, const unsigned long &repdata)
 Replace a positional -parameter with a value.
mockpp::Stringoperator<< (mockpp::String &formatter, const signed char &repdata)
 Replace a positional -parameter with a value.
mockpp::Stringoperator<< (mockpp::String &formatter, const char &repdata)
 Replace a positional -parameter with a value.
mockpp::Stringoperator<< (mockpp::String &formatter, const unsigned char &repdata)
 Replace a positional -parameter with a value.
mockpp::Stringoperator<< (mockpp::String &formatter, const char *repdata)
 Replace a positional -parameter with a value.
mockpp::Stringoperator<< (mockpp::String &formatter, const float &repdata)
 Replace a positional -parameter with a value.
mockpp::Stringoperator<< (mockpp::String &formatter, const wchar_t &repdata)
 Replace a positional -parameter with a value.
mockpp::Stringoperator<< (mockpp::String &formatter, const wchar_t *repdata)
 Replace a positional -parameter with a value.
mockpp::Stringoperator<< (mockpp::String &formatter, const long &repdata)
 Replace a positional -parameter with a value.
mockpp::Stringoperator<< (mockpp::String &formatter, const double &repdata)
 Replace a positional -parameter with a value.
mockpp::Stringoperator<< (mockpp::String &formatter, const long double &repdata)
 Replace a positional -parameter with a value.
mockpp::Stringoperator<< (mockpp::String &formatter, const std::string &str)
 Replace a positional -parameter with a value.
mockpp::Stringoperator<< (mockpp::String &formatter, const mockpp::String &repdata)
 Replace a positional -parameter with a value.

Detailed Description

support formatting of strings

Id
Formatter.cpp 1501 2010-01-03 18:04:32Z ewald-arnold

Definition in file Formatter.cpp.

 All Classes Namespaces Files Functions Variables Typedefs Friends Defines

Generated on Tue Jan 5 09:48:57 2010 for mockpp by  doxygen 1.6.1