This is an older class, and it should probably be deprecated in favor of better command-line parsing objects out there.
More...
Detailed Description
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.
Function Documentation
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] |
const char* getSingleKeyValue |
( |
IN CommandLine * |
cmd, |
|
|
IN const char * |
key, |
|
|
bool |
is_required, |
|
|
const char * |
description = NULL | |
|
) |
| | throw () |