Public Types |
typedef CoordsIterator | Iterator |
Public Methods |
| Coords (void) |
| Coords (int const r, int const val) |
| Coords (int const r, int const *val) |
| Coords (Coords const &other) |
| Coords (int const r, int const i, int const j) |
| Coords (int const r, int const i, int const j, int const k) |
Coords & | operator= (Coords const &rhs) |
Coords & | operator= (const int &rhs) |
| ~Coords () |
int & | operator() (int const i) |
int | operator() (int const i) const |
int * | operator() (void) |
int * | operator() (void) const |
| operator int * () |
| operator int * () const |
| operator long int * () |
| operator const long int * () const |
Coords & | operator+= (Coords const &rhs) |
Coords | operator+ (Coords const &rhs) const |
Coords & | operator-= (Coords const &rhs) |
Coords | operator- (Coords const &rhs) const |
Coords & | operator *= (Coords const &rhs) |
Coords | operator * (Coords const &rhs) const |
Coords & | operator/= (Coords const &rhs) |
Coords | operator/ (Coords const &rhs) const |
Coords & | operator%= (Coords const &rhs) |
Coords | operator% (Coords const &rhs) const |
Coords & | operator+= (int const rhs) |
Coords | operator+ (int const rhs) const |
Coords & | operator-= (int const rhs) |
Coords | operator- (int const rhs) const |
Coords & | operator *= (int const rhs) |
Coords | operator * (int const rhs) const |
Coords & | operator/= (int const rhs) |
Coords | operator/ (int const rhs) const |
Coords & | operator%= (int const rhs) |
Coords | operator% (int const rhs) const |
Coords | operator- () const |
int | operator!= (Coords const &rhs) const |
int | operator== (Coords const &rhs) const |
int | operator> (Coords const &rhs) const |
int | operator< (Coords const &rhs) const |
void | setval (int const val) |
void | setval (Coords const rhs) |
void | min (Coords const &rhs) |
void | max (Coords const &rhs) |
Coords | getmin (Coords const &rhs) const |
Coords | getmax (Coords const &rhs) const |
Public Attributes |
int | rank |
Static Public Attributes |
Coords | _empty_coords |
Friends |
istream & | operator>> (istream &s, Coords &c) |
ostream & | operator<< (ostream &s, const Coords &c) |
ifstream & | operator>> (ifstream &s, Coords &c) |
ofstream & | operator<< (ofstream &s, const Coords &c) |
This class is sort of an adaptation and extension of the from Class RegionX of LPARX developed by Scott Kohn (skohn-at-cs.ucsd.edu)