Apache Log4cxx Version 1.0.0
Loading...
Searching...
No Matches
log4cxx::helpers::StringHelper Class Reference

String manipulation routines. More...

#include <stringhelper.h>

Static Public Member Functions

static LogString trim (const LogString &s)
 
static bool startsWith (const LogString &s, const LogString &suffix)
 
static bool endsWith (const LogString &s, const LogString &suffix)
 
static bool equalsIgnoreCase (const LogString &s1, const logchar *upper, const logchar *lower)
 
static bool equalsIgnoreCase (const LogString &s1, const LogString &upper, const LogString &lower)
 
static int toInt (const LogString &s)
 
static int64_t toInt64 (const LogString &s)
 
static void toString (int i, log4cxx::helpers::Pool &pool, LogString &dst)
 
static void toString (int64_t i, log4cxx::helpers::Pool &pool, LogString &dst)
 
static void toString (size_t i, log4cxx::helpers::Pool &pool, LogString &dst)
 
static void toString (bool val, LogString &dst)
 
static LogString toLowerCase (const LogString &s)
 
static LogString format (const LogString &pattern, const std::vector< LogString > &params)
 

Detailed Description

String manipulation routines.

Member Function Documentation

◆ endsWith()

static bool log4cxx::helpers::StringHelper::endsWith ( const LogString s,
const LogString suffix 
)
static

◆ equalsIgnoreCase() [1/2]

static bool log4cxx::helpers::StringHelper::equalsIgnoreCase ( const LogString s1,
const logchar *  upper,
const logchar *  lower 
)
static

◆ equalsIgnoreCase() [2/2]

static bool log4cxx::helpers::StringHelper::equalsIgnoreCase ( const LogString s1,
const LogString upper,
const LogString lower 
)
static

◆ format()

static LogString log4cxx::helpers::StringHelper::format ( const LogString pattern,
const std::vector< LogString > &  params 
)
static

◆ startsWith()

static bool log4cxx::helpers::StringHelper::startsWith ( const LogString s,
const LogString suffix 
)
static

◆ toInt()

static int log4cxx::helpers::StringHelper::toInt ( const LogString s)
static

◆ toInt64()

static int64_t log4cxx::helpers::StringHelper::toInt64 ( const LogString s)
static

◆ toLowerCase()

static LogString log4cxx::helpers::StringHelper::toLowerCase ( const LogString s)
static

◆ toString() [1/4]

static void log4cxx::helpers::StringHelper::toString ( bool  val,
LogString dst 
)
static

◆ toString() [2/4]

static void log4cxx::helpers::StringHelper::toString ( int  i,
log4cxx::helpers::Pool pool,
LogString dst 
)
static

◆ toString() [3/4]

static void log4cxx::helpers::StringHelper::toString ( int64_t  i,
log4cxx::helpers::Pool pool,
LogString dst 
)
static

◆ toString() [4/4]

static void log4cxx::helpers::StringHelper::toString ( size_t  i,
log4cxx::helpers::Pool pool,
LogString dst 
)
static

◆ trim()

static LogString log4cxx::helpers::StringHelper::trim ( const LogString s)
static

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