Dynalib Utils
IDynaComparator.h
Go to the documentation of this file.
1 
12 #ifndef IDYNACOMPARATOR_H
13 #define IDYNACOMPARATOR_H
14 
15 int const COMPARE_LESSER = -1;
16 int const COMPARE_EQUAL = 0;
17 int const COMPARE_GREATER = 1;
18 
19 template <typename T> class IDynaComparator {
20 public:
21  virtual int compare(T obj1, T obj2) = 0;
22 };
23 
24 #endif //IDYNACOMPARATOR_H
int const COMPARE_GREATER
Definition: IDynaComparator.h:17
Definition: IDynaComparator.h:19
int const COMPARE_EQUAL
Definition: IDynaComparator.h:16
virtual int compare(T obj1, T obj2)=0
int const COMPARE_LESSER
Definition: IDynaComparator.h:15