]> git.localhorst.tv Git - l2e.git/blob - src/app/Arguments.h
added argument interpreter
[l2e.git] / src / app / Arguments.h
1 /*
2  * Arguments.h
3  *
4  *  Created on: Sep 15, 2012
5  *      Author: holy
6  */
7
8 #ifndef APP_ARGUMENTS_H_
9 #define APP_ARGUMENTS_H_
10
11 #include <vector>
12
13 namespace app {
14
15 class Arguments {
16
17 public:
18         Arguments();
19         ~Arguments() { }
20
21 public:
22         void Read(int argc, char **argv);
23
24         const std::vector<char *> &Infiles() const { return infiles; }
25
26         bool OutfileSet() const { return outfile; }
27         const char *OutfilePath() const { return outfile; }
28
29 private:
30         std::vector<char *> infiles;
31         const char *outfile;
32
33 };
34
35 }
36
37 #endif /* APP_ARGUMENTS_H_ */