struct eosio::multi_index::index
Class List > eosio :: multi_index :: index
Classes
Public Types
Friends
Public Static Functions
Public Functions
Public Types Documentation
enum constants
enum eosio::multi_index::index::constants {
table_name = static_cast<uint64_t>(TableName),
index_name = static_cast<uint64_t>(IndexName),
index_number = Number,
index_table_name = (static_cast<uint64_t>(TableName) & 0xFFFFFFFFFFFFFFF0ULL)
| (Number & 0x000000000000000FULL),
};
typedef Extractor eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::secondary_extractor_type;
typedef secondary_key_type
typedef std::decay<decltype( Extractor()(nullptr) )>::type eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::secondary_key_type;
typedef const_reverse_iterator
typedef std::reverse_iterator<const_iterator> eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::const_reverse_iterator;
struct multi_index::index::const_iterator
Friends Documentation
friend multi_index
friend class multi_index;
Public Static Functions Documentation
function validate_index_name
static static constexpr bool eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::validate_index_name(
eosio::name n
)
function name
static static constexpr uint64_t eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::name()
function number
static static constexpr uint64_t eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::number()
static static auto eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::extract_secondary_key(
const T & obj
)
Public Functions Documentation
function cbegin
const_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::cbegin() const
function begin
const_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::begin() const
function cend
const_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::cend() const
function end
const_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::end() const
function crbegin
const_reverse_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::crbegin() const
function rbegin
const_reverse_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::rbegin() const
function crend
const_reverse_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::crend() const
function rend
const_reverse_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::rend() const
function find (1/2)
const_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::find(
secondary_key_type && secondary
) const
function find (2/2)
const_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::find(
const secondary_key_type & secondary
) const
function require_find (1/2)
const_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::require_find(
secondary_key_type && secondary,
const char * error_msg = "unable to find secondary key"
) const
function require_find (2/2)
const_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::require_find(
const secondary_key_type & secondary,
const char * error_msg = "unable to find secondary key"
) const
function get (1/2)
const T& eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::get(
secondary_key_type && secondary,
const char * error_msg = "unable to find secondary key"
) const
function get (2/2)
const T& eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::get(
const secondary_key_type & secondary,
const char * error_msg = "unable to find secondary key"
) const
function lower_bound (1/2)
const_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::lower_bound(
secondary_key_type && secondary
) const
function lower_bound (2/2)
const_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::lower_bound(
const secondary_key_type & secondary
) const
function upper_bound (1/2)
const_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::upper_bound(
secondary_key_type && secondary
) const
function upper_bound (2/2)
const_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::upper_bound(
const secondary_key_type & secondary
) const
function iterator_to
const_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::iterator_to(
const T & obj
)
function modify
template<typename Lambda>
void eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::modify(
const_iterator itr,
eosio::name payer,
Lambda && updater
)
function erase
const_iterator eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::erase(
const_iterator itr
)
function get_code
eosio::name eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::get_code() const
function get_scope
uint64_t eosio::multi_index< TableName, T, Indices >::index< IndexName, Extractor, Number, IsConst >::get_scope() const
The documentation for this class was generated from the following file: libraries/eosiolib/multi\_index.hpp