Class: ewol::CommandLine
Synopsis:
+ void parse (int32_t _argc,
const char * _argv);
+ int32_t size (void);
+ const std::string & get (int32_t _id);
+ void add (const std::string & _newElement);
+ void remove (int32_t _id);
Detail:
parse ()
void parse(int32_t _argc,
const char * _argv);
Parse the command line parameters
size ()
int32_t size(void);
get the number of element in the Command line
Return: the number of element
get ()
const std::string & get(int32_t _id);
get an element with a specific ID
Return: _id The cmdLine Id element
add ()
void add(const std::string & _newElement);
add one element at the Command line
Parameter [input]: _newElement String in the input that might be added.
remove ()
void remove(int32_t _id);
remove an element
Parameter [input]: _id Id of the element
parse ()
void parse(int32_t _argc, const char * _argv);
Parse the command line parameters
size ()
int32_t size(void);
get the number of element in the Command line
-
Return: the number of element
get ()
const std::string & get(int32_t _id);
get an element with a specific ID
-
Return: _id The cmdLine Id element
add ()
void add(const std::string & _newElement);
add one element at the Command line
-
Parameter [input]: _newElement String in the input that might be added.
remove ()
void remove(int32_t _id);
remove an element
-
Parameter [input]: _id Id of the element