|
ivl 679
|
1-dimensional array of type T More...
#include <array.hpp>
Inherits ivl::array_common_base< C >, and ivl::data::referer< X >.
Public Types | |
| typedef is_content_resizeable | is_cuttable |
| declared as t_true if the array = empty operation (cut) is allowed. | |
| typedef size_t | size_type |
| parameter of resize, in each class of the hierarchy | |
Public Member Functions | |
| ~array () | |
| destructor | |
Size functions | |
| size_t | length () const |
| Get the length of the element sequence. | |
| size_type | size () const |
| Get the size of the array. generic-class function. | |
| size_t | numel () const |
| Get the length of the element sequence. | |
Constructors | |
| array () | |
| array (A &a) | |
| Constructor with full array, TODO: only available when b is createable, non reference! | |
| array (A &a, const prv_b &b) | |
| The only constructor. | |
| array (size_t sz, data_init_arg d) | |
| template<class I > | |
| array (A &a, const I &b) | |
| array (const this_type &o) | |
| Copy constructor. | |
| template<class J , class P2 , class D > | |
| array (const array< J, data::indirect< A, P2, D > > &o) | |
| template<class J , class P2 , class D > | |
| array (const array< J, data::indirect< prv_second_init_a, P2, D > > &o) | |
Special Members | |
| A & | get_ref_1 () const |
| const prv_b & | get_ref_2 () const |
| template<class J , class P > | |
| size_array | merge_idx (const array< J, P > &idx) const |
| template<class D > | |
| bool | overlap (const D &d) const |
| template<class D > | |
| bool | self_overlap (const D &d) const |
| template<class D > | |
| derived_type & | assign_array (const D &o) |
Assignement Operators | |
| template<class K > | |
| derived_type & | operator= (const K &o) |
| this_type & | operator= (const this_type &o) |
1-dimensional array of type T
This class defines an simple one-dimensional array.