Go to the source code of this file.
Namespaces | |
namespace | l4snd |
Defines | |
#define | LOG4SENDPP_NEED_EXPORTS |
internal | |
Functions | |
template<typename T, typename uT> | |
std::string | l4snd::number_stpl (T n, unsigned base) |
Transform a signed scalar number into a string. | |
std::string | l4snd::number (long n, unsigned base=10) |
Converts a long value into its string representation. | |
std::string | l4snd::number (long long n, unsigned base=10) |
Converts a longlong value into its string representation. | |
template<typename T> | |
std::string | l4snd::number_utpl (T n, unsigned base) |
Transform an unsigned scalar number into a string. | |
std::string | l4snd::number (unsigned long n, unsigned base=10) |
Converts an unsigned long value into its string representation. | |
std::string | l4snd::number (unsigned long long n, unsigned base=10) |
Converts an unsigned long value into its string representation. | |
std::string | l4snd::number (double n, unsigned prec=0) |
Converts an double value into its string representation. | |
static bool | l4snd::findArg (std::string &fmt, int &pos, int &len) |
Helper function. | |
std::string & | l4snd::replaceFormatterString (std::string &formatter, const std::string &repdata) |
Replace a positional -parameter with a value. | |
static std::string | l4snd::charToReadable (unsigned x) |
Transform a character into a human readable string. | |
std::string & | operator<< (std::string &formatter, const int &repdata) |
Replace a positional -parameter with a value. | |
std::string & | operator<< (std::string &formatter, const bool &repdata) |
Replace a positional -parameter with a value. | |
std::string & | operator<< (std::string &formatter, const unsigned int &repdata) |
Replace a positional -parameter with a value. | |
std::string & | operator<< (std::string &formatter, const unsigned long &repdata) |
Replace a positional -parameter with a value. | |
std::string & | operator<< (std::string &formatter, const signed char &repdata) |
Replace a positional -parameter with a value. | |
std::string & | operator<< (std::string &formatter, const char &repdata) |
Replace a positional -parameter with a value. | |
std::string & | operator<< (std::string &formatter, const unsigned char &repdata) |
Replace a positional -parameter with a value. | |
std::string & | operator<< (std::string &formatter, const char *repdata) |
Replace a positional -parameter with a value. | |
std::string & | operator<< (std::string &formatter, const float &repdata) |
Replace a positional -parameter with a value. | |
std::string & | operator<< (std::string &formatter, const long &repdata) |
Replace a positional -parameter with a value. | |
std::string & | operator<< (std::string &formatter, const double &repdata) |
Replace a positional -parameter with a value. | |
std::string & | operator<< (std::string &formatter, const std::string &repdata) |
Replace a positional -parameter with a value. |
Definition in file arguments.cpp.
std ::string& operator<< | ( | std::string & | formatter, | |
const std::string & | repdata | |||
) |
Replace a positional -parameter with a value.
Replaces the lowest -parameter with the string representation of the data. "hello %1" << "world" gives "hello world"
formatter | target string with position parameter | |
repdata | value to replace |
Definition at line 415 of file arguments.cpp.
std ::string& operator<< | ( | std::string & | formatter, | |
const double & | repdata | |||
) |
Replace a positional -parameter with a value.
Replaces the lowest -parameter with the string representation of the data. L"hello 1" << L"world" gives L"hello world"
formatter | target string with position parameter | |
repdata | value to replace |
formatter | target string with position parameter | |
repdata | value to replace |
Definition at line 389 of file arguments.cpp.
std ::string& operator<< | ( | std::string & | formatter, | |
const long & | repdata | |||
) |
Replace a positional -parameter with a value.
Replaces the lowest -parameter with the string representation of the data. "hello %1" << 9 gives "hello 9"
formatter | target string with position parameter | |
repdata | value to replace |
Definition at line 382 of file arguments.cpp.
std ::string& operator<< | ( | std::string & | formatter, | |
const float & | repdata | |||
) |
Replace a positional -parameter with a value.
Replaces the lowest -parameter with the string representation of the data. "hello %1" << 1.234 gives "hello 1.234"
formatter | target string with position parameter | |
repdata | value to replace |
Definition at line 357 of file arguments.cpp.
std ::string& operator<< | ( | std::string & | formatter, | |
const char * | repdata | |||
) |
Replace a positional -parameter with a value.
Replaces the lowest -parameter with the string representation of the data. "hello %1" << 'A' gives "hello A"
formatter | target string with position parameter | |
repdata | value to replace |
Definition at line 350 of file arguments.cpp.
std ::string& operator<< | ( | std::string & | formatter, | |
const unsigned char & | repdata | |||
) |
Replace a positional -parameter with a value.
Replaces the lowest -parameter with the string representation of the data. "hello %1" << 'A' gives "hello A"
formatter | target string with position parameter | |
repdata | value to replace |
Definition at line 343 of file arguments.cpp.
std ::string& operator<< | ( | std::string & | formatter, | |
const char & | repdata | |||
) |
Replace a positional -parameter with a value.
Replaces the lowest -parameter with the string representation of the data. "hello %1" << 'A' gives "hello A"
formatter | target string with position parameter | |
repdata | value to replace |
Definition at line 336 of file arguments.cpp.
std ::string& operator<< | ( | std::string & | formatter, | |
const signed char & | repdata | |||
) |
Replace a positional -parameter with a value.
Replaces the lowest -parameter with the string representation of the data. "hello %1" << 'A' gives "hello A"
formatter | target string with position parameter | |
repdata | value to replace |
Definition at line 329 of file arguments.cpp.
std ::string& operator<< | ( | std::string & | formatter, | |
const unsigned long & | repdata | |||
) |
Replace a positional -parameter with a value.
Replaces the lowest -parameter with the string representation of the data. "hello %1" << 9 gives "hello 9"
formatter | target string with position parameter | |
repdata | value to replace |
Definition at line 322 of file arguments.cpp.
std ::string& operator<< | ( | std::string & | formatter, | |
const unsigned int & | repdata | |||
) |
Replace a positional -parameter with a value.
Replaces the lowest -parameter with the string representation of the data. "hello %1" << 9 gives "hello 9"
formatter | target string with position parameter | |
repdata | value to replace |
Definition at line 315 of file arguments.cpp.
std ::string& operator<< | ( | std::string & | formatter, | |
const bool & | repdata | |||
) |
Replace a positional -parameter with a value.
Replaces the lowest -parameter with the string representation of the data. "hello %1" << true gives "hello 1"
formatter | target string with position parameter | |
repdata | value to replace |
Definition at line 307 of file arguments.cpp.
std ::string& operator<< | ( | std::string & | formatter, | |
const int & | repdata | |||
) |
Replace a positional -parameter with a value.
Replaces the lowest -parameter with the string representation of the data. "hello %1" << 9 gives "hello 9"
formatter | target string with position parameter | |
repdata | value to replace |
Definition at line 300 of file arguments.cpp.