36 #ifndef COMMANDLINEARGUMENTS_HPP_ 37 #define COMMANDLINEARGUMENTS_HPP_ 41 #include <boost/utility.hpp> 219 #endif // COMMANDLINEARGUMENTS_HPP_ std::vector< std::string > GetStringsCorrespondingToOption(const std::string &rOption)
std::vector< double > GetDoublesCorrespondingToOption(const std::string &rOption)
char * GetValueCorrespondingToOption(const std::string &rOption, int valueNumber=1)
std::vector< unsigned > GetUnsignedsCorrespondingToOption(const std::string &rOption)
void TestOptionFormat(const std::string &rOption)
static CommandLineArguments * mpInstance
int GetIndexForArgument(std::string rOption)
bool OptionExists(const std::string &rOption)
std::vector< int > GetIntsCorrespondingToOption(const std::string &rOption)
bool GetBoolCorrespondingToOption(const std::string &rOption)
std::string GetStringCorrespondingToOption(const std::string &rOption, int valueNumber=1)
double GetDoubleCorrespondingToOption(const std::string &rOption, int valueNumber=1)
int GetIntCorrespondingToOption(const std::string &rOption, int valueNumber=1)
static CommandLineArguments * Instance()
int GetNumberOfArgumentsForOption(const std::string &rOption, bool throwIfNone=false)
unsigned GetUnsignedCorrespondingToOption(const std::string &rOption, int valueNumber=1)