|
Monero
|
#include <wipeable_string.h>
Public Types | |
| typedef char | value_type |
Public Member Functions | |
| wipeable_string () | |
| wipeable_string (const wipeable_string &other) | |
| wipeable_string (wipeable_string &&other) | |
| wipeable_string (const std::string &other) | |
| wipeable_string (std::string &&other) | |
| wipeable_string (const char *s) | |
| wipeable_string (const char *s, size_t len) | |
| ~wipeable_string () | |
| void | wipe () |
| void | push_back (char c) |
| void | operator+= (char c) |
| void | operator+= (const std::string &s) |
| void | operator+= (const epee::wipeable_string &s) |
| void | operator+= (const char *s) |
| void | append (const char *ptr, size_t len) |
| char | pop_back () |
| const char * | data () const noexcept |
| char * | data () noexcept |
| size_t | size () const noexcept |
| size_t | length () const noexcept |
| bool | empty () const noexcept |
| void | trim () |
| void | split (std::vector< wipeable_string > &fields) const |
| boost::optional< wipeable_string > | parse_hexstr () const |
| template<typename T> | |
| bool | hex_to_pod (T &pod) const |
| template<typename T> | |
| bool | hex_to_pod (tools::scrubbed< T > &pod) const |
| void | resize (size_t sz) |
| void | reserve (size_t sz) |
| void | clear () |
| bool | operator== (const wipeable_string &other) const noexcept |
| bool | operator!= (const wipeable_string &other) const noexcept |
| wipeable_string & | operator= (wipeable_string &&other) |
| wipeable_string & | operator= (const wipeable_string &other) |
Private Member Functions | |
| void | grow (size_t sz, size_t reserved=0) |
Private Attributes | |
| std::vector< char > | buffer |
| typedef char epee::wipeable_string::value_type |
|
inline |
| epee::wipeable_string::wipeable_string | ( | const wipeable_string & | other | ) |
| epee::wipeable_string::wipeable_string | ( | wipeable_string && | other | ) |
| epee::wipeable_string::wipeable_string | ( | const std::string & | other | ) |
| epee::wipeable_string::wipeable_string | ( | std::string && | other | ) |
| epee::wipeable_string::wipeable_string | ( | const char * | s | ) |
| epee::wipeable_string::wipeable_string | ( | const char * | s, |
| size_t | len ) |
| epee::wipeable_string::~wipeable_string | ( | ) |
| void epee::wipeable_string::append | ( | const char * | ptr, |
| size_t | len ) |
| void epee::wipeable_string::clear | ( | ) |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
private |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
| void epee::wipeable_string::operator+= | ( | char | c | ) |
| void epee::wipeable_string::operator+= | ( | const char * | s | ) |
| void epee::wipeable_string::operator+= | ( | const epee::wipeable_string & | s | ) |
| void epee::wipeable_string::operator+= | ( | const std::string & | s | ) |
| wipeable_string & epee::wipeable_string::operator= | ( | const wipeable_string & | other | ) |
| wipeable_string & epee::wipeable_string::operator= | ( | wipeable_string && | other | ) |
|
inlinenoexcept |
| boost::optional< epee::wipeable_string > epee::wipeable_string::parse_hexstr | ( | ) | const |
| char epee::wipeable_string::pop_back | ( | ) |
| void epee::wipeable_string::push_back | ( | char | c | ) |
| void epee::wipeable_string::reserve | ( | size_t | sz | ) |
| void epee::wipeable_string::resize | ( | size_t | sz | ) |
|
inlinenoexcept |
| void epee::wipeable_string::split | ( | std::vector< wipeable_string > & | fields | ) | const |
| void epee::wipeable_string::trim | ( | ) |
| void epee::wipeable_string::wipe | ( | ) |
|
private |