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

PINDEX PHTTPFieldArray::GetSize (  ) const [virtual]

Get the number of sub-fields in the composite field. Note that this is the total including any composite sub-fields, ie, it is the size of the whole tree of primitive fields.

Returns:
Returns field count.

Reimplemented from PHTTPCompositeField.

Definition at line 1111 of file httpform.cxx.

Referenced by GetStrings(), LoadFromConfig(), and SaveToConfig().

{
  PINDEX size = fields.GetSize();
  PAssert(size > 0, PLogicError);
  if (canAddElements)
    size--;
  return size;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index