_Coordinate< D > Class Template Reference

#include <coordinates.h>

List of all members.

Public Member Functions

 _Coordinate ()
 _Coordinate (int x)
 _Coordinate (int x, int y)
 _Coordinate (int x, int y, int z)
 _Coordinate (int x, int y, int z, int a)
 _Coordinate (int x, int y, int z, int a, int b)
 _Coordinate (int x, int y, int z, int a, int b, int c)
bool has (int val) const
void operator= (int val)
void operator= (const _Coordinate< D > &val)
_Coordinate< D > operator+ (const _Coordinate< D > &other) const
_Coordinate< D > & operator+= (const _Coordinate< D > &other)
_Coordinate< D > operator- (const _Coordinate< D > &other) const
_Coordinate< D > & operator-= (const _Coordinate< D > &other)
bool operator== (const _Coordinate< D > &other) const
bool operator!= (const _Coordinate< D > &other) const
int & operator[] (int idx)
int operator[] (int idx) const
void print ()
template<int SEL>
_Coordinate< SEL > select (const Select< SEL > &sel)
void set (const _Coordinate< D > &s)
template<int BROL>
void set (const _Coordinate< BROL > &)

Protected Attributes

int coordinate [D]


Detailed Description

template<int D>
class _Coordinate< D >

Definition at line 47 of file coordinates.h.


Constructor & Destructor Documentation

template<int D>
_Coordinate< D >::_Coordinate (  )  [inline]

Definition at line 56 of file coordinates.h.

template<int D>
_Coordinate< D >::_Coordinate ( int  x  )  [inline]

Definition at line 57 of file coordinates.h.

template<int D>
_Coordinate< D >::_Coordinate ( int  x,
int  y 
) [inline]

Definition at line 61 of file coordinates.h.

template<int D>
_Coordinate< D >::_Coordinate ( int  x,
int  y,
int  z 
) [inline]

Definition at line 67 of file coordinates.h.

template<int D>
_Coordinate< D >::_Coordinate ( int  x,
int  y,
int  z,
int  a 
) [inline]

Definition at line 74 of file coordinates.h.

template<int D>
_Coordinate< D >::_Coordinate ( int  x,
int  y,
int  z,
int  a,
int  b 
) [inline]

Definition at line 82 of file coordinates.h.

template<int D>
_Coordinate< D >::_Coordinate ( int  x,
int  y,
int  z,
int  a,
int  b,
int  c 
) [inline]

Definition at line 91 of file coordinates.h.


Member Function Documentation

template<int D>
bool _Coordinate< D >::has ( int  val  )  const [inline]

Definition at line 101 of file coordinates.h.

template<int D>
bool _Coordinate< D >::operator!= ( const _Coordinate< D > &  other  )  const [inline]

Definition at line 143 of file coordinates.h.

template<int D>
_Coordinate<D> _Coordinate< D >::operator+ ( const _Coordinate< D > &  other  )  const [inline]

Definition at line 115 of file coordinates.h.

template<int D>
_Coordinate<D>& _Coordinate< D >::operator+= ( const _Coordinate< D > &  other  )  [inline]

Definition at line 121 of file coordinates.h.

template<int D>
_Coordinate<D> _Coordinate< D >::operator- ( const _Coordinate< D > &  other  )  const [inline]

Definition at line 126 of file coordinates.h.

template<int D>
_Coordinate<D>& _Coordinate< D >::operator-= ( const _Coordinate< D > &  other  )  [inline]

Definition at line 132 of file coordinates.h.

template<int D>
void _Coordinate< D >::operator= ( const _Coordinate< D > &  val  )  [inline]

Definition at line 111 of file coordinates.h.

template<int D>
void _Coordinate< D >::operator= ( int  val  )  [inline]

Definition at line 107 of file coordinates.h.

Here is the caller graph for this function:

template<int D>
bool _Coordinate< D >::operator== ( const _Coordinate< D > &  other  )  const [inline]

Definition at line 137 of file coordinates.h.

template<int D>
int _Coordinate< D >::operator[] ( int  idx  )  const [inline]

Definition at line 153 of file coordinates.h.

template<int D>
int& _Coordinate< D >::operator[] ( int  idx  )  [inline]

Definition at line 149 of file coordinates.h.

template<int D>
void _Coordinate< D >::print (  )  [inline]

Definition at line 157 of file coordinates.h.

template<int D>
template<int SEL>
_Coordinate<SEL> _Coordinate< D >::select ( const Select< SEL > &  sel  )  [inline]

template<int D>
template<int BROL>
void _Coordinate< D >::set ( const _Coordinate< BROL > &   )  [inline]

Definition at line 168 of file coordinates.h.

template<int D>
void _Coordinate< D >::set ( const _Coordinate< D > &  s  )  [inline]

Definition at line 163 of file coordinates.h.


Member Data Documentation

template<int D>
int _Coordinate< D >::coordinate[D] [protected]

Definition at line 53 of file coordinates.h.


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

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