📄 classphttpcompositefield.html
字号:
</table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Get the value of the <a class="el" href="classPConfig.html">PConfig</a> to the sub-field. If the field is not composite then it always sets the value as for the non-indexed version. <p>Reimplemented from <a class="el" href="classPHTTPField.html#a19">PHTTPField</a>.<p>Reimplemented in <a class="el" href="classPHTTPFieldArray.html#a5">PHTTPFieldArray</a>. </td> </tr></table><a name="a2" doxytag="PHTTPCompositeField::LocateName"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual const <a class="el" href="classPHTTPField.html">PHTTPField</a>* PHTTPCompositeField::LocateName </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> & </td> <td class="mdname1" valign="top" nowrap> <em>name</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Locate the field naem, recusing down for composite fields.<p><dl compact><dt><b>Returns: </b></dt><dd> Pointer to located field, or NULL if not found. </dl><p>Reimplemented from <a class="el" href="classPHTTPField.html#a5">PHTTPField</a>. </td> </tr></table><a name="a3" doxytag="PHTTPCompositeField::NewField"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual <a class="el" href="classPHTTPField.html">PHTTPField</a>* PHTTPCompositeField::NewField </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Create a new field of the same class as the current field.<p><dl compact><dt><b>Returns: </b></dt><dd> New field object instance. </dl><p>Implements <a class="el" href="classPHTTPField.html#a11">PHTTPField</a>.<p>Reimplemented in <a class="el" href="classPHTTPSubForm.html#a1">PHTTPSubForm</a>, and <a class="el" href="classPHTTPFieldArray.html#a2">PHTTPFieldArray</a>. </td> </tr></table><a name="a17" doxytag="PHTTPCompositeField::operator[]"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classPHTTPField.html">PHTTPField</a>& PHTTPCompositeField::operator[] </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">PINDEX </td> <td class="mdname1" valign="top" nowrap> <em>idx</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a name="a19" doxytag="PHTTPCompositeField::RemoveAll"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void PHTTPCompositeField::RemoveAll </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a name="a18" doxytag="PHTTPCompositeField::RemoveAt"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> void PHTTPCompositeField::RemoveAt </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">PINDEX </td> <td class="mdname1" valign="top" nowrap> <em>idx</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><a name="a11" doxytag="PHTTPCompositeField::SaveToConfig"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual void PHTTPCompositeField::SaveToConfig </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classPConfig.html">PConfig</a> & </td> <td class="mdname1" valign="top" nowrap> <em>cfg</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set the value of the sub-field into the <a class="el" href="classPConfig.html">PConfig</a>. If the field is not composite then it always sets the value as for the non-indexed version. <p>Reimplemented from <a class="el" href="classPHTTPField.html#a20">PHTTPField</a>.<p>Reimplemented in <a class="el" href="classPHTTPFieldArray.html#a6">PHTTPFieldArray</a>. </td> </tr></table><a name="a13" doxytag="PHTTPCompositeField::SetAllValues"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual void PHTTPCompositeField::SetAllValues </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classPStringToString.html">PStringToString</a> & </td> <td class="mdname1" valign="top" nowrap> <em>data</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set the value of the field in a list of fields. <p>Reimplemented from <a class="el" href="classPHTTPField.html#a23">PHTTPField</a>.<p>Reimplemented in <a class="el" href="classPHTTPFieldArray.html#a7">PHTTPFieldArray</a>. </td> </tr></table><a name="a1" doxytag="PHTTPCompositeField::SetName"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual void PHTTPCompositeField::SetName </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> & </td> <td class="mdname1" valign="top" nowrap> <em>name</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set the name for the field. <p>Reimplemented from <a class="el" href="classPHTTPField.html#a4">PHTTPField</a>. </td> </tr></table><a name="a9" doxytag="PHTTPCompositeField::SetValue"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual void PHTTPCompositeField::SetValue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> & </td> <td class="mdname1" valign="top" nowrap> <em>newValue</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set the value of the field. <p>Implements <a class="el" href="classPHTTPField.html#a18">PHTTPField</a>. </td> </tr></table><a name="a14" doxytag="PHTTPCompositeField::ValidateAll"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> virtual BOOL PHTTPCompositeField::ValidateAll </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classPStringToString.html">PStringToString</a> & </td> <td class="mdname" nowrap> <em>data</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classPStringStream.html">PStringStream</a> & </td> <td class="mdname" nowrap> <em>msg</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"> const<code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Validate the new field value in a list before <a class="el" href="classPHTTPCompositeField.html#a9">SetValue()</a># is called.<p><dl compact><dt><b>Returns: </b></dt><dd> BOOL if the all the new field values are OK. </dl><p>Reimplemented from <a class="el" href="classPHTTPField.html#a24">PHTTPField</a>. </td> </tr></table><hr><h2>Member Data Documentation</h2><a name="n0" doxytag="PHTTPCompositeField::fields"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0"> <tr> <td class="md"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"> PHTTPFieldList PHTTPCompositeField::fields<code> [protected]</code> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p> </td> </tr></table><hr>The documentation for this class was generated from the following file:<ul><li><a class="el" href="httpform_8h-source.html">httpform.h</a></ul><hr><address style="align: right;"><small>Generated on Wed Sep 29 22:44:16 2004 for PWLib by<a href="http://www.doxygen.org/index.html"><img src="doxygen.png" alt="doxygen" align="middle" border=0 width=110 height=53></a>1.2.18 </small></address></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -