|
Electroneum
|
Functions | |
| std::string | buff_to_hex_nodelimer (const std::string &src) |
| bool | parse_hexstr_to_binbuff (const epee::span< const char > s, epee::span< char > &res) |
| bool | parse_hexstr_to_binbuff (const std::string &s, std::string &res) |
| template<class XType> | |
| PUSH_WARNINGS bool | get_xtype_from_string (OUT XType &val, const std::string &str_id) |
| template<class XType> | |
| POP_WARNINGS bool | xtype_to_string (const XType &val, std::string &str) |
| std::string | get_ip_string_from_int32 (uint32_t ip) |
| bool | get_ip_int32_from_string (uint32_t &ip, const std::string &ip_str) |
| bool | parse_peer_from_string (uint32_t &ip, uint16_t &port, const std::string &addres) |
| std::string | num_to_string_fast (int64_t val) |
| std::string | to_string_hex (uint32_t val) |
| bool | compare_no_case (const std::string &str1, const std::string &str2) |
| std::string & | get_current_module_name () |
| std::string & | get_current_module_folder () |
| bool | set_module_name_and_folder (const std::string &path_to_process_) |
| bool | trim_left (std::string &str) |
| bool | trim_right (std::string &str) |
| std::string & | trim (std::string &str) |
| std::string | trim (const std::string &str_) |
| std::string | pad_string (std::string s, size_t n, char c=' ', bool prepend=false) |
| template<class t_pod_type> | |
| std::string | pod_to_hex (const t_pod_type &s) |
| template<class t_pod_type> | |
| bool | hex_to_pod (const std::string &hex_str, t_pod_type &s) |
| template<class t_pod_type> | |
| bool | hex_to_pod (const std::string &hex_str, tools::scrubbed< t_pod_type > &s) |
| template<class t_pod_type> | |
| bool | hex_to_pod (const std::string &hex_str, epee::mlocked< t_pod_type > &s) |
| bool | validate_hex (uint64_t length, const std::string &str) |
| std::string | get_extension (const std::string &str) |
| std::string | cut_off_extension (const std::string &str) |
|
inline |
Definition at line 87 of file string_tools.h.


|
inline |
Definition at line 221 of file string_tools.h.

|
inline |
Definition at line 358 of file string_tools.h.
|
inline |
Definition at line 233 of file string_tools.h.

|
inline |
Definition at line 227 of file string_tools.h.

|
inline |
| bool epee::string_tools::get_ip_int32_from_string | ( | uint32_t & | ip, |
| const std::string & | ip_str ) |
Definition at line 53 of file string_tools.cpp.

| std::string epee::string_tools::get_ip_string_from_int32 | ( | uint32_t | ip | ) |
Definition at line 42 of file string_tools.cpp.

|
inline |
Definition at line 125 of file string_tools.h.


| bool epee::string_tools::hex_to_pod | ( | const std::string & | hex_str, |
| epee::mlocked< t_pod_type > & | s ) |
Definition at line 340 of file string_tools.h.

| bool epee::string_tools::hex_to_pod | ( | const std::string & | hex_str, |
| t_pod_type & | s ) |
Definition at line 324 of file string_tools.h.


| bool epee::string_tools::hex_to_pod | ( | const std::string & | hex_str, |
| tools::scrubbed< t_pod_type > & | s ) |
|
inline |
Definition at line 202 of file string_tools.h.
|
inline |
Definition at line 304 of file string_tools.h.

|
inline |
Definition at line 92 of file string_tools.h.


|
inline |
Definition at line 113 of file string_tools.h.

|
inline |
Definition at line 174 of file string_tools.h.


| std::string epee::string_tools::pod_to_hex | ( | const t_pod_type & | s | ) |
Definition at line 317 of file string_tools.h.

|
inline |
Definition at line 249 of file string_tools.h.


|
inline |
Definition at line 211 of file string_tools.h.

|
inline |
Definition at line 296 of file string_tools.h.

|
inline |
Definition at line 288 of file string_tools.h.


|
inline |
Definition at line 271 of file string_tools.h.


|
inline |
Definition at line 279 of file string_tools.h.


| bool epee::string_tools::validate_hex | ( | uint64_t | length, |
| const std::string & | str ) |
Definition at line 62 of file string_tools.cpp.

|
inline |
Definition at line 156 of file string_tools.h.