Static Public Member Functions
WithRobot::StringUtil Class Reference

#include <myahrs_plus.hpp>

List of all members.

Static Public Member Functions

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)

Detailed Description

Definition at line 610 of file myahrs_plus.hpp.


Member Function Documentation

static int WithRobot::StringUtil::extract_attributes ( std::map< std::string, std::string > &  attribute_list,
std::vector< std::string > &  tokens 
) [inline, static]

Definition at line 682 of file myahrs_plus.hpp.

static std::string WithRobot::StringUtil::join ( std::vector< std::string > &  str_list,
const std::string &  delimiter 
) [inline, static]

Definition at line 662 of file myahrs_plus.hpp.

static std::string& WithRobot::StringUtil::ltrim ( std::string &  s) [inline, static]

Definition at line 627 of file myahrs_plus.hpp.

static void WithRobot::StringUtil::replace ( std::string &  src,
std::string  s1,
std::string  s2 
) [inline, static]

Definition at line 613 of file myahrs_plus.hpp.

static std::string& WithRobot::StringUtil::rtrim ( std::string &  s) [inline, static]

Definition at line 633 of file myahrs_plus.hpp.

static int WithRobot::StringUtil::split ( std::vector< std::string > &  token_list,
const char *  c_str,
char  delimiter,
int  token_max = -1 
) [inline, static]

Definition at line 643 of file myahrs_plus.hpp.

static std::string& WithRobot::StringUtil::strip ( std::string &  s) [inline, static]

Definition at line 639 of file myahrs_plus.hpp.

template<typename T >
static void WithRobot::StringUtil::to_string_list ( std::vector< std::string > &  str_list,
T array,
size_t  array_num 
) [inline, static]

Definition at line 674 of file myahrs_plus.hpp.


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


myahrs_driver
Author(s): Yoonseok Pyo
autogenerated on Sat Jun 8 2019 10:27:57