ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/Exclude.hpp
Revision: 435
Committed: Fri Mar 28 19:33:37 2003 UTC (21 years, 3 months ago) by mmeineke
File size: 619 byte(s)
Log Message:
fixed a bug where the Excludes were not being created properly

File Contents

# Content
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__