|
Monero
|
#include "string_tools.h"#include "string_tools_lexical.h"#include <locale>#include <cstdlib>#include <string>#include <type_traits>#include <system_error>#include <boost/lexical_cast.hpp>#include <boost/algorithm/string.hpp>#include <boost/algorithm/string/predicate.hpp>#include <boost/utility/string_ref.hpp>#include <boost/filesystem.hpp>#include "misc_log_ex.h"#include "storages/parserse_base_utils.h"#include "hex.h"#include "memwipe.h"#include "mlocker.h"#include "span.h"#include "warnings.h"#include <ctype.h>#include <arpa/inet.h>#include <netinet/in.h>
Namespaces | |
| namespace | epee |
| TODO: (mj-xmr) This will be reduced in an another PR. | |
| namespace | epee::string_tools |
Functions | |
| std::string | epee::string_tools::get_ip_string_from_int32 (uint32_t ip) |
| bool | epee::string_tools::get_ip_int32_from_string (uint32_t &ip, const std::string &ip_str) |
| bool | epee::string_tools::validate_hex (uint64_t length, const std::string &str) |
| bool | epee::string_tools::parse_peer_from_string (uint32_t &ip, uint16_t &port, const std::string &addres) |
| std::string | epee::string_tools::num_to_string_fast (int64_t val) |
| bool | epee::string_tools::compare_no_case (const std::string &str1, const std::string &str2) |
| std::string & | epee::string_tools::get_current_module_name () |
| std::string & | epee::string_tools::get_current_module_folder () |
| void | epee::string_tools::set_module_name_and_folder (const std::string &path_to_process_) |
| std::string | epee::string_tools::pad_string (std::string s, size_t n, char c=' ', bool prepend=false) |
| std::string | epee::string_tools::get_extension (const std::string &str) |
| std::string | epee::string_tools::cut_off_extension (const std::string &str) |