#include <coordinates.h>

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] |
| _Coordinate< D >::_Coordinate | ( | ) | [inline] |
References _Coordinate< D >::coordinate.
| _Coordinate< D >::_Coordinate | ( | int | x | ) | [inline] |
References _Coordinate< D >::coordinate, and iterate_dimensions.
| _Coordinate< D >::_Coordinate | ( | int | x, | |
| int | y | |||
| ) | [inline] |
References assert(), and _Coordinate< D >::coordinate.
| _Coordinate< D >::_Coordinate | ( | int | x, | |
| int | y, | |||
| int | z | |||
| ) | [inline] |
References assert(), and _Coordinate< D >::coordinate.
| _Coordinate< D >::_Coordinate | ( | int | x, | |
| int | y, | |||
| int | z, | |||
| int | a | |||
| ) | [inline] |
References assert(), and _Coordinate< D >::coordinate.
| _Coordinate< D >::_Coordinate | ( | int | x, | |
| int | y, | |||
| int | z, | |||
| int | a, | |||
| int | b | |||
| ) | [inline] |
References assert(), and _Coordinate< D >::coordinate.
| _Coordinate< D >::_Coordinate | ( | int | x, | |
| int | y, | |||
| int | z, | |||
| int | a, | |||
| int | b, | |||
| int | c | |||
| ) | [inline] |
References assert(), and _Coordinate< D >::coordinate.
| bool _Coordinate< D >::has | ( | int | val | ) | const [inline] |
References _Coordinate< D >::coordinate, i, and iterate_dimensions.
| bool _Coordinate< D >::operator!= | ( | const _Coordinate< D > & | other | ) | const [inline] |
References _Coordinate< D >::coordinate, and iterate_dimensions.
| _Coordinate<D> _Coordinate< D >::operator+ | ( | const _Coordinate< D > & | other | ) | const [inline] |
References _Coordinate< D >::coordinate, and iterate_dimensions.
| _Coordinate<D>& _Coordinate< D >::operator+= | ( | const _Coordinate< D > & | other | ) | [inline] |
References _Coordinate< D >::coordinate, and iterate_dimensions.
| _Coordinate<D> _Coordinate< D >::operator- | ( | const _Coordinate< D > & | other | ) | const [inline] |
References _Coordinate< D >::coordinate, and iterate_dimensions.
| _Coordinate<D>& _Coordinate< D >::operator-= | ( | const _Coordinate< D > & | other | ) | [inline] |
References _Coordinate< D >::coordinate, and iterate_dimensions.
| void _Coordinate< D >::operator= | ( | const _Coordinate< D > & | val | ) | [inline] |
References _Coordinate< D >::coordinate, and iterate_dimensions.
| void _Coordinate< D >::operator= | ( | int | val | ) | [inline] |
References _Coordinate< D >::coordinate, and iterate_dimensions.
Referenced by _Coordinate< D >::set().
| bool _Coordinate< D >::operator== | ( | const _Coordinate< D > & | other | ) | const [inline] |
References _Coordinate< D >::coordinate, and iterate_dimensions.
| int _Coordinate< D >::operator[] | ( | int | idx | ) | const [inline] |
References _Coordinate< D >::coordinate.
| int& _Coordinate< D >::operator[] | ( | int | idx | ) | [inline] |
References _Coordinate< D >::coordinate.
| void _Coordinate< D >::print | ( | ) | [inline] |
References _Coordinate< D >::coordinate, i, and printf().
| _Coordinate< SEL > _Coordinate< D >::select | ( | const Select< SEL > & | sel | ) | [inline] |
References _Coordinate< D >::coordinate, and i.
| void _Coordinate< D >::set | ( | const _Coordinate< BROL > & | ) | [inline] |
References assert().
| void _Coordinate< D >::set | ( | const _Coordinate< D > & | s | ) | [inline] |
References _Coordinate< D >::operator=().
int _Coordinate< D >::coordinate[D] [protected] |
Referenced by _Coordinate< D >::_Coordinate(), _Coordinate< D >::has(), _Coordinate< D >::operator!=(), _Coordinate< D >::operator+(), _Coordinate< D >::operator+=(), _Coordinate< D >::operator-(), _Coordinate< D >::operator-=(), Position< D >::operator/(), _Coordinate< D >::operator=(), _Coordinate< D >::operator==(), _Coordinate< D >::operator[](), _Coordinate< D >::print(), and _Coordinate< D >::select().
1.6.2