2 |
|
|
3 |
|
#define __EXCLUDE_H__ |
4 |
|
|
5 |
+ |
#include <iostream> |
6 |
|
#include <set> |
7 |
|
#include <utility> |
8 |
< |
#include <iostream> |
8 |
> |
#include <vector> |
9 |
|
|
10 |
|
namespace oopse { |
11 |
|
|
17 |
|
class Exclude { |
18 |
|
public: |
19 |
|
|
20 |
< |
Exclude(); |
20 |
> |
Exclude() : modified_(false) {} |
21 |
|
|
21 |
– |
~Exclude(); |
22 |
|
|
23 |
|
/** Adds a pair into this Exclude class */ |
24 |
|
void addPair(int i, int j); |
41 |
|
int *getExcludeList(); |
42 |
|
|
43 |
|
/** write out the exclusion list to an ostream */ |
44 |
< |
friend std::ostream& operator(std::ostream& o, Exclude& e); |
44 |
> |
friend std::ostream& operator <<(std::ostream& o, Exclude& e); |
45 |
|
|
46 |
|
private: |
47 |
|
|