11#ifndef UTILS_IO_INPUTPARSER_H
12#define UTILS_IO_INPUTPARSER_H
36 for (
int i = 1; i < argc; ++i)
37 this->
tokens.push_back(std::string(argv[i]));
46 std::vector<std::string>::const_iterator itr;
47 itr = std::find(this->
tokens.begin(), this->tokens.end(), option);
48 if (itr != this->
tokens.end() && ++itr != this->tokens.end())
51 static const std::string empty_string(
"");
61 return std::find(this->
tokens.begin(), this->tokens.end(), option) != this->
tokens.end();
Collection of methods useful in simulation.