class Appl: addArgs function added.

This commit is contained in:
Roland Jax
2014-06-02 22:04:08 +02:00
parent bc7b4d91b0
commit 370cac97fb
6 changed files with 36 additions and 8 deletions
+6
View File
@@ -61,6 +61,9 @@ public:
~Appl();
void addArgs(const std::string argTxt, const int argNum);
std::string getArg(const int argNum) const { return m_argv[m_argc - 1 - m_argNum + argNum]; }
void addItem(const char* name, Param param, const char* shortname,
const char* longname, const char* description,
Datatype datatype, Optiontype optiontype);
@@ -84,6 +87,9 @@ private:
Optiontype optiontype;
};
std::string m_argTxt;
int m_argNum;
int m_argc;
std::vector<std::string> m_argv;