#include <protocol_feature_manager.hpp>
|
static constexpr std::size_t | end_index = std::numeric_limits<std::size_t>::max() |
|
◆ difference_type
◆ iterator_category
◆ pointer
◆ reference
◆ value_type
◆ const_iterator() [1/2]
◆ const_iterator() [2/2]
sysio::chain::protocol_feature_manager::const_iterator::const_iterator |
( |
| ) |
|
|
default |
◆ activation_block_num()
uint32_t sysio::chain::protocol_feature_manager::const_iterator::activation_block_num |
( |
| ) |
const |
Definition at line 621 of file protocol_feature_manager.cpp.
621 {
623 protocol_feature_iterator_exception,
624 "called activation_block_num() on singular iterator"
625 );
627 protocol_feature_iterator_exception,
628 "called activation_block_num() on end iterator"
629 );
630
632 }
#define SYS_ASSERT(expr, exc_type, FORMAT,...)
static constexpr std::size_t end_index
vector< protocol_feature_entry > _activated_protocol_features
◆ activation_ordinal()
uint32_t sysio::chain::protocol_feature_manager::const_iterator::activation_ordinal |
( |
| ) |
const |
Definition at line 608 of file protocol_feature_manager.cpp.
608 {
610 protocol_feature_iterator_exception,
611 "called activation_ordinal() on singular iterator"
612 );
614 protocol_feature_iterator_exception,
615 "called activation_ordinal() on end iterator"
616 );
617
619 }
◆ get_pointer()
const protocol_feature * sysio::chain::protocol_feature_manager::const_iterator::get_pointer |
( |
| ) |
const |
|
protected |
◆ operator*()
const protocol_feature & sysio::chain::protocol_feature_manager::const_iterator::operator* |
( |
| ) |
const |
|
inline |
◆ operator++() [1/2]
◆ operator++() [2/2]
const_iterator sysio::chain::protocol_feature_manager::const_iterator::operator++ |
( |
int | | ) |
|
|
inline |
◆ operator--() [1/2]
Definition at line 646 of file protocol_feature_manager.cpp.
646 {
647 SYS_ASSERT(
_pfm, protocol_feature_iterator_exception,
"cannot decrement singular iterator" );
650 protocol_feature_iterator_exception,
651 "cannot decrement end iterator when no protocol features have been activated"
652 );
654 } else {
656 protocol_feature_iterator_exception,
657 "cannot decrement iterator at the beginning of protocol feature activation list" )
658 ;
660 }
661 return *this;
662 }
◆ operator--() [2/2]
const_iterator sysio::chain::protocol_feature_manager::const_iterator::operator-- |
( |
int | | ) |
|
|
inline |
◆ operator->()
const protocol_feature * sysio::chain::protocol_feature_manager::const_iterator::operator-> |
( |
| ) |
const |
|
inline |
◆ operator!=
◆ operator==
◆ protocol_feature_manager
◆ _index
std::size_t sysio::chain::protocol_feature_manager::const_iterator::_index = 0 |
|
protected |
◆ _pfm
◆ end_index
std::size_t sysio::chain::protocol_feature_manager::const_iterator::end_index = std::numeric_limits<std::size_t>::max() |
|
staticconstexprprotected |
The documentation for this class was generated from the following files: