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