Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

PArgList::PArgList ( int  theArgc,
char **  theArgv,
const char *  argumentSpecPtr = NULL,
BOOL  optionsBeforeParams = TRUE 

Create an argument list.

theArgcCount of argument strings in theArgv
theArgvAn array of strings constituting the arguments
argumentSpecPtrThe specification C string for argument options. See description for details.
optionsBeforeParamsParse options only before parameters

Definition at line 1449 of file osutils.cxx.

References Parse(), and SetArgs().

  // get the program arguments
  SetArgs(theArgc, theArgv);

  // if we got an argument spec - so process them
  if (theArgumentSpec != NULL)
    Parse(theArgumentSpec, optionsBeforeParams);

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index