Electroneum
Loading...
Searching...
No Matches
portable_storage_base.h File Reference
#include <boost/variant.hpp>
#include <boost/any.hpp>
#include <string>
#include <vector>
#include <deque>
Include dependency graph for portable_storage_base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  epee::serialization::entry_container< T >
struct  epee::serialization::entry_container< bool >
struct  epee::serialization::array_entry_t< t_entry_type >
struct  epee::serialization::section

Namespaces

namespace  epee
namespace  epee::serialization

Macros

#define PORTABLE_STORAGE_SIGNATUREA   0x01011101
#define PORTABLE_STORAGE_SIGNATUREB   0x01020101
#define PORTABLE_STORAGE_FORMAT_VER   1
#define PORTABLE_RAW_SIZE_MARK_MASK   0x03
#define PORTABLE_RAW_SIZE_MARK_BYTE   0
#define PORTABLE_RAW_SIZE_MARK_WORD   1
#define PORTABLE_RAW_SIZE_MARK_DWORD   2
#define PORTABLE_RAW_SIZE_MARK_INT64   3
#define MAX_STRING_LEN_POSSIBLE   2000000000
#define SERIALIZE_TYPE_INT64   1
#define SERIALIZE_TYPE_INT32   2
#define SERIALIZE_TYPE_INT16   3
#define SERIALIZE_TYPE_INT8   4
#define SERIALIZE_TYPE_UINT64   5
#define SERIALIZE_TYPE_UINT32   6
#define SERIALIZE_TYPE_UINT16   7
#define SERIALIZE_TYPE_UINT8   8
#define SERIALIZE_TYPE_DUOBLE   9
#define SERIALIZE_TYPE_STRING   10
#define SERIALIZE_TYPE_BOOL   11
#define SERIALIZE_TYPE_OBJECT   12
#define SERIALIZE_TYPE_ARRAY   13
#define SERIALIZE_FLAG_ARRAY   0x80

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 epee::serialization::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_entryepee::serialization::storage_entry
typedef std::string epee::serialization::binarybuffer
typedef sectionepee::serialization::hsection
typedef array_entryepee::serialization::harray

Macro Definition Documentation

◆ MAX_STRING_LEN_POSSIBLE

#define MAX_STRING_LEN_POSSIBLE   2000000000

Definition at line 48 of file portable_storage_base.h.

◆ PORTABLE_RAW_SIZE_MARK_BYTE

#define PORTABLE_RAW_SIZE_MARK_BYTE   0

Definition at line 42 of file portable_storage_base.h.

◆ PORTABLE_RAW_SIZE_MARK_DWORD

#define PORTABLE_RAW_SIZE_MARK_DWORD   2

Definition at line 44 of file portable_storage_base.h.

◆ PORTABLE_RAW_SIZE_MARK_INT64

#define PORTABLE_RAW_SIZE_MARK_INT64   3

Definition at line 45 of file portable_storage_base.h.

◆ PORTABLE_RAW_SIZE_MARK_MASK

#define PORTABLE_RAW_SIZE_MARK_MASK   0x03

Definition at line 41 of file portable_storage_base.h.

◆ PORTABLE_RAW_SIZE_MARK_WORD

#define PORTABLE_RAW_SIZE_MARK_WORD   1

Definition at line 43 of file portable_storage_base.h.

◆ PORTABLE_STORAGE_FORMAT_VER

#define PORTABLE_STORAGE_FORMAT_VER   1

Definition at line 39 of file portable_storage_base.h.

◆ PORTABLE_STORAGE_SIGNATUREA

#define PORTABLE_STORAGE_SIGNATUREA   0x01011101

Definition at line 37 of file portable_storage_base.h.

◆ PORTABLE_STORAGE_SIGNATUREB

#define PORTABLE_STORAGE_SIGNATUREB   0x01020101

Definition at line 38 of file portable_storage_base.h.

◆ SERIALIZE_FLAG_ARRAY

#define SERIALIZE_FLAG_ARRAY   0x80

Definition at line 66 of file portable_storage_base.h.

◆ SERIALIZE_TYPE_ARRAY

#define SERIALIZE_TYPE_ARRAY   13

Definition at line 64 of file portable_storage_base.h.

◆ SERIALIZE_TYPE_BOOL

#define SERIALIZE_TYPE_BOOL   11

Definition at line 62 of file portable_storage_base.h.

◆ SERIALIZE_TYPE_DUOBLE

#define SERIALIZE_TYPE_DUOBLE   9

Definition at line 60 of file portable_storage_base.h.

◆ SERIALIZE_TYPE_INT16

#define SERIALIZE_TYPE_INT16   3

Definition at line 54 of file portable_storage_base.h.

◆ SERIALIZE_TYPE_INT32

#define SERIALIZE_TYPE_INT32   2

Definition at line 53 of file portable_storage_base.h.

◆ SERIALIZE_TYPE_INT64

#define SERIALIZE_TYPE_INT64   1

Definition at line 52 of file portable_storage_base.h.

◆ SERIALIZE_TYPE_INT8

#define SERIALIZE_TYPE_INT8   4

Definition at line 55 of file portable_storage_base.h.

◆ SERIALIZE_TYPE_OBJECT

#define SERIALIZE_TYPE_OBJECT   12

Definition at line 63 of file portable_storage_base.h.

◆ SERIALIZE_TYPE_STRING

#define SERIALIZE_TYPE_STRING   10

Definition at line 61 of file portable_storage_base.h.

◆ SERIALIZE_TYPE_UINT16

#define SERIALIZE_TYPE_UINT16   7

Definition at line 58 of file portable_storage_base.h.

◆ SERIALIZE_TYPE_UINT32

#define SERIALIZE_TYPE_UINT32   6

Definition at line 57 of file portable_storage_base.h.

◆ SERIALIZE_TYPE_UINT64

#define SERIALIZE_TYPE_UINT64   5

Definition at line 56 of file portable_storage_base.h.

◆ SERIALIZE_TYPE_UINT8

#define SERIALIZE_TYPE_UINT8   8

Definition at line 59 of file portable_storage_base.h.