#include <comparable.hpp>
Definition at line 46 of file comparable.hpp.
Public Member Functions | |
comparable () | |
virtual int | compare (const comparable &) const =0 |
Compares two objects. Implementations should check the type of the given object. | |
virtual | ~comparable () |
comparable | ( | ) | [inline] |
Definition at line 49 of file comparable.hpp.
virtual ~comparable | ( | ) | [inline, virtual] |
Definition at line 50 of file comparable.hpp.
virtual int compare | ( | const comparable & | ) | const [pure virtual] |
Compares two objects. Implementations should check the type of the given object.
Implemented in directory, and string.
Referenced by gsgl::data::operator!=(), gsgl::data::operator<(), gsgl::data::operator<=(), gsgl::data::operator==(), gsgl::data::operator>(), and gsgl::data::operator>=().