Public Member Functions | Private Attributes

util::Compact3D< T > Class Template Reference

provide three dimensional arrays which are compact in memory (for cache performance). More...

#include <util/compact.hpp>


Detailed Description

template<typename T>
class util::Compact3D< T >

provide three dimensional arrays which are compact in memory (for cache performance).

It does not use the [] operator but the () operator.

List of all members.

Public Member Functions

 Compact3D (int x, int y, int z)
const Toperator() (int x, int y, int z) const
Toperator() (int x, int y, int z)
 ~Compact3D ()

Private Attributes

int sizeX
int sizeY
int sizeZ
Tdata

Constructor & Destructor Documentation

template<typename T >
util::Compact3D< T >::Compact3D ( int  x,
int  y,
int  z 
) [inline]
template<typename T >
util::Compact3D< T >::~Compact3D (  )  [inline]

Member Function Documentation

template<typename T >
const T& util::Compact3D< T >::operator() ( int  x,
int  y,
int  z 
) const [inline]
template<typename T >
T& util::Compact3D< T >::operator() ( int  x,
int  y,
int  z 
) [inline]

Member Data Documentation

template<typename T >
T* util::Compact3D< T >::data [private]
template<typename T >
int util::Compact3D< T >::sizeX [private]
template<typename T >
int util::Compact3D< T >::sizeY [private]
template<typename T >
int util::Compact3D< T >::sizeZ [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines