array.h File Reference

#include <stdlib.h>
#include "types.h"
#include "data-visitor.h"
#include "coordinates.h"
#include "array-meta.h"
#include "type-names.h"

Include dependency graph for array.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Array< D, T >
 multi dimensional arrays More...

Defines

#define GETFIELD(NR)

Functions

 GETFIELD (2)
 GETFIELD (3)
 GETFIELD (4)
 GETFIELD (5)
 GETFIELD (6)
 GETFIELD (7)
 GETFIELD (8)


Define Documentation

#define GETFIELD ( NR   ) 

Value:

template <int D, class T> \
Data Array<D,T>::getField##NR(int idx) \
{\
   assert(D==NR);\
   assert(D>1);\
   Position<D> p;\
   p[0]=idx;\
   From<D> f(p);\
   Select<NR-1> s;\
   for(int i = 0 ; i < D-1;i++)\
     s[i]=i+1;\
   Array<NR-1,T> result((*this)(f),s);\
   return result;\
}

Definition at line 327 of file array.h.


Function Documentation

GETFIELD (  ) 

GETFIELD (  ) 

GETFIELD (  ) 

GETFIELD (  ) 

GETFIELD (  ) 

GETFIELD (  ) 

GETFIELD (  ) 


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