#include <array-meta.h>
Public Member Functions | |
ArrayMeta (Size< D > size) | |
ArrayMeta (ArrayMeta< D, T > *other, const From< D > &from) | |
ArrayMeta (ArrayStorage< T > *store, const Size< D > &size_to) | |
ArrayMeta (ArrayMeta< D, T > *other, const Size< D > &sized_to) | |
ArrayMeta (ArrayMeta< D, T > *other, const To< D > &to) | |
ArrayMeta (ArrayMeta< D, T > *other, const From< D > &from, const Size< D > &sized_to) | |
ArrayMeta (ArrayMeta< D, T > *other, const From< D > &from, const To< D > &to) | |
ArrayMeta (const ArrayMeta &) | |
template<int O> | |
ArrayMeta (const ArrayMeta< O, T > &o) | |
template<int O> | |
ArrayMeta (const ArrayMeta< O, T > &o, const Select< D > &selected) | |
ArrayMeta & | operator= (const ArrayMeta &) |
~ArrayMeta () | |
void | deref () |
void | incref () |
bool | decref () |
void | replaceAccess (ArrayMeta< D, T > *other) |
void | setAddress (T *start) |
T * | address (const Position< D > &c) |
T * | address (const From< D > &c) |
void | printMetaInfo () |
Public Attributes | |
ArrayStorage< T > * | storage |
T * | offset |
Size< D > | size |
Delta< D > | delta |
Definition at line 31 of file array-meta.h.
Definition at line 151 of file array-meta.h.
ArrayMeta< D, T >::ArrayMeta | ( | ArrayStorage< T > * | store, | |
const Size< D > & | size_to | |||
) | [inline] |
This constructor accepts store as the storage and will increase the reference counter of the store with one. The sizes are set to the given size_to
Definition at line 49 of file array-meta.h.
ArrayMeta< D, T >::ArrayMeta | ( | ArrayMeta< D, T > * | other, | |
const Size< D > & | sized_to | |||
) | [inline] |
This function returns a meta description based on other but with a reduced size
Definition at line 174 of file array-meta.h.
ArrayMeta< D, T >::ArrayMeta | ( | ArrayMeta< D, T > * | other, | |
const To< D > & | to | |||
) | [inline] |
Definition at line 185 of file array-meta.h.
Definition at line 67 of file array-meta.h.
ArrayMeta< D, T >::ArrayMeta | ( | const ArrayMeta< O, T > & | o | ) | [inline] |
this function will return a meta description based on other but with a new larger dimensionality
Definition at line 244 of file array-meta.h.
ArrayMeta< D, T >::ArrayMeta | ( | const ArrayMeta< O, T > & | o, | |
const Select< D > & | selected | |||
) | [inline] |
this function returns a meta description based on o but with only the selected dimensions remaining
Definition at line 226 of file array-meta.h.
Definition at line 87 of file array-meta.h.
Definition at line 143 of file array-meta.h.
bool ArrayMeta< D, T >::decref | ( | ) | [inline] |
Definition at line 100 of file array-meta.h.
void ArrayMeta< D, T >::deref | ( | ) | [inline] |
void ArrayMeta< D, T >::incref | ( | ) | [inline] |
Definition at line 96 of file array-meta.h.
ArrayMeta& ArrayMeta< D, T >::operator= | ( | const ArrayMeta< D, T > & | ) | [inline] |
Definition at line 82 of file array-meta.h.
void ArrayMeta< D, T >::printMetaInfo | ( | ) | [inline] |
Definition at line 126 of file array-meta.h.
void ArrayMeta< D, T >::setAddress | ( | T * | start | ) | [inline] |
Definition at line 105 of file array-meta.h.
Definition at line 39 of file array-meta.h.
Definition at line 37 of file array-meta.h.
Definition at line 38 of file array-meta.h.
ArrayStorage<T>* ArrayMeta< D, T >::storage |
Definition at line 36 of file array-meta.h.