|
Electroneum
|
Namespaces | |
| json | |
Typedefs | |
| typedef boost::make_recursive_variant< array_entry_t< section >, array_entry_t< uint64_t >, array_entry_t< uint32_t >, array_entry_t< uint16_t >, array_entry_t< uint8_t >, array_entry_t< int64_t >, array_entry_t< int32_t >, array_entry_t< int16_t >, array_entry_t< int8_t >, array_entry_t< double >, array_entry_t< bool >, array_entry_t< std::string >, array_entry_t< section >, array_entry_t< boost::recursive_variant_ > >::type | array_entry |
| typedef boost::variant< uint64_t, uint32_t, uint16_t, uint8_t, int64_t, int32_t, int16_t, int8_t, double, bool, std::string, section, array_entry > | storage_entry |
| typedef std::string | binarybuffer |
| typedef section * | hsection |
| typedef array_entry * | harray |
Functions | |
| template<class t_type , class t_storage > | |
| bool | kv_serialize (const t_type &d, t_storage &stg, typename t_storage::hsection hparent_section, const char *pname) |
| template<class t_type , class t_storage > | |
| bool | kv_unserialize (t_type &d, t_storage &stg, typename t_storage::hsection hparent_section, const char *pname) |
| template<class t_type , class t_storage > | |
| bool | kv_serialize (const std::vector< t_type > &d, t_storage &stg, typename t_storage::hsection hparent_section, const char *pname) |
| template<class t_type , class t_storage > | |
| bool | kv_unserialize (std::vector< t_type > &d, t_storage &stg, typename t_storage::hsection hparent_section, const char *pname) |
| template<class t_type , class t_storage > | |
| bool | kv_serialize (const std::deque< t_type > &d, t_storage &stg, typename t_storage::hsection hparent_section, const char *pname) |
| template<class t_type , class t_storage > | |
| bool | kv_unserialize (std::deque< t_type > &d, t_storage &stg, typename t_storage::hsection hparent_section, const char *pname) |
| template<class t_type , class t_storage > | |
| bool | kv_serialize (const std::list< t_type > &d, t_storage &stg, typename t_storage::hsection hparent_section, const char *pname) |
| template<class t_type , class t_storage > | |
| bool | kv_unserialize (std::list< t_type > &d, t_storage &stg, typename t_storage::hsection hparent_section, const char *pname) |
| template<class t_type , class t_storage > | |
| bool | kv_serialize (const std::set< t_type > &d, t_storage &stg, typename t_storage::hsection hparent_section, const char *pname) |
| template<class t_type , class t_storage > | |
| bool | kv_unserialize (std::set< t_type > &d, t_storage &stg, typename t_storage::hsection hparent_section, const char *pname) |
| template<> | |
| storage_entry | throwable_buffer_reader::read_se< std::string > () |
| template<class t_struct > | |
| bool | load_t_from_json (t_struct &out, const std::string &json_buff) |
| template<class t_struct > | |
| bool | load_t_from_json_file (t_struct &out, const std::string &json_file) |
| template<class t_struct > | |
| bool | store_t_to_json (t_struct &str_in, std::string &json_buff, size_t indent=0, bool insert_newlines=true) |
| template<class t_struct > | |
| std::string | store_t_to_json (t_struct &str_in, size_t indent=0, bool insert_newlines=true) |
| template<class t_struct > | |
| bool | store_t_to_json_file (t_struct &str_in, const std::string &fpath) |
| template<class t_struct > | |
| bool | load_t_from_binary (t_struct &out, const epee::span< const uint8_t > binary_buff) |
| template<class t_struct > | |
| bool | load_t_from_binary (t_struct &out, const std::string &binary_buff) |
| template<class t_struct > | |
| bool | load_t_from_binary_file (t_struct &out, const std::string &binary_file) |
| template<class t_struct > | |
| bool | store_t_to_binary (t_struct &str_in, std::string &binary_buff, size_t indent=0) |
| template<class t_struct > | |
| std::string | store_t_to_binary (t_struct &str_in, size_t indent=0) |
| template<class pack_value , class t_stream > | |
| size_t | pack_varint_t (t_stream &strm, uint8_t type_or, size_t &pv) |
| template<class t_stream > | |
| PRAGMA_WARNING_PUSH size_t | pack_varint (t_stream &strm, size_t val) |
| template<class t_stream > | |
| PRAGMA_WARNING_POP bool | put_string (t_stream &strm, const std::string &v) |
| template<class t_stream > | |
| bool | pack_entry_to_buff (t_stream &strm, const array_entry &ae) |
| template<class t_stream > | |
| bool | pack_entry_to_buff (t_stream &strm, const storage_entry &se) |
| template<class t_stream > | |
| bool | pack_entry_to_buff (t_stream &strm, const section &sec) |
| template<class t_stream > | |
| void | dump_as_json (t_stream &strm, const array_entry &ae, size_t indent, bool insert_newlines) |
| template<class t_stream > | |
| void | dump_as_json (t_stream &strm, const storage_entry &se, size_t indent, bool insert_newlines) |
| template<class t_stream > | |
| void | dump_as_json (t_stream &strm, const std::string &v, size_t indent, bool insert_newlines) |
| template<class t_stream > | |
| void | dump_as_json (t_stream &strm, const int8_t &v, size_t indent, bool insert_newlines) |
| template<class t_stream > | |
| void | dump_as_json (t_stream &strm, const uint8_t &v, size_t indent, bool insert_newlines) |
| template<class t_stream > | |
| void | dump_as_json (t_stream &strm, const bool &v, size_t indent, bool insert_newlines) |
| template<class t_stream , class t_type > | |
| void | dump_as_json (t_stream &strm, const t_type &v, size_t indent, bool insert_newlines) |
| template<class t_stream > | |
| void | dump_as_json (t_stream &strm, const section &sec, size_t indent, bool insert_newlines) |
| std::string | make_indent (size_t indent) |
| template<typename from_type , typename to_type > | |
| void | convert_int_to_uint (const from_type &from, to_type &to) |
| template<typename from_type , typename to_type > | |
| void | convert_int_to_int (const from_type &from, to_type &to) |
| template<typename from_type , typename to_type > | |
| void | convert_uint_to_any_int (const from_type &from, to_type &to) |
| template<class from_type , class to_type > | |
| void | convert_t (const from_type &from, to_type &to) |
| typedef boost::make_recursive_variant< array_entry_t<section>, array_entry_t<uint64_t>, array_entry_t<uint32_t>, array_entry_t<uint16_t>, array_entry_t<uint8_t>, array_entry_t<int64_t>, array_entry_t<int32_t>, array_entry_t<int16_t>, array_entry_t<int8_t>, array_entry_t<double>, array_entry_t<bool>, array_entry_t<std::string>, array_entry_t<section>, array_entry_t<boost::recursive_variant_> >::type epee::serialization::array_entry |
Definition at line 152 of file portable_storage_base.h.
| typedef std::string epee::serialization::binarybuffer |
Definition at line 156 of file portable_storage_base.h.
| typedef array_entry* epee::serialization::harray |
Definition at line 168 of file portable_storage_base.h.
| typedef section* epee::serialization::hsection |
Definition at line 167 of file portable_storage_base.h.
| typedef boost::variant<uint64_t, uint32_t, uint16_t, uint8_t, int64_t, int32_t, int16_t, int8_t, double, bool, std::string, section, array_entry> epee::serialization::storage_entry |
Definition at line 154 of file portable_storage_base.h.
| void epee::serialization::convert_int_to_int | ( | const from_type & | from, |
| to_type & | to | ||
| ) |
Definition at line 56 of file portable_storage_val_converters.h.


| void epee::serialization::convert_int_to_uint | ( | const from_type & | from, |
| to_type & | to | ||
| ) |
Definition at line 45 of file portable_storage_val_converters.h.


| void epee::serialization::convert_t | ( | const from_type & | from, |
| to_type & | to | ||
| ) |
Definition at line 197 of file portable_storage_val_converters.h.

| void epee::serialization::convert_uint_to_any_int | ( | const from_type & | from, |
| to_type & | to | ||
| ) |
Definition at line 66 of file portable_storage_val_converters.h.


| void epee::serialization::dump_as_json | ( | t_stream & | strm, |
| const array_entry & | ae, | ||
| size_t | indent, | ||
| bool | insert_newlines | ||
| ) |
Definition at line 111 of file portable_storage_to_json.h.

| void epee::serialization::dump_as_json | ( | t_stream & | strm, |
| const storage_entry & | se, | ||
| size_t | indent, | ||
| bool | insert_newlines | ||
| ) |
Definition at line 118 of file portable_storage_to_json.h.
| void epee::serialization::dump_as_json | ( | t_stream & | strm, |
| const std::string & | v, | ||
| size_t | indent, | ||
| bool | insert_newlines | ||
| ) |
Definition at line 125 of file portable_storage_to_json.h.

| void epee::serialization::dump_as_json | ( | t_stream & | strm, |
| const int8_t & | v, | ||
| size_t | indent, | ||
| bool | insert_newlines | ||
| ) |
Definition at line 131 of file portable_storage_to_json.h.
| void epee::serialization::dump_as_json | ( | t_stream & | strm, |
| const uint8_t & | v, | ||
| size_t | indent, | ||
| bool | insert_newlines | ||
| ) |
Definition at line 137 of file portable_storage_to_json.h.
| void epee::serialization::dump_as_json | ( | t_stream & | strm, |
| const bool & | v, | ||
| size_t | indent, | ||
| bool | insert_newlines | ||
| ) |
Definition at line 143 of file portable_storage_to_json.h.
| void epee::serialization::dump_as_json | ( | t_stream & | strm, |
| const t_type & | v, | ||
| size_t | indent, | ||
| bool | insert_newlines | ||
| ) |
Definition at line 154 of file portable_storage_to_json.h.
| void epee::serialization::dump_as_json | ( | t_stream & | strm, |
| const section & | sec, | ||
| size_t | indent, | ||
| bool | insert_newlines | ||
| ) |
Definition at line 160 of file portable_storage_to_json.h.

| bool epee::serialization::kv_serialize | ( | const t_type & | d, |
| t_storage & | stg, | ||
| typename t_storage::hsection | hparent_section, | ||
| const char * | pname | ||
| ) |
Definition at line 396 of file keyvalue_serialization_overloads.h.

| bool epee::serialization::kv_serialize | ( | const std::vector< t_type > & | d, |
| t_storage & | stg, | ||
| typename t_storage::hsection | hparent_section, | ||
| const char * | pname | ||
| ) |
Definition at line 408 of file keyvalue_serialization_overloads.h.

| bool epee::serialization::kv_serialize | ( | const std::deque< t_type > & | d, |
| t_storage & | stg, | ||
| typename t_storage::hsection | hparent_section, | ||
| const char * | pname | ||
| ) |
Definition at line 420 of file keyvalue_serialization_overloads.h.

| bool epee::serialization::kv_serialize | ( | const std::list< t_type > & | d, |
| t_storage & | stg, | ||
| typename t_storage::hsection | hparent_section, | ||
| const char * | pname | ||
| ) |
Definition at line 432 of file keyvalue_serialization_overloads.h.

| bool epee::serialization::kv_serialize | ( | const std::set< t_type > & | d, |
| t_storage & | stg, | ||
| typename t_storage::hsection | hparent_section, | ||
| const char * | pname | ||
| ) |
Definition at line 444 of file keyvalue_serialization_overloads.h.

| bool epee::serialization::kv_unserialize | ( | t_type & | d, |
| t_storage & | stg, | ||
| typename t_storage::hsection | hparent_section, | ||
| const char * | pname | ||
| ) |
Definition at line 402 of file keyvalue_serialization_overloads.h.

| bool epee::serialization::kv_unserialize | ( | std::vector< t_type > & | d, |
| t_storage & | stg, | ||
| typename t_storage::hsection | hparent_section, | ||
| const char * | pname | ||
| ) |
Definition at line 414 of file keyvalue_serialization_overloads.h.

| bool epee::serialization::kv_unserialize | ( | std::deque< t_type > & | d, |
| t_storage & | stg, | ||
| typename t_storage::hsection | hparent_section, | ||
| const char * | pname | ||
| ) |
Definition at line 426 of file keyvalue_serialization_overloads.h.

| bool epee::serialization::kv_unserialize | ( | std::list< t_type > & | d, |
| t_storage & | stg, | ||
| typename t_storage::hsection | hparent_section, | ||
| const char * | pname | ||
| ) |
Definition at line 438 of file keyvalue_serialization_overloads.h.

| bool epee::serialization::kv_unserialize | ( | std::set< t_type > & | d, |
| t_storage & | stg, | ||
| typename t_storage::hsection | hparent_section, | ||
| const char * | pname | ||
| ) |
Definition at line 450 of file keyvalue_serialization_overloads.h.

| bool epee::serialization::load_t_from_binary | ( | t_struct & | out, |
| const epee::span< const uint8_t > | binary_buff | ||
| ) |
Definition at line 87 of file portable_storage_template_helper.h.


| bool epee::serialization::load_t_from_binary | ( | t_struct & | out, |
| const std::string & | binary_buff | ||
| ) |
Definition at line 98 of file portable_storage_template_helper.h.

| bool epee::serialization::load_t_from_binary_file | ( | t_struct & | out, |
| const std::string & | binary_file | ||
| ) |
Definition at line 104 of file portable_storage_template_helper.h.

| bool epee::serialization::load_t_from_json | ( | t_struct & | out, |
| const std::string & | json_buff | ||
| ) |
Definition at line 41 of file portable_storage_template_helper.h.


| bool epee::serialization::load_t_from_json_file | ( | t_struct & | out, |
| const std::string & | json_file | ||
| ) |
Definition at line 52 of file portable_storage_template_helper.h.


|
inline |
Definition at line 58 of file portable_storage_to_json.h.

| bool epee::serialization::pack_entry_to_buff | ( | t_stream & | strm, |
| const array_entry & | ae | ||
| ) |
Definition at line 187 of file portable_storage_to_bin.h.

| bool epee::serialization::pack_entry_to_buff | ( | t_stream & | strm, |
| const storage_entry & | se | ||
| ) |
Definition at line 194 of file portable_storage_to_bin.h.
| bool epee::serialization::pack_entry_to_buff | ( | t_stream & | strm, |
| const section & | sec | ||
| ) |
Definition at line 201 of file portable_storage_to_bin.h.

| PRAGMA_WARNING_PUSH size_t epee::serialization::pack_varint | ( | t_stream & | strm, |
| size_t | val | ||
| ) |
Definition at line 55 of file portable_storage_to_bin.h.

| size_t epee::serialization::pack_varint_t | ( | t_stream & | strm, |
| uint8_t | type_or, | ||
| size_t & | pv | ||
| ) |
Definition at line 41 of file portable_storage_to_bin.h.
| PRAGMA_WARNING_POP bool epee::serialization::put_string | ( | t_stream & | strm, |
| const std::string & | v | ||
| ) |
Definition at line 77 of file portable_storage_to_bin.h.


| bool epee::serialization::store_t_to_binary | ( | t_struct & | str_in, |
| std::string & | binary_buff, | ||
| size_t | indent = 0 |
||
| ) |
Definition at line 114 of file portable_storage_template_helper.h.


| std::string epee::serialization::store_t_to_binary | ( | t_struct & | str_in, |
| size_t | indent = 0 |
||
| ) |
Definition at line 122 of file portable_storage_template_helper.h.

| bool epee::serialization::store_t_to_json | ( | t_struct & | str_in, |
| std::string & | json_buff, | ||
| size_t | indent = 0, |
||
| bool | insert_newlines = true |
||
| ) |
Definition at line 62 of file portable_storage_template_helper.h.


| std::string epee::serialization::store_t_to_json | ( | t_struct & | str_in, |
| size_t | indent = 0, |
||
| bool | insert_newlines = true |
||
| ) |
Definition at line 71 of file portable_storage_template_helper.h.

| bool epee::serialization::store_t_to_json_file | ( | t_struct & | str_in, |
| const std::string & | fpath | ||
| ) |
Definition at line 79 of file portable_storage_template_helper.h.

|
inline |
Definition at line 202 of file portable_storage_from_bin.h.