ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-4/src/brains/Exclude.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-4/src/brains/Exclude.hpp (file contents):
Revision 1683, Thu Oct 28 22:34:02 2004 UTC vs.
Revision 1719 by tim, Fri Nov 5 23:38:27 2004 UTC

# Line 6 | Line 6 | class Exclude{
6  
7   using namespace std;
8  
9 < class Exclude{
10 <  
11 < public:
9 > namespace oopse {
10  
11 <  ~Exclude();
12 <  
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:
11 >    
12 >    class Exclude{
13  
14 <  set<pair<int, int> > excludeSet;
25 <  int* exPairs;
26 <  bool newFortranArrayNeeded;
27 <  Exclude();
14 >        public:
15  
16 < private:
30 <  static Exclude* _instance;  
16 >            ~Exclude();
17  
18 +            void addPair(int i, int j);
19 +
20 +            void removePair(int i, int j);
21 +
22 +            std::set<std::pair<int, int> >::iterator   findPair(int i, int j);
23 +
24 +            int  getSize();  
25 +
26 +            int* getExcludeList();
27 +
28 +            friend ostream& operator(ostream& o, Exclude& e);
29 +        protected:
30 +
31 +            std::set<std::pair<int, int> > excludeSet_;
32 +            std::vector<std::pair<int, int> > excludeList_;
33 +            bool modified_;
34 +
35 +
36   };    
37  
38 + }//end namespace oopse
39   #endif // __EXCLUDE_H__

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines