#include <multi_type_vector_types.hpp>
Public Types | |
typedef copyable_element_block < default_element_block, _TypeId, _Data > | base_type |
typedef default_element_block < _TypeId, _Data > | self_type |
![]() | |
typedef store_type::iterator | iterator |
typedef store_type::reverse_iterator | reverse_iterator |
typedef store_type::const_iterator | const_iterator |
typedef store_type::const_reverse_iterator | const_reverse_iterator |
typedef _Data | value_type |
Public Member Functions | |
default_element_block (size_t n) | |
default_element_block (size_t n, const _Data &val) | |
template<typename _Iter > | |
default_element_block (const _Iter &it_begin, const _Iter &it_end) | |
![]() | |
bool | operator== (const default_element_block< _TypeId, _Data > &r) const |
bool | operator!= (const default_element_block< _TypeId, _Data > &r) const |
Static Public Member Functions | |
static self_type * | create_block_with_value (size_t init_size, const _Data &val) |
template<typename _Iter > | |
static self_type * | create_block_with_values (const _Iter &it_begin, const _Iter &it_end) |
static void | overwrite_values (base_element_block &, size_t, size_t) |
![]() | |
static default_element_block < _TypeId, _Data > * | clone_block (const base_element_block &blk) |
![]() | |
static const value_type & | at (const base_element_block &block, typename store_type::size_type pos) |
static value_type & | at (base_element_block &block, typename store_type::size_type pos) |
static store_type::size_type | size (const base_element_block &block) |
static iterator | begin (base_element_block &block) |
static const_iterator | begin (const base_element_block &block) |
static iterator | end (base_element_block &block) |
static const_iterator | end (const base_element_block &block) |
static reverse_iterator | rbegin (base_element_block &block) |
static const_reverse_iterator | rbegin (const base_element_block &block) |
static reverse_iterator | rend (base_element_block &block) |
static const_reverse_iterator | rend (const base_element_block &block) |
static default_element_block < _TypeId, _Data > & | get (base_element_block &block) |
static const default_element_block< _TypeId, _Data > & | get (const base_element_block &block) |
static void | set_value (base_element_block &blk, size_t pos, const _Data &val) |
static void | get_value (const base_element_block &blk, size_t pos, _Data &val) |
static value_type | get_value (const base_element_block &blk, size_t pos) |
static void | append_value (base_element_block &blk, const _Data &val) |
static void | prepend_value (base_element_block &blk, const _Data &val) |
static default_element_block < _TypeId, _Data > * | create_block (size_t init_size) |
static void | delete_block (const base_element_block *p) |
static void | resize_block (base_element_block &blk, size_t new_size) |
static void | print_block (const base_element_block &) |
static void | erase_block (base_element_block &blk, size_t pos) |
static void | erase_block (base_element_block &blk, size_t pos, size_t size) |
static void | append_values_from_block (base_element_block &dest, const base_element_block &src) |
static void | append_values_from_block (base_element_block &dest, const base_element_block &src, size_t begin_pos, size_t len) |
static void | assign_values_from_block (base_element_block &dest, const base_element_block &src, size_t begin_pos, size_t len) |
static void | prepend_values_from_block (base_element_block &dest, const base_element_block &src, size_t begin_pos, size_t len) |
static void | swap_values (base_element_block &blk1, base_element_block &blk2, size_t pos1, size_t pos2, size_t len) |
static void | set_values (base_element_block &block, size_t pos, const _Iter &it_begin, const _Iter &it_end) |
static void | append_values (base_element_block &block, const _Iter &it_begin, const _Iter &it_end) |
static void | prepend_values (base_element_block &block, const _Iter &it_begin, const _Iter &it_end) |
static void | assign_values (base_element_block &dest, const _Iter &it_begin, const _Iter &it_end) |
static void | insert_values (base_element_block &block, size_t pos, const _Iter &it_begin, const _Iter &it_end) |
static size_t | capacity (const base_element_block &block) |
static void | shrink_to_fit (base_element_block &block) |
Additional Inherited Members | |
![]() | |
static const element_t | block_type |
![]() | |
typedef std::vector< _Data > | store_type |
![]() | |
copyable_element_block (size_t n) | |
copyable_element_block (size_t n, const _Data &val) | |
copyable_element_block (const _Iter &it_begin, const _Iter &it_end) | |
![]() | |
element_block (size_t n) | |
element_block (size_t n, const _Data &val) | |
element_block (const _Iter &it_begin, const _Iter &it_end) | |
![]() | |
base_element_block (element_t _t) | |
![]() | |
store_type | m_array |
![]() | |
element_t | type |
Template for default, unmanaged element block for use in multi_type_vector.