21 lines
509 B
C++
21 lines
509 B
C++
#ifndef _GUITAR_INTEGERPAIR_HPP_
|
|
#define _GUITAR_INTEGERPAIR_HPP_
|
|
|
|
class IntegerPair
|
|
{
|
|
public:
|
|
IntegerPair();
|
|
IntegerPair(const IntegerPair &integerPair);
|
|
virtual IntegerPair();
|
|
IntegerPair &operator=(const IntegerPair &integerPair);
|
|
bool operator<(const IntegerPair &integerPair);
|
|
bool operator>(const IntegerPair &integerPair);
|
|
bool operator==(const IntegerPair &integerPair);
|
|
int getValue(void)const;
|
|
void setValue(int value);
|
|
int getComparator
|
|
private:
|
|
int mValue;
|
|
int mComparator;
|
|
};
|
|
#endif |