namespace eosio::kv::detail

Class List > eosio :: kv :: detail

Classes

Type Name
struct elem
This struct represents the data type stored in map.
struct iterator
This struct represents the iterator for the data type.
struct packed_view

Variables

Type Name
constexpr size_t max_stack_buffer_size

Functions

Type Name
static void increment_bytes (key_type & kt)
uint32_t itr_create (name contract, std::string_view prefix)
void itr_destroy (uint32_t itr)
int32_t itr_status (uint32_t itr)
int32_t itr_compare (uint32_t a, uint32_t b)
int32_t itr_key_compare (uint32_t itr, std::string_view k)
int32_t itr_move_to_end (uint32_t itr)
int32_t itr_key (uint32_t itr, char * dest, uint32_t size, uint32_t & actual_size)
int32_t itr_value (uint32_t itr, char * dest, uint32_t size, uint32_t & actual_size)
int32_t itr_next (uint32_t itr, uint32_t & key_size, uint32_t & val_size)
int32_t itr_next (uint32_t itr)
int32_t itr_prev (uint32_t itr, uint32_t & key_size, uint32_t & val_size)
int32_t itr_prev (uint32_t itr)
int32_t itr_lower_bound (uint32_t itr, std::string_view k, uint32_t & key_size, uint32_t & val_size)
int32_t itr_lower_bound (uint32_t itr, std::string_view k)
int32_t itr_lower_bound (uint32_t itr)
static void serialize (const V & value, void * buffer, size_t size)
static void deserialize (V & value, const void * buffer, size_t size)
static size_t get_size (const V & value)
static size_t get_size (const std::variant< Vs... > & value)

Variables Documentation

variable max_stack_buffer_size

constexpr size_t eosio::kv::detail::max_stack_buffer_size;

Functions Documentation

function increment_bytes

static static void eosio::kv::detail::increment_bytes(
    key_type & kt
)

function itr_create

uint32_t eosio::kv::detail::itr_create(
    name contract,
    std::string_view prefix
)

function itr_destroy

void eosio::kv::detail::itr_destroy(
    uint32_t itr
)

function itr_status

int32_t eosio::kv::detail::itr_status(
    uint32_t itr
)

function itr_compare

int32_t eosio::kv::detail::itr_compare(
    uint32_t a,
    uint32_t b
)

function itr_key_compare

int32_t eosio::kv::detail::itr_key_compare(
    uint32_t itr,
    std::string_view k
)

function itr_move_to_end

int32_t eosio::kv::detail::itr_move_to_end(
    uint32_t itr
)

function itr_key

int32_t eosio::kv::detail::itr_key(
    uint32_t itr,
    char * dest,
    uint32_t size,
    uint32_t & actual_size
)

function itr_value

int32_t eosio::kv::detail::itr_value(
    uint32_t itr,
    char * dest,
    uint32_t size,
    uint32_t & actual_size
)

function itr_next (1/2)

int32_t eosio::kv::detail::itr_next(
    uint32_t itr,
    uint32_t & key_size,
    uint32_t & val_size
)

function itr_next (2/2)

int32_t eosio::kv::detail::itr_next(
    uint32_t itr
)

function itr_prev (1/2)

int32_t eosio::kv::detail::itr_prev(
    uint32_t itr,
    uint32_t & key_size,
    uint32_t & val_size
)

function itr_prev (2/2)

int32_t eosio::kv::detail::itr_prev(
    uint32_t itr
)

function itr_lower_bound (1/3)

int32_t eosio::kv::detail::itr_lower_bound(
    uint32_t itr,
    std::string_view k,
    uint32_t & key_size,
    uint32_t & val_size
)

function itr_lower_bound (2/3)

int32_t eosio::kv::detail::itr_lower_bound(
    uint32_t itr,
    std::string_view k
)

function itr_lower_bound (3/3)

int32_t eosio::kv::detail::itr_lower_bound(
    uint32_t itr
)

function serialize

template<typename V>
static static void eosio::kv::detail::serialize(
    const V & value,
    void * buffer,
    size_t size
)

function deserialize

template<typename V>
static static void eosio::kv::detail::deserialize(
    V & value,
    const void * buffer,
    size_t size
)

function get_size (1/2)

template<typename V>
static static size_t eosio::kv::detail::get_size(
    const V & value
)

function get_size (2/2)

template<typename... Vs>
static static size_t eosio::kv::detail::get_size(
    const std::variant< Vs... > & value
)

The documentation for this class was generated from the following file: libraries/eosiolib/contracts/eosio/map.hpp