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

PString PArgList::GetParameter ( PINDEX  num ) const

Get the parameter that was parsed in the argument list.

parameter string at the specified index.
numNumber of the parameter to retrieve.

Definition at line 1739 of file osutils.cxx.

References argumentArray, IllegalArgumentIndex(), parameterIndex, and shift.

Referenced by operator[]().

  int idx = shift+(int)num;
  if (idx >= 0 && idx < (int)parameterIndex.GetSize())
    return argumentArray[parameterIndex[idx]];

  return PString();

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index