S3FC project page | S3FC home page |
#include <s3_conversion.h>
Static Public Methods | |
template<typename T> std::string | to_string (const T &t) |
Convert argument from T to string using stringstream . More... | |
template<class T> T | from_string (const std::string &s) |
Convert argument from string to T using stringstream . More... | |
std::vector< std::string > | string_to_vec_string (const std::string &str) |
Convert string argument into a vector of string , each entry containing a single word from str . More... | |
std::vector< int > | string_to_vec_int (const std::string &str) |
Convert string argument into a vector of int . More... | |
std::vector< float > | string_to_vec_float (const std::string &str) |
Convert string argument into a vector of float . More... | |
std::vector< std::string > | split_string (const std::string &str, const char *delim=0) |
Split string into substrings and return as a vector of strings. More... |
Definition at line 44 of file s3_conversion.h.
|
Convert argument from
Definition at line 65 of file s3_conversion.h. |
|
Split
Substrings are delimited by any single character contained in
Definition at line 107 of file s3_conversion.cc. Referenced by s3_rpc_server::exec_cmd_call. |
|
Convert string argument into a vector of
Definition at line 92 of file s3_conversion.cc. References string_to_vec_string. |
|
Convert string argument into a vector of
Definition at line 77 of file s3_conversion.cc. References string_to_vec_string. |
|
Convert
Definition at line 51 of file s3_conversion.cc. Referenced by s3_post_office_switch::main_loop, string_to_vec_float, and string_to_vec_int. |
|
Convert argument from
Definition at line 53 of file s3_conversion.h. Referenced by s3_msgb_log_buffer::s3_msgb_log_buffer. |
Send comments to: s3fc@stonethree.com |
|