ArrayMeta< D, T > Class Template Reference

#include <array-meta.h>

Collaboration diagram for ArrayMeta< D, T >:

Collaboration graph
[legend]

List of all members.

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)
ArrayMetaoperator= (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


Detailed Description

template<int D, class T>
class ArrayMeta< D, T >

Definition at line 31 of file array-meta.h.


Constructor & Destructor Documentation

template<int D, class T >
ArrayMeta< D, T >::ArrayMeta ( Size< D >  size  )  [inline]

Definition at line 151 of file array-meta.h.

template<int D, class T>
ArrayMeta< D, T >::ArrayMeta ( ArrayMeta< D, T > *  other,
const From< D > &  from 
) [inline]

Definition at line 160 of file array-meta.h.

Here is the call graph for this function:

template<int D, class T>
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.

template<int D, class T>
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.

template<int D, class T>
ArrayMeta< D, T >::ArrayMeta ( ArrayMeta< D, T > *  other,
const To< D > &  to 
) [inline]

Definition at line 185 of file array-meta.h.

template<int D, class T>
ArrayMeta< D, T >::ArrayMeta ( ArrayMeta< D, T > *  other,
const From< D > &  from,
const Size< D > &  sized_to 
) [inline]

Definition at line 197 of file array-meta.h.

Here is the call graph for this function:

template<int D, class T>
ArrayMeta< D, T >::ArrayMeta ( ArrayMeta< D, T > *  other,
const From< D > &  from,
const To< D > &  to 
) [inline]

Definition at line 210 of file array-meta.h.

Here is the call graph for this function:

template<int D, class T>
ArrayMeta< D, T >::ArrayMeta ( const ArrayMeta< D, T > &   )  [inline]

Definition at line 67 of file array-meta.h.

template<int D, class T>
template<int O>
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.

template<int D, class T>
template<int O>
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.

template<int D, class T>
ArrayMeta< D, T >::~ArrayMeta (  )  [inline]

Definition at line 87 of file array-meta.h.


Member Function Documentation

template<int D, class T >
T * ArrayMeta< D, T >::address ( const From< D > &  c  )  [inline]

Definition at line 143 of file array-meta.h.

template<int D, class T >
T * ArrayMeta< D, T >::address ( const Position< D > &  c  )  [inline]

Definition at line 135 of file array-meta.h.

Here is the caller graph for this function:

template<int D, class T>
bool ArrayMeta< D, T >::decref (  )  [inline]

Definition at line 100 of file array-meta.h.

template<int D, class T>
void ArrayMeta< D, T >::deref (  )  [inline]

Definition at line 91 of file array-meta.h.

Here is the caller graph for this function:

template<int D, class T>
void ArrayMeta< D, T >::incref (  )  [inline]

Definition at line 96 of file array-meta.h.

template<int D, class T>
ArrayMeta& ArrayMeta< D, T >::operator= ( const ArrayMeta< D, T > &   )  [inline]

Definition at line 82 of file array-meta.h.

template<int D, class T >
void ArrayMeta< D, T >::printMetaInfo (  )  [inline]

Definition at line 126 of file array-meta.h.

template<int D, class T>
void ArrayMeta< D, T >::replaceAccess ( ArrayMeta< D, T > *  other  )  [inline]

Definition at line 115 of file array-meta.h.

Here is the call graph for this function:

template<int D, class T>
void ArrayMeta< D, T >::setAddress ( T *  start  )  [inline]

Definition at line 105 of file array-meta.h.


Member Data Documentation

template<int D, class T>
Delta<D> ArrayMeta< D, T >::delta

Definition at line 39 of file array-meta.h.

template<int D, class T>
T* ArrayMeta< D, T >::offset

Definition at line 37 of file array-meta.h.

template<int D, class T>
Size<D> ArrayMeta< D, T >::size

Definition at line 38 of file array-meta.h.

template<int D, class T>
ArrayStorage<T>* ArrayMeta< D, T >::storage

Definition at line 36 of file array-meta.h.


The documentation for this class was generated from the following file:

Generated on Sat Feb 20 19:04:27 2010 for Data Objects by  doxygen 1.5.9