18 lines
402 B
C++
18 lines
402 B
C++
// inputparser.h
|
|
// @author iain
|
|
#ifndef INPUTPARSER_H
|
|
#define INPUTPARSER_H
|
|
|
|
#include <vector>
|
|
|
|
class InputParser
|
|
{
|
|
std::vector <std::string> tokens;
|
|
|
|
public:
|
|
InputParser (int &argc, char **argv);
|
|
const std::string& getCmdOption(const std::string &option) const;
|
|
bool cmdOptionExists(const std::string &option) const;
|
|
};
|
|
|
|
#endif // ___INPUTPARSER_H
|