3 #if !defined(CommandLineParser_H) 4 #define CommandLineParser_H 123 #endif // CommandLineParser_H bool _runVariableCommandFromString(const std::string &arg)
void _getSectionFiles(const SVec &inputList, SVec &outputList, int section, int totalSection)
unsigned int m_optionsType
void _finishDefaultOptions(std::string tag="")
bool _setVariablesFromFile(const std::string &filename)
static std::string removeEnding(const std::string &input, const std::string &ending)
static void split(SVec &retval, std::string line, std::string match=" \, bool ignoreComments=true)
std::string m_usageString
friend std::ostream & operator<<(std::ostream &o_stream, const CommandLineParser &rhs)
CommandLineParser(const std::string &usage, unsigned int optionsType=kEventContOpt)
void parseArguments(int argc, char **argv, bool allowArgs=false)
static void removeLeadingAndTrailingSpaces(std::string &line)
std::vector< std::string > SVec
void setPrintOptoins(bool print)
static std::string const input
static const std::string kSpaces
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
bool _setVariableFromString(const std::string &arg, bool dontOverrideChange=false, int offset=0)
static void removeComment(std::string &line)
static void findCommand(const std::string &line, std::string &command, std::string &rest)
const SVec argVec() const