#include <coord.h>
Public Member Functions | |
Coordinate (void) | |
Coordinate (const Coordinate< dimension > &c) | |
virtual | ~Coordinate () |
unsigned int & | operator[] (const int index) throw (OutOfRangeException<int>) |
const unsigned int & | operator[] (const int index) const throw (OutOfRangeException<int>) |
seal::Coordinate< dimension >::Coordinate | ( | void | ) | [inline] |
Constructor.
seal::Coordinate< dimension >::Coordinate | ( | const Coordinate< dimension > & | c | ) | [inline] |
Copy constructor.
virtual seal::Coordinate< dimension >::~Coordinate | ( | ) | [inline, virtual] |
Destructor.
unsigned int & seal::Coordinate< dimension >::operator[] | ( | const int | index | ) | throw (OutOfRangeException<int>) [inline, virtual] |
Returns a reference to the coordinate value of the coordinate with the specified index. If the index is beyond the range of the seal::Coordinate
object, then it throws an seal::OutOfRangeException
.
Implements seal::RandomAccess< unsigned int >.
const unsigned int & seal::Coordinate< dimension >::operator[] | ( | const int | index | ) | const throw (OutOfRangeException<int>) [inline, virtual] |
Returns a constant reference to the coordinate value of the coordinate with the specified index. If the index is beyond the range of the seal::Coordinate
object, then it throws an seal::OutOfRangeException
.
Implements seal::RandomAccess< unsigned int >.