|
Electroneum
|
#include <portable_storage.h>
Public Types | |
| typedef epee::serialization::hsection | hsection |
| typedef epee::serialization::harray | harray |
| typedef storage_entry | meta_entry |
Public Member Functions | |
| portable_storage () | |
| virtual | ~portable_storage () |
| hsection | open_section (const std::string §ion_name, hsection hparent_section, bool create_if_notexist=false) |
| template<class t_value > | |
| bool | get_value (const std::string &value_name, t_value &val, hsection hparent_section) |
| bool | get_value (const std::string &value_name, storage_entry &val, hsection hparent_section) |
| template<class t_value > | |
| bool | set_value (const std::string &value_name, const t_value &target, hsection hparent_section) |
| template<class t_value > | |
| harray | get_first_value (const std::string &value_name, t_value &target, hsection hparent_section) |
| template<class t_value > | |
| bool | get_next_value (harray hval_array, t_value &target) |
| template<class t_value > | |
| harray | insert_first_value (const std::string &value_name, const t_value &target, hsection hparent_section) |
| template<class t_value > | |
| bool | insert_next_value (harray hval_array, const t_value &target) |
| harray | get_first_section (const std::string &pSectionName, hsection &h_child_section, hsection hparent_section) |
| bool | get_next_section (harray hSecArray, hsection &h_child_section) |
| harray | insert_first_section (const std::string &pSectionName, hsection &hinserted_childsection, hsection hparent_section) |
| bool | insert_next_section (harray hSecArray, hsection &hinserted_childsection) |
| bool | delete_entry (const std::string &pentry_name, hsection hparent_section=nullptr) |
| bool | store_to_binary (binarybuffer &target) |
| bool | load_from_binary (const epee::span< const uint8_t > target) |
| bool | load_from_binary (const std::string &target) |
| template<class trace_policy > | |
| bool | dump_as_xml (std::string &targetObj, const std::string &root_name="") |
| bool | dump_as_json (std::string &targetObj, size_t indent=0, bool insert_newlines=true) |
| bool | load_from_json (const std::string &source) |
Definition at line 50 of file portable_storage.h.
Definition at line 54 of file portable_storage.h.
Definition at line 53 of file portable_storage.h.
Definition at line 55 of file portable_storage.h.
|
inline |
Definition at line 57 of file portable_storage.h.
|
inlinevirtual |
Definition at line 58 of file portable_storage.h.
| bool epee::serialization::portable_storage::delete_entry | ( | const std::string & | pentry_name, |
| hsection | hparent_section = nullptr |
||
| ) |
|
inline |
Definition at line 114 of file portable_storage.h.


| bool epee::serialization::portable_storage::dump_as_xml | ( | std::string & | targetObj, |
| const std::string & | root_name = "" |
||
| ) |
Definition at line 132 of file portable_storage.h.
|
inline |
Definition at line 408 of file portable_storage.h.

| harray epee::serialization::portable_storage::get_first_value | ( | const std::string & | value_name, |
| t_value & | target, | ||
| hsection | hparent_section | ||
| ) |
Definition at line 315 of file portable_storage.h.
|
inline |
| bool epee::serialization::portable_storage::get_next_value | ( | harray | hval_array, |
| t_value & | target | ||
| ) |
Definition at line 353 of file portable_storage.h.
| bool epee::serialization::portable_storage::get_value | ( | const std::string & | value_name, |
| t_value & | val, | ||
| hsection | hparent_section | ||
| ) |
Definition at line 216 of file portable_storage.h.

|
inline |
Definition at line 232 of file portable_storage.h.
|
inline |
Definition at line 445 of file portable_storage.h.

| harray epee::serialization::portable_storage::insert_first_value | ( | const std::string & | value_name, |
| const t_value & | target, | ||
| hsection | hparent_section | ||
| ) |
Definition at line 367 of file portable_storage.h.

|
inline |
Definition at line 470 of file portable_storage.h.
| bool epee::serialization::portable_storage::insert_next_value | ( | harray | hval_array, |
| const t_value & | target | ||
| ) |
Definition at line 392 of file portable_storage.h.

|
inline |
Definition at line 153 of file portable_storage.h.


|
inline |
Definition at line 88 of file portable_storage.h.


|
inline |
Definition at line 124 of file portable_storage.h.


|
inline |
Definition at line 182 of file portable_storage.h.

| bool epee::serialization::portable_storage::set_value | ( | const std::string & | value_name, |
| const t_value & | target, | ||
| hsection | hparent_section | ||
| ) |
Definition at line 246 of file portable_storage.h.
|
inline |
Definition at line 138 of file portable_storage.h.

