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 |
|
|
void addExcludePairs(int nAdded, int* AexPair); |
17 |
|
|
void deleteExcludePair(int theIndex); |
18 |
|
|
void deleteRange(int startIndex, int stopIndex); |
19 |
|
|
|
20 |
mmeineke |
408 |
void setPair( int i, int j); |
21 |
|
|
|
22 |
|
|
protected: |
23 |
|
|
|
24 |
|
|
int exI; |
25 |
|
|
int exJ; |
26 |
|
|
}; |
27 |
|
|
|
28 |
|
|
|
29 |
|
|
|
30 |
|
|
|
31 |
|
|
#endif // __EXCLUDE_H__ |