class eosio::kv::internal::iterator_base

Class List > eosio :: kv :: internal :: iterator_base

Public Types

Type Name
enum iterator_ok { iterator_ok = 0, iterator_erased = -1, iterator_end = -2 }

Protected Attributes

Type Name
uint32_t itr
status itr_stat
const index_base * index

Public Functions

Type Name
iterator_base () = default
iterator_base (uint32_t itr, status itr_stat, const index_base * index)
iterator_base (iterator_base && other)
~iterator_base ()
iterator_base & operator= (iterator_base && other)
bool is_end () const
void value (void * val, void(*)(void *, const void *, std::size_t) deserialize) const
key_type key () const
bool valid () const

Protected Functions

Type Name
int compare (const iterator_base & b) const

Public Types Documentation

enum status

enum eosio::kv::internal::iterator_base::status {
    iterator_ok = 0,
    iterator_erased = -1,
    iterator_end = -2,
};

Protected Attributes Documentation

variable itr

uint32_t eosio::kv::internal::iterator_base::itr;

variable itr_stat

status eosio::kv::internal::iterator_base::itr_stat;

variable index

const index_base* eosio::kv::internal::iterator_base::index;

Public Functions Documentation

function iterator_base (1/3)

eosio::kv::internal::iterator_base::iterator_base() = default

function iterator_base (2/3)

eosio::kv::internal::iterator_base::iterator_base(
    uint32_t itr,
    status itr_stat,
    const index_base * index
)

function iterator_base (3/3)

eosio::kv::internal::iterator_base::iterator_base(
    iterator_base && other
)

function ~iterator_base

eosio::kv::internal::iterator_base::~iterator_base()

function operator=

iterator_base& eosio::kv::internal::iterator_base::operator=(
    iterator_base && other
)

function is_end

bool eosio::kv::internal::iterator_base::is_end() const

function value

void eosio::kv::internal::iterator_base::value(
    void * val,
    void(*)(void *, const void *, std::size_t) deserialize
) const

Returns the value that the iterator points to.

Returns:

The value that the iterator points to.

function key

key_type eosio::kv::internal::iterator_base::key() const

function valid

bool eosio::kv::internal::iterator_base::valid() const

Protected Functions Documentation

function compare

int eosio::kv::internal::iterator_base::compare(
    const iterator_base & b
) const

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