SemOpt  0.2alpha5-SCC
AF.h
1 /*
2  * AF.h
3  *
4  * Created on: 13/mag/2013
5  * Author: valla
6  */
7 
8 #ifndef GRAPH_H_
9 #define GRAPH_H_
10 
11 #include <map>
12 #include <fstream>
13 
14 #include "Argument.h"
15 class SetArguments;
17 
18 using namespace std;
19 
20 class AF
21 {
22  SetArguments *arguments;
23  //vector<pair<int, int> > raw_attacks;
24  //map<Argument *, SetArguments *> attacks;
25  //map<Argument *, SetArguments *> attackers;
26 public:
27  AF();
28  virtual ~AF();
29  bool readFile(string file);
30  int numArgs();
31  Argument *getArgumentByName(string);
32  Argument *getArgumentByNumber(int position);
33  SetArguments *get_arguments() const;
34  SetArgumentsIterator begin();
36 };
37 
38 #include "SetArguments.h"
39 
40 #endif /* GRAPH_H_ */