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

const PHTTPField * PHTTPCompositeField::LocateName ( const PString name ) const [virtual, inherited]

Locate the field naem, recusing down for composite fields.

Returns:
Pointer to located field, or NULL if not found.

Reimplemented from PHTTPField.

Definition at line 607 of file httpform.cxx.

Referenced by PHTTPForm::OnLoadedText().

{
  if (fullName == name)
    return this;

  for (PINDEX i = 0; i < fields.GetSize(); i++) {
    const PHTTPField * field = fields[i].LocateName(name);
    if (field != NULL)
      return field;
  }

  return NULL;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index