|
OverSim
|
.h More...
#include <SimpleCoordDataContainer.h>
Classes | |
| class | hashFcn |
| defines a hash function for SimpleCoordinate More... | |
Public Member Functions | |
| SimpleCoordinate () | |
| virtual | ~SimpleCoordinate () |
| bool | operator< (const SimpleCoordinate &compSimpleCoordinate) const |
| comapares this to a given coordinate | |
| bool | operator> (const SimpleCoordinate &compSimpleCoordinate) const |
| comapares this to a given coordinate | |
| bool | operator== (const SimpleCoordinate &compSimpleCoordinate) const |
| comapares this to a given coordinate | |
| size_t | hash () const |
| returns a hash value | |
Public Attributes | |
| std::vector< int > | coordData |
Protected Member Functions | |
| int | compareTo (const SimpleCoordinate &compSimpleCoordinate) const |
| Unifies all compare operations in one method. | |
.h
Definition at line 32 of file SimpleCoordDataContainer.h.
| SimpleCoordinate::SimpleCoordinate | ( | ) |
Definition at line 53 of file SimpleCoordDataContainer.cc.
|
virtual |
Definition at line 58 of file SimpleCoordDataContainer.cc.
|
protected |
Unifies all compare operations in one method.
| compSimpleCoordinate | simpleCoord to compare with |
Definition at line 62 of file SimpleCoordDataContainer.cc.
Referenced by operator<(), operator==(), and operator>().
| size_t SimpleCoordinate::hash | ( | ) | const |
returns a hash value
Definition at line 78 of file SimpleCoordDataContainer.cc.
Referenced by SimpleCoordinate::hashFcn::operator()().
| bool SimpleCoordinate::operator< | ( | const SimpleCoordinate & | compSimpleCoordinate | ) | const |
comapares this to a given coordinate
| compSimpleCoordinate | SimpleCoordinate to compare to |
Definition at line 89 of file SimpleCoordDataContainer.cc.
| bool SimpleCoordinate::operator== | ( | const SimpleCoordinate & | compSimpleCoordinate | ) | const |
comapares this to a given coordinate
| compSimpleCoordinate | SimpleCoordinate to compare to |
Definition at line 97 of file SimpleCoordDataContainer.cc.
| bool SimpleCoordinate::operator> | ( | const SimpleCoordinate & | compSimpleCoordinate | ) | const |
comapares this to a given coordinate
| compSimpleCoordinate | SimpleCoordinate to compare to |
Definition at line 93 of file SimpleCoordDataContainer.cc.
| std::vector<int> SimpleCoordinate::coordData |
Definition at line 74 of file SimpleCoordDataContainer.h.
Referenced by compareTo(), StrategySimplifyCoords::decode(), hash(), and StrategySimplifyCoords::simplify().