|
ivl 679
|
#include <array.hpp>
Inherits ivl::array_common_base< C >, and ivl::data::referer< X >.
Public Types | |
| typedef ptrdiff_t | diff_type |
| difference type of iterators | |
| typedef size_t | size_type |
| parameter of resize, in each class of the hierarchy | |
Public Member Functions | |
| void | reshape (size_t len) |
| Reshape is same as resize for 1-d arrays. | |
| ~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 (A &a, m_type m) | |
| The only constructor. | |
| array (const this_type &o) | |
| Copy constructor. | |
filler constructors | |
| array () | |
| array (size_t) | |
| unused constructor with size_type | |
| template<class J , class D > | |
| array (size_t, const array< J, D > &) | |
| unused constructor with size_type and T& or A& | |
| array (size_t, const T *) | |
| unused constructor with size_type and T* | |
| template<class J , class S > | |
| array (const array< J, S > &a) | |
| unused constructor with other type array | |
Special Members | |
| template<class D > | |
| bool | overlap (const D &d) const |
| template<class D > | |
| bool | self_overlap (const D &d) const |
Assignement Operators | |
| this_type & | operator= (const this_type &a) |
Member array is a wrapper that creates a virtual array containing a certain member of a struct from the members of the original array.