class TMMarray

template for multi-dimensional arrays of any type T. More...

Definition#include <F2_layout.h>
Template formTMMarray<class T>
InheritsTCuboidLT [public ]
Inherited byTMCubeParameter, TMLookUpTable, TMMarrayParameter, TMMatrixParameter, TMNumMarray, TMNumMarrayParameter, TMParameter0D, TMParameter1D, TMParameter2D, TMScalarParameter, TMVectorArrayPar, TMVectorPar, TMVectorParameter
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Public Members

Protected Members


Detailed Description

TMMarray is the base template for multi-dimensional arrays. A TMMarray is physically implemented as a one-dimensional array (field T* data), where the topographical information is represented by a cuboid layout TCuboidLT. Actually, TMMarray inherits from TCuboidLT.

T* data

data

 TMMarray (const TCuboidLT& layout)

TMMarray

 TMMarray (const TCuboidLT& layout, T* data_arg)

TMMarray

 TMMarray (const TMMarray& copy)

TMMarray

 TMMarray (const TMMarray& copy, T* data_arg)

TMMarray

 ~TMMarray ()

~TMMarray

void  operator= (const TMMarray& copy)

operator=

Reimplemented from TCuboidLT.

inline T&  operator[] (unsigned i)

operator[]

[const]

bool  sameDataAs (const TMMarray& ma)

sameDataAs

[const]

void  referenceBy (T* data_arg)

referenceBy

void  resize (const TCuboidLT& layout)

resize

Reimplemented from TCuboidLT.

void  resize (const TCuboidLT& layout, int keepGenericFlags)

resize

Reimplemented from TCuboidLT.

void  resize (const TCuboidLT& layout, T* data_new)

resize

Reimplemented from TCuboidLT.

inline void  set (T* data_arg)

set

inline void  set (T data_arg, int* idx)

set

inline void  set (T* data_arg, int idx)

set

inline void  set (T* data_arg, int idx1, int idx2)

set

inline void  set (T* data_arg, int idx1, int idx2, int idx3)

set

inline void  set (T* data_arg, int idx1, int idx2, int idx3, int idx4)

set

inline T*  get ()

get

[const]

inline T*  get (int* idx)

get

[const]

inline T*  get (int idx)

get

[const]

inline T*  get (int idx1, int idx2)

get

[const]

inline T*  get (int idx1, int idx2, int idx3)

get

[const]

inline T*  get (int idx1, int idx2, int idx3, int idx4)

get

[const]

void  setSubBlock (TMMarray& subBlock, int* pos, T* zero)

setSubBlock

template void  rotate (TMMarray& original, TNum* rot, int* center, int* center_org, T* zero)

rotate

void  outputState (ostream & os)

outputState

Reimplemented from TCuboidLT.

friend ostream &  operator<< (ostream & os, const TMMarray & par)

operator<<

friend istream &  operator>> (istream & os, TMMarray & par)

operator>>

TReferencedFlag referencedFlag

referencedFlag

[protected]