#include <stringhelper.h>
|
static std::string | trimStart (std::string source, const std::string &trimChars=" \t\n\r\v\f") |
|
static std::string | trimEnd (std::string source, const std::string &trimChars=" \t\n\r\v\f") |
|
static std::string | trim (const std::string &source, const std::string &trimChars=" \t\n\r\v\f") |
|
static std::string | replace (std::string source, const std::string &find, const std::string &replace) |
|
static bool | startsWith (const std::string &source, const std::string &value) |
|
static bool | endsWith (const std::string &source, const std::string &value) |
|
static std::vector< std::string > | split (const std::string &source, char delimiter) |
|
template<typename T > |
static std::string | toString (const T &subject) |
|
static std::string | uint8ToHexString (const uint8_t v) |
|
static std::string | uint8ToHexString (const uint8_t *v, const int s) |
|
static std::string | uint16ToHexString (const uint16_t v) |
|
static std::string | uint24ToHexString (const uint32_t v) |
|
static std::string | uint32ToHexString (const uint32_t v) |
|
◆ endsWith()
static bool keyple::common::StringHelper::endsWith |
( |
const std::string & |
source, |
|
|
const std::string & |
value |
|
) |
| |
|
inlinestatic |
◆ replace()
static std::string keyple::common::StringHelper::replace |
( |
std::string |
source, |
|
|
const std::string & |
find, |
|
|
const std::string & |
replace |
|
) |
| |
|
inlinestatic |
◆ split()
static std::vector<std::string> keyple::common::StringHelper::split |
( |
const std::string & |
source, |
|
|
char |
delimiter |
|
) |
| |
|
inlinestatic |
◆ startsWith()
static bool keyple::common::StringHelper::startsWith |
( |
const std::string & |
source, |
|
|
const std::string & |
value |
|
) |
| |
|
inlinestatic |
◆ toString()
template<typename T >
static std::string keyple::common::StringHelper::toString |
( |
const T & |
subject | ) |
|
|
inlinestatic |
◆ trim()
static std::string keyple::common::StringHelper::trim |
( |
const std::string & |
source, |
|
|
const std::string & |
trimChars = " \t\n\r\v\f" |
|
) |
| |
|
inlinestatic |
◆ trimEnd()
static std::string keyple::common::StringHelper::trimEnd |
( |
std::string |
source, |
|
|
const std::string & |
trimChars = " \t\n\r\v\f" |
|
) |
| |
|
inlinestatic |
◆ trimStart()
static std::string keyple::common::StringHelper::trimStart |
( |
std::string |
source, |
|
|
const std::string & |
trimChars = " \t\n\r\v\f" |
|
) |
| |
|
inlinestatic |
◆ uint16ToHexString()
static std::string keyple::common::StringHelper::uint16ToHexString |
( |
const uint16_t |
v | ) |
|
|
inlinestatic |
◆ uint24ToHexString()
static std::string keyple::common::StringHelper::uint24ToHexString |
( |
const uint32_t |
v | ) |
|
|
inlinestatic |
◆ uint32ToHexString()
static std::string keyple::common::StringHelper::uint32ToHexString |
( |
const uint32_t |
v | ) |
|
|
inlinestatic |
◆ uint8ToHexString() [1/2]
static std::string keyple::common::StringHelper::uint8ToHexString |
( |
const uint8_t * |
v, |
|
|
const int |
s |
|
) |
| |
|
inlinestatic |
◆ uint8ToHexString() [2/2]
static std::string keyple::common::StringHelper::uint8ToHexString |
( |
const uint8_t |
v | ) |
|
|
inlinestatic |
The documentation for this class was generated from the following file: