Example #1
0
 // very simple callback method for linked list's print list method's use
 void PrintCallback( void ) { cout << key.getKey() << '\t' << name << endl; }
Example #2
0
 int getKey( void ) { return key.getKey(); }
Example #3
0
 bool operator <=( int rhs ) { return key.getKey() <= rhs; }
Example #4
0
 bool operator <( int rhs ) { return key.getKey() < rhs; }
Example #5
0
 bool operator >=( int rhs ) { return key.getKey() >= rhs; }
Example #6
0
 // also, since the key is an int, define operators on int keys
 bool operator >( int rhs ) { return key.getKey() > rhs; }