Files

17 lines
381 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