This is an older class, and it should probably be deprecated in favor of better command-line parsing objects out there. More...
Classes | |
class | CommandLine |
Command Line object. More... | |
Functions | |
virtual void | CommandLine::getKeys (OUT VecString &keys)=0 throw () |
virtual bool | CommandLine::getValues (IN const char *key, OUT VecString &values)=0 throw () |
static smart_ptr< CommandLine > | CommandLine::create (IN int argc, IN const char *argv[]) throw () |
| |
const char * | getSingleKeyValue (IN CommandLine *cmd, IN const char *key, bool is_required, const char *description=NULL) throw () |
This is an older class, and it should probably be deprecated in favor of better command-line parsing objects out there.
But for whatever reason I've been using this one for most projects.
virtual void CommandLine::getKeys | ( | OUT VecString & | keys | ) | throw () [pure virtual, inherited] |
virtual bool CommandLine::getValues | ( | IN const char * | key, | |
OUT VecString & | values | |||
) | throw () [pure virtual, inherited] |
smart_ptr< CommandLine > CommandLine::create | ( | IN int | argc, | |
IN const char * | argv[] | |||
) | throw () [static, inherited] |
Definition at line 171 of file cmdline.cpp.
const char* getSingleKeyValue | ( | IN CommandLine * | cmd, | |
IN const char * | key, | |||
bool | is_required, | |||
const char * | description = NULL | |||
) | throw () |
Definition at line 192 of file cmdline.cpp.