ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/brains/Exclude.hpp
Revision: 1683
Committed: Thu Oct 28 22:34:02 2004 UTC (19 years, 9 months ago)
File size: 505 byte(s)
Log Message:
This commit was manufactured by cvs2svn to create branch 'new_design'.

File Contents

# Content
1 #ifndef __EXCLUDE_H__
2 #define __EXCLUDE_H__
3
4 #include <set>
5 #include <utility>
6
7 using namespace std;
8
9 class Exclude{
10
11 public:
12
13 ~Exclude();
14
15 void addPair(int i, int j);
16 int hasPair(int i, int j);
17 void printMe( void );
18 int getSize( void );
19 int* getFortranArray( void );
20 static Exclude* Instance();
21
22 protected:
23
24 set<pair<int, int> > excludeSet;
25 int* exPairs;
26 bool newFortranArrayNeeded;
27 Exclude();
28
29 private:
30 static Exclude* _instance;
31
32 };
33
34 #endif // __EXCLUDE_H__