#include <appopts.h>
Public Methods | |
AppOptions () | |
~AppOptions () | |
bool | parseArgs (int argc, char **argv) |
bool | setOutName (const char *basename) |
Public Attributes | |
bool | errhelp |
char* | inputfname |
char* | woutname |
char* | ncpoutname |
char* | ioutname |
char* | baseoutname |
bool | create_instance |
Private Methods | |
bool | trySetOutName (char *) |
void | usage (void) |
appopt in appopts.h is only instance of this class.
|
AppOptions constructor desctip? and this? |
|
dtor |
|
parses command line args.
|
|
Sets the output file names (woutname, ncpoutname, ioutname) according to the given basename, including auto-detection of file type |
|
Parses the |
|
Prints the "usage" info message |
|
Base of output name |
|
If |
|
If |
|
Name of command file to process |
|
Name of .i-w or .i-p output file |
|
Name of .ncp output file |
|
Name of .w or .prm output file |