⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classphttpcompositefield.html

📁 pwlib开发文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>PHTTPCompositeField class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>PHTTPCompositeField Class Reference</h1><code>#include &lt;<a class="el" href="httpform_8h-source.html">httpform.h</a>&gt;</code><p><p>Inheritance diagram for PHTTPCompositeField:<p><center><img src="classPHTTPCompositeField.png" usemap="#PHTTPCompositeField_map" border="0" alt=""></center><map name="PHTTPCompositeField_map"><area href="classPHTTPField.html" alt="PHTTPField" shape="rect" coords="73,56,210,80"><area href="classPObject.html" alt="PObject" shape="rect" coords="73,0,210,24"><area href="classPHTTPFieldArray.html" alt="PHTTPFieldArray" shape="rect" coords="0,168,137,192"><area href="classPHTTPSubForm.html" alt="PHTTPSubForm" shape="rect" coords="147,168,284,192"></map><a href="classPHTTPCompositeField-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Public Methods</h2></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a0">PHTTPCompositeField</a> (const char *name, const char *<a class="el" href="classPHTTPField.html#n2">title</a>=NULL, const char *<a class="el" href="classPHTTPField.html#n3">help</a>=NULL)</td></tr><tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a1">SetName</a> (const <a class="el" href="classPString.html">PString</a> &amp;name)</td></tr><tr><td nowrap align=right valign=top>virtual const <a class="el" href="classPHTTPField.html">PHTTPField</a> *&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a2">LocateName</a> (const <a class="el" href="classPString.html">PString</a> &amp;name) const</td></tr><tr><td nowrap align=right valign=top>virtual <a class="el" href="classPHTTPField.html">PHTTPField</a> *&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a3">NewField</a> () const</td></tr><tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a4">ExpandFieldNames</a> (<a class="el" href="classPString.html">PString</a> &amp;text, PINDEX start, PINDEX &amp;finish) const</td></tr><tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a5">GetHTMLTag</a> (<a class="el" href="classPHTML.html">PHTML</a> &amp;html) const</td></tr><tr><td nowrap align=right valign=top>virtual <a class="el" href="classPString.html">PString</a>&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a6">GetHTMLInput</a> (const <a class="el" href="classPString.html">PString</a> &amp;input) const</td></tr><tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a7">GetHTMLHeading</a> (<a class="el" href="classPHTML.html">PHTML</a> &amp;html) const</td></tr><tr><td nowrap align=right valign=top>virtual <a class="el" href="classPString.html">PString</a>&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a8">GetValue</a> (BOOL dflt=FALSE) const</td></tr><tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a9">SetValue</a> (const <a class="el" href="classPString.html">PString</a> &amp;newValue)</td></tr><tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a10">LoadFromConfig</a> (<a class="el" href="classPConfig.html">PConfig</a> &amp;cfg)</td></tr><tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a11">SaveToConfig</a> (<a class="el" href="classPConfig.html">PConfig</a> &amp;cfg) const</td></tr><tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a12">GetAllNames</a> (<a class="el" href="classPStringList.html">PStringList</a> &amp;list) const</td></tr><tr><td nowrap align=right valign=top>virtual void&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a13">SetAllValues</a> (const <a class="el" href="classPStringToString.html">PStringToString</a> &amp;data)</td></tr><tr><td nowrap align=right valign=top>virtual BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a14">ValidateAll</a> (const <a class="el" href="classPStringToString.html">PStringToString</a> &amp;data, <a class="el" href="classPStringStream.html">PStringStream</a> &amp;msg) const</td></tr><tr><td nowrap align=right valign=top>virtual PINDEX&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a15">GetSize</a> () const</td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a16">Append</a> (<a class="el" href="classPHTTPField.html">PHTTPField</a> *fld)</td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPHTTPField.html">PHTTPField</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a17">operator[]</a> (PINDEX idx) const</td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a18">RemoveAt</a> (PINDEX idx)</td></tr><tr><td nowrap align=right valign=top>void&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#a19">RemoveAll</a> ()</td></tr><tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr><tr><td nowrap align=right valign=top>PHTTPFieldList&nbsp;</td><td valign=bottom><a class="el" href="classPHTTPCompositeField.html#n0">fields</a></td></tr></table><hr><h2>Constructor &amp; Destructor Documentation</h2><a name="a0" doxytag="PHTTPCompositeField::PHTTPCompositeField"></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"> PHTTPCompositeField::PHTTPCompositeField </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const char *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>name</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const char *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>title</em> = NULL, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const char *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>help</em> = NULL</td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><hr><h2>Member Function Documentation</h2><a name="a16" doxytag="PHTTPCompositeField::Append"></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::Append </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPHTTPField.html">PHTTPField</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>fld</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="a4" doxytag="PHTTPCompositeField::ExpandFieldNames"></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::ExpandFieldNames </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>text</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>PINDEX&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>start</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>PINDEX &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>finish</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</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>      &nbsp;    </td>    <td><p><p>Reimplemented from <a class="el" href="classPHTTPField.html#a12">PHTTPField</a>.<p>Reimplemented in <a class="el" href="classPHTTPFieldArray.html#a3">PHTTPFieldArray</a>.    </td>  </tr></table><a name="a12" doxytag="PHTTPCompositeField::GetAllNames"></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::GetAllNames </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPStringList.html">PStringList</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>list</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Retrieve all the names in the field and subfields.<p><dl compact><dt><b>Returns: </b></dt><dd> List of strings for each subfield. </dl><p>Reimplemented from <a class="el" href="classPHTTPField.html#a22">PHTTPField</a>.    </td>  </tr></table><a name="a7" doxytag="PHTTPCompositeField::GetHTMLHeading"></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::GetHTMLHeading </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPHTML.html">PHTML</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>html</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Convert the field to HTML for inclusion into the HTTP page. <p>Reimplemented from <a class="el" href="classPHTTPField.html#a16">PHTTPField</a>.<p>Reimplemented in <a class="el" href="classPHTTPSubForm.html#a3">PHTTPSubForm</a>.    </td>  </tr></table><a name="a6" doxytag="PHTTPCompositeField::GetHTMLInput"></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="classPString.html">PString</a> PHTTPCompositeField::GetHTMLInput </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>input</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Convert the field input to HTML for inclusion into the HTTP page. <p>Reimplemented from <a class="el" href="classPHTTPField.html#a14">PHTTPField</a>.    </td>  </tr></table><a name="a5" doxytag="PHTTPCompositeField::GetHTMLTag"></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::GetHTMLTag </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPHTML.html">PHTML</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>html</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Convert the field to HTML form tag for inclusion into the HTTP page. <p>Implements <a class="el" href="classPHTTPField.html#a13">PHTTPField</a>.<p>Reimplemented in <a class="el" href="classPHTTPSubForm.html#a2">PHTTPSubForm</a>, and <a class="el" href="classPHTTPFieldArray.html#a4">PHTTPFieldArray</a>.    </td>  </tr></table><a name="a15" doxytag="PHTTPCompositeField::GetSize"></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 PINDEX PHTTPCompositeField::GetSize </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>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.<p><dl compact><dt><b>Returns: </b></dt><dd> Returns field count. </dl><p>Reimplemented in <a class="el" href="classPHTTPFieldArray.html#a8">PHTTPFieldArray</a>.    </td>  </tr></table><a name="a8" doxytag="PHTTPCompositeField::GetValue"></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="classPString.html">PString</a> PHTTPCompositeField::GetValue </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">BOOL&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>dflt</em> = FALSE          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap> const<code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Get the string value of the field.<p><dl compact><dt><b>Returns: </b></dt><dd> String for field value. </dl><p>Implements <a class="el" href="classPHTTPField.html#a17">PHTTPField</a>.    </td>  </tr></table><a name="a10" doxytag="PHTTPCompositeField::LoadFromConfig"></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::LoadFromConfig </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPConfig.html">PConfig</a> &amp;&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>cfg</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -