18#ifndef _LOG4CXX_HELPERS_STRING_HELPER_H
19#define _LOG4CXX_HELPERS_STRING_HELPER_H
29#if LOG4CXX_ABI_VERSION <= 15
56#if LOG4CXX_ABI_VERSION <= 15
58 [[ deprecated(
"Pool is no longer required" ) ]]
61 [[ deprecated(
"Pool is no longer required" ) ]]
64 [[ deprecated(
"Pool is no longer required" ) ]]
String manipulation routines.
Definition stringhelper.h:36
static int64_t toInt64(const LogString &s)
The numeric value at the start of s.
static int toInt(const LogString &s)
The numeric value at the start of s.
static void toString(int i, LogString &dst)
Append a textual version of i to dst.
static void toString(size_t i, Pool &pool, LogString &dst)
static LogString toLowerCase(const LogString &s)
A copy of s with any character in [A-Z] replaced by the corresponding character in [a-z].
static bool equalsIgnoreCase(const LogString &s, const logchar *upper, const logchar *lower)
Is each character in s identical to the character at the corresponding position in either upper or lo...
static void toString(int64_t i, Pool &pool, LogString &dst)
static bool endsWith(const LogString &s, const LogString &suffix)
Does s end with the characters of suffix?
static void toString(size_t i, LogString &dst)
Append a textual version of i to dst.
static LogString trim(const LogString &s)
A copy of s without any leading or trailing space characters.
static void toString(bool val, LogString &dst)
Using val, append either "true" or "false" to dst.
static bool startsWith(const LogString &s, const LogString &prefix)
Does s begin with the characters of prefix?
static void toString(int64_t i, LogString &dst)
Append a textual version of i to dst.
static bool equalsIgnoreCase(const LogString &s, const LogString &upper, const LogString &lower)
Is each character in s identical to the character at the corresponding position in either upper or lo...
static void toString(int i, Pool &pool, LogString &dst)
static LogString format(const LogString &pattern, const std::vector< LogString > ¶ms)
A copy of pattern with any 3-character '{', [0-9], '}', substring replaced by the corresponding value...
Definition cacheddateformat.h:26
std::basic_string< logchar > LogString
Definition logstring.h:60