| 1 |
mmeineke |
408 |
#ifndef __EXCLUDE_H__ |
| 2 |
|
|
#define __EXCLUDE_H__ |
| 3 |
|
|
|
| 4 |
|
|
class Exclude{ |
| 5 |
|
|
|
| 6 |
|
|
public: |
| 7 |
|
|
Exclude(int theIndex); |
| 8 |
|
|
~Exclude(){} |
| 9 |
|
|
|
| 10 |
gezelter |
410 |
static int* exPairs; // The Excludes array |
| 11 |
|
|
static int nExcludes; |
| 12 |
|
|
|
| 13 |
mmeineke |
408 |
static void createArray( int nExludes ); |
| 14 |
|
|
static void destroyArray( void ); |
| 15 |
gezelter |
410 |
static int* getArray( void ){ return exPairs; } |
| 16 |
mmeineke |
435 |
|
| 17 |
mmeineke |
412 |
static void addExcludePairs(int nAdded, int* AexPair); |
| 18 |
|
|
static void deleteExcludePair(int theIndex); |
| 19 |
|
|
static void deleteRange(int startIndex, int stopIndex); |
| 20 |
gezelter |
410 |
|
| 21 |
mmeineke |
408 |
void setPair( int i, int j); |
| 22 |
mmeineke |
435 |
void printMe( void ); |
| 23 |
mmeineke |
408 |
|
| 24 |
|
|
protected: |
| 25 |
|
|
|
| 26 |
mmeineke |
435 |
int index; |
| 27 |
mmeineke |
408 |
int exI; |
| 28 |
|
|
int exJ; |
| 29 |
|
|
}; |
| 30 |
|
|
|
| 31 |
|
|
|
| 32 |
|
|
|
| 33 |
|
|
|
| 34 |
|
|
#endif // __EXCLUDE_H__ |