code::Data4D< T1, T2, T3, T4, X >::Coord Class Reference

List of all members.

Detailed Description

template<class T1, class T2, class T3, class T4, class X>
class code::Data4D< T1, T2, T3, T4, X >::Coord

A coordinate for Data4D.


Public Member Functions

 Coord (size_t i, size_t j, size_t k, size_t m)
 Pass in the four coords.
size_t operator[] (size_t i) const
 i should be 0,1,2,3 only.
size_t first () const
 The first (row) coordinate.
size_t second () const
 The second (col) coordinate.
size_t third () const
 The third (ht) coordinate.
size_t fourth () const
 The fourth (ht) coordinate.


Constructor & Destructor Documentation

template<class T1, class T2, class T3, class T4, class X>
code::Data4D< T1, T2, T3, T4, X >::Coord::Coord ( size_t  i,
size_t  j,
size_t  k,
size_t  m 
) [inline]

Pass in the four coords.

0 is the slower varying coordinate.


Member Function Documentation

template<class T1, class T2, class T3, class T4, class X>
size_t code::Data4D< T1, T2, T3, T4, X >::Coord::first (  )  const [inline]

The first (row) coordinate.

template<class T1, class T2, class T3, class T4, class X>
size_t code::Data4D< T1, T2, T3, T4, X >::Coord::fourth (  )  const [inline]

The fourth (ht) coordinate.

template<class T1, class T2, class T3, class T4, class X>
size_t code::Data4D< T1, T2, T3, T4, X >::Coord::operator[] ( size_t  i  )  const [inline]

i should be 0,1,2,3 only.

O is the slower varying coordinate.

template<class T1, class T2, class T3, class T4, class X>
size_t code::Data4D< T1, T2, T3, T4, X >::Coord::second (  )  const [inline]

The second (col) coordinate.

template<class T1, class T2, class T3, class T4, class X>
size_t code::Data4D< T1, T2, T3, T4, X >::Coord::third (  )  const [inline]

The third (ht) coordinate.


Generated on Fri May 4 13:40:11 2012 for WDSS-IIw2 by  doxygen 1.4.7