#include <myahrs_plus.hpp>
|
static int | extract_attributes (std::map< std::string, std::string > &attribute_list, std::vector< std::string > &tokens) |
|
static std::string | join (std::vector< std::string > &str_list, const std::string &delimiter) |
|
static std::string & | ltrim (std::string &s) |
|
static void | replace (std::string &src, std::string s1, std::string s2) |
|
static std::string & | rtrim (std::string &s) |
|
static int | split (std::vector< std::string > &token_list, const char *c_str, char delimiter, int token_max=-1) |
|
static std::string & | strip (std::string &s) |
|
template<typename T > |
static void | to_string_list (std::vector< std::string > &str_list, T *array, size_t array_num) |
|
Definition at line 610 of file myahrs_plus.hpp.
static int WithRobot::StringUtil::extract_attributes |
( |
std::map< std::string, std::string > & |
attribute_list, |
|
|
std::vector< std::string > & |
tokens |
|
) |
| |
|
inlinestatic |
static std::string WithRobot::StringUtil::join |
( |
std::vector< std::string > & |
str_list, |
|
|
const std::string & |
delimiter |
|
) |
| |
|
inlinestatic |
static std::string& WithRobot::StringUtil::ltrim |
( |
std::string & |
s | ) |
|
|
inlinestatic |
static void WithRobot::StringUtil::replace |
( |
std::string & |
src, |
|
|
std::string |
s1, |
|
|
std::string |
s2 |
|
) |
| |
|
inlinestatic |
static std::string& WithRobot::StringUtil::rtrim |
( |
std::string & |
s | ) |
|
|
inlinestatic |
static int WithRobot::StringUtil::split |
( |
std::vector< std::string > & |
token_list, |
|
|
const char * |
c_str, |
|
|
char |
delimiter, |
|
|
int |
token_max = -1 |
|
) |
| |
|
inlinestatic |
static std::string& WithRobot::StringUtil::strip |
( |
std::string & |
s | ) |
|
|
inlinestatic |
template<typename T >
static void WithRobot::StringUtil::to_string_list |
( |
std::vector< std::string > & |
str_list, |
|
|
T * |
array, |
|
|
size_t |
array_num |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: