|
Electroneum
|
#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) |
Definition at line 40 of file wipeable_string.h.
| typedef char epee::wipeable_string::value_type |
Definition at line 43 of file wipeable_string.h.
|
inline |
| epee::wipeable_string::wipeable_string | ( | const wipeable_string & | other | ) |
Definition at line 51 of file wipeable_string.cpp.

| epee::wipeable_string::wipeable_string | ( | wipeable_string && | other | ) |
Definition at line 56 of file wipeable_string.cpp.

| epee::wipeable_string::wipeable_string | ( | const std::string & | other | ) |
Definition at line 63 of file wipeable_string.cpp.

| epee::wipeable_string::wipeable_string | ( | std::string && | other | ) |
Definition at line 70 of file wipeable_string.cpp.

| 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 ) |
Definition at line 144 of file wipeable_string.cpp.


| void epee::wipeable_string::clear | ( | ) |
Definition at line 244 of file wipeable_string.cpp.


|
inlinenoexcept |
Definition at line 61 of file wipeable_string.h.

|
inlinenoexcept |
Definition at line 62 of file wipeable_string.h.
|
inlinenoexcept |
Definition at line 65 of file wipeable_string.h.

Definition at line 86 of file wipeable_string.h.


|
inline |
Definition at line 70 of file wipeable_string.h.


|
inlinenoexcept |
Definition at line 64 of file wipeable_string.h.
|
inlinenoexcept |
Definition at line 75 of file wipeable_string.h.

| void epee::wipeable_string::operator+= | ( | char | c | ) |
Definition at line 139 of file wipeable_string.cpp.

| void epee::wipeable_string::operator+= | ( | const char * | s | ) |
Definition at line 153 of file wipeable_string.cpp.

| 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 | ) |
Definition at line 256 of file wipeable_string.cpp.

| wipeable_string & epee::wipeable_string::operator= | ( | wipeable_string && | other | ) |
Definition at line 249 of file wipeable_string.cpp.

|
inlinenoexcept |
Definition at line 74 of file wipeable_string.h.

| boost::optional< epee::wipeable_string > epee::wipeable_string::parse_hexstr | ( | ) | const |
Definition at line 202 of file wipeable_string.cpp.


| char epee::wipeable_string::pop_back | ( | ) |
Definition at line 225 of file wipeable_string.cpp.


| void epee::wipeable_string::push_back | ( | char | c | ) |
Definition at line 133 of file wipeable_string.cpp.


| void epee::wipeable_string::reserve | ( | size_t | sz | ) |
| void epee::wipeable_string::resize | ( | size_t | sz | ) |
Definition at line 234 of file wipeable_string.cpp.

|
inlinenoexcept |
Definition at line 63 of file wipeable_string.h.

| void epee::wipeable_string::split | ( | std::vector< wipeable_string > & | fields | ) | const |
Definition at line 183 of file wipeable_string.cpp.


| void epee::wipeable_string::trim | ( | ) |
Definition at line 168 of file wipeable_string.cpp.

| void epee::wipeable_string::wipe | ( | ) |
Definition at line 100 of file wipeable_string.cpp.

