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

PArgList::PArgList ( int  theArgc,
char **  theArgv,
const PString argumentSpecStr,
BOOL  optionsBeforeParams = TRUE 
)

Create an argument list.

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

Definition at line 1462 of file osutils.cxx.

References Parse(), and SetArgs().

{
  // get the program name and path
  SetArgs(theArgc, theArgv);
  // we got an argument spec - so process them
  Parse(theArgumentSpec, optionsBeforeParams);
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index