Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > 82bf76c75b44c3e54c5dc9d8c4b11ab5 > files > 143

cgicc-3.2.8-1mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
   "http://www.w3.org/TR/REC-html40/loose.dtd">

<html lang="en" dir="LTR">

<head>
  <!-- $Id: header.html,v 1.5 2004/06/12 01:58:25 sbooth Exp $ -->
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <title>cgicc: cgicc::HTMLElementList Class Reference</title>
  <link rev="made" href="mailto:bug-cgicc@gnu.org" />
  <link href="doxygen.css" rel="stylesheet" type="text/css" />
  <link href="cgicc-doc.css" rel="stylesheet" type="text/css" />
</head>

<body>
<!-- Generated by Doxygen 1.5.9 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacecgicc.html">cgicc</a>::<a class="el" href="classcgicc_1_1HTMLElementList.html">HTMLElementList</a>
  </div>
</div>
<div class="contents">
<h1>cgicc::HTMLElementList Class Reference</h1><!-- doxytag: class="cgicc::HTMLElementList" -->An expandable list of <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a> objects.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="HTMLElementList_8h_source.html">cgicc/HTMLElementList.h</a>&gt;</code>
<p>

<p>
<a href="classcgicc_1_1HTMLElementList-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 Member Functions</h2></td></tr>
<tr><td colspan="2"><div class="groupHeader">Constructors and Destructor</div></td></tr>
<tr><td colspan="2"><div class="groupText"><br><br></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLElementList.html#6d8d596b3018aae299550e02ceaa203e">HTMLElementList</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create an empty <a class="el" href="classcgicc_1_1HTMLElementList.html" title="An expandable list of HTMLElement objects.">HTMLElementList</a>.  <a href="#6d8d596b3018aae299550e02ceaa203e"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLElementList.html#fe49ed8b6889ea87a1af4fed55b74887">HTMLElementList</a> (const <a class="el" href="classcgicc_1_1HTMLElement.html">HTMLElement</a> &amp;head)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a new <a class="el" href="classcgicc_1_1HTMLElementList.html" title="An expandable list of HTMLElement objects.">HTMLElementList</a>, specifying the first element.  <a href="#fe49ed8b6889ea87a1af4fed55b74887"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLElementList.html#2090106209740ae10c075ceb17a13118">HTMLElementList</a> (const <a class="el" href="classcgicc_1_1HTMLElementList.html">HTMLElementList</a> &amp;list)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Copy constructor.  <a href="#2090106209740ae10c075ceb17a13118"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLElementList.html#5fc9a1b6263145552dac25d4dec93284">~HTMLElementList</a> ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor.  <a href="#5fc9a1b6263145552dac25d4dec93284"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">Overloaded Operators</div></td></tr>
<tr><td colspan="2"><div class="groupText"><br><br></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcgicc_1_1HTMLElementList.html">HTMLElementList</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLElementList.html#03aed832aceef7abaa4f04571c4e711a">operator=</a> (const <a class="el" href="classcgicc_1_1HTMLElementList.html">HTMLElementList</a> &amp;list)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Assignment operator.  <a href="#03aed832aceef7abaa4f04571c4e711a"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader">List Management</div></td></tr>
<tr><td colspan="2"><div class="groupText">Manage the elements in the list <br><br></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcgicc_1_1HTMLElementList.html">HTMLElementList</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLElementList.html#732e8aa5cf92096647f12b41f4080652">add</a> (const <a class="el" href="classcgicc_1_1HTMLElement.html">HTMLElement</a> &amp;element)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add an <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a> to the list.  <a href="#732e8aa5cf92096647f12b41f4080652"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcgicc_1_1HTMLElementList.html">HTMLElementList</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLElementList.html#fee15161f64e5a8e20483680726bdd6c">add</a> (<a class="el" href="classcgicc_1_1HTMLElement.html">HTMLElement</a> *element)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Add an <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a> to the list.  <a href="#fee15161f64e5a8e20483680726bdd6c"></a><br></td></tr>
<tr><td colspan="2"><div class="groupHeader"></div></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLElementList.html#27fe4f8296bae2dc4e36bf15a54c6394">render</a> (std::ostream &amp;out) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Render this <a class="el" href="classcgicc_1_1HTMLElementList.html" title="An expandable list of HTMLElement objects.">HTMLElementList</a>.  <a href="#27fe4f8296bae2dc4e36bf15a54c6394"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
An expandable list of <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a> objects. 
<p>
An <a class="el" href="classcgicc_1_1HTMLElementList.html" title="An expandable list of HTMLElement objects.">HTMLElementList</a> represents any number of <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a> objects. To add <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a> objects to the list, use the <a class="el" href="classcgicc_1_1HTMLElementList.html#732e8aa5cf92096647f12b41f4080652" title="Add an HTMLElement to the list.">add()</a> methods: <div class="fragment"><pre class="fragment"> <a class="code" href="classcgicc_1_1HTMLElementList.html" title="An expandable list of HTMLElement objects.">cgicc::HTMLElementList</a> list;
 list.<a class="code" href="classcgicc_1_1HTMLElementList.html#732e8aa5cf92096647f12b41f4080652" title="Add an HTMLElement to the list.">add</a>(br());
</pre></div> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> <p>
<a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a> </dd></dl>

<p>Definition at line <a class="el" href="HTMLElementList_8h_source.html#l00067">67</a> of file <a class="el" href="HTMLElementList_8h_source.html">HTMLElementList.h</a>.</p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="6d8d596b3018aae299550e02ceaa203e"></a><!-- doxytag: member="cgicc::HTMLElementList::HTMLElementList" ref="6d8d596b3018aae299550e02ceaa203e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cgicc::HTMLElementList::HTMLElementList           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create an empty <a class="el" href="classcgicc_1_1HTMLElementList.html" title="An expandable list of HTMLElement objects.">HTMLElementList</a>. 
<p>
HTMLElementLists are most often created with the <a class="el" href="classcgicc_1_1HTMLElementList.html#732e8aa5cf92096647f12b41f4080652" title="Add an HTMLElement to the list.">add()</a> functions 
</div>
</div><p>
<a class="anchor" name="fe49ed8b6889ea87a1af4fed55b74887"></a><!-- doxytag: member="cgicc::HTMLElementList::HTMLElementList" ref="fe49ed8b6889ea87a1af4fed55b74887" args="(const HTMLElement &amp;head)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cgicc::HTMLElementList::HTMLElementList           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcgicc_1_1HTMLElement.html">HTMLElement</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>head</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a new <a class="el" href="classcgicc_1_1HTMLElementList.html" title="An expandable list of HTMLElement objects.">HTMLElementList</a>, specifying the first element. 
<p>
The first element in the list is set to <code>head</code> <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>head</em>&nbsp;</td><td>The first element of the list </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="2090106209740ae10c075ceb17a13118"></a><!-- doxytag: member="cgicc::HTMLElementList::HTMLElementList" ref="2090106209740ae10c075ceb17a13118" args="(const HTMLElementList &amp;list)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cgicc::HTMLElementList::HTMLElementList           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcgicc_1_1HTMLElementList.html">HTMLElementList</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>list</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Copy constructor. 
<p>
Sets the elements in this list to those of <code>list</code> <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>list</em>&nbsp;</td><td>The <a class="el" href="classcgicc_1_1HTMLElementList.html" title="An expandable list of HTMLElement objects.">HTMLElementList</a> to copy. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="5fc9a1b6263145552dac25d4dec93284"></a><!-- doxytag: member="cgicc::HTMLElementList::~HTMLElementList" ref="5fc9a1b6263145552dac25d4dec93284" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cgicc::HTMLElementList::~HTMLElementList           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>
Deletes this <a class="el" href="classcgicc_1_1HTMLElementList.html" title="An expandable list of HTMLElement objects.">HTMLElementList</a> object 
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="fee15161f64e5a8e20483680726bdd6c"></a><!-- doxytag: member="cgicc::HTMLElementList::add" ref="fee15161f64e5a8e20483680726bdd6c" args="(HTMLElement *element)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcgicc_1_1HTMLElementList.html">HTMLElementList</a>&amp; cgicc::HTMLElementList::add           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classcgicc_1_1HTMLElement.html">HTMLElement</a> *&nbsp;</td>
          <td class="paramname"> <em>element</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add an <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a> to the list. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>element</em>&nbsp;</td><td>The <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a> to add. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A reference to the <code>this</code> </dd></dl>

</div>
</div><p>
<a class="anchor" name="732e8aa5cf92096647f12b41f4080652"></a><!-- doxytag: member="cgicc::HTMLElementList::add" ref="732e8aa5cf92096647f12b41f4080652" args="(const HTMLElement &amp;element)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcgicc_1_1HTMLElementList.html">HTMLElementList</a>&amp; cgicc::HTMLElementList::add           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcgicc_1_1HTMLElement.html">HTMLElement</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>element</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Add an <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a> to the list. 
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>element</em>&nbsp;</td><td>The <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a> to add. </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A reference to <code>this</code> </dd></dl>

</div>
</div><p>
<a class="anchor" name="03aed832aceef7abaa4f04571c4e711a"></a><!-- doxytag: member="cgicc::HTMLElementList::operator=" ref="03aed832aceef7abaa4f04571c4e711a" args="(const HTMLElementList &amp;list)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classcgicc_1_1HTMLElementList.html">HTMLElementList</a>&amp; cgicc::HTMLElementList::operator=           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classcgicc_1_1HTMLElementList.html">HTMLElementList</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>list</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assignment operator. 
<p>
Sets the elements in this list to those of <code>list</code> <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>list</em>&nbsp;</td><td>The <a class="el" href="classcgicc_1_1HTMLElementList.html" title="An expandable list of HTMLElement objects.">HTMLElementList</a> to copy </td></tr>
  </table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>A reference to <code>this</code> </dd></dl>

</div>
</div><p>
<a class="anchor" name="27fe4f8296bae2dc4e36bf15a54c6394"></a><!-- doxytag: member="cgicc::HTMLElementList::render" ref="27fe4f8296bae2dc4e36bf15a54c6394" args="(std::ostream &amp;out) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void cgicc::HTMLElementList::render           </td>
          <td>(</td>
          <td class="paramtype">std::ostream &amp;&nbsp;</td>
          <td class="paramname"> <em>out</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Render this <a class="el" href="classcgicc_1_1HTMLElementList.html" title="An expandable list of HTMLElement objects.">HTMLElementList</a>. 
<p>
Utility Methods<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>out</em>&nbsp;</td><td>The ostream to which to write </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="HTMLElementList_8h_source.html">HTMLElementList.h</a></ul>
</div>
<!-- $Id: footer.html,v 1.7 2004/06/12 01:58:25 sbooth Exp $ -->

<hr>

<address><small>
<a href="http://www.cgicc.org">GNU cgicc</a> - A C++ class library for
writing CGI applications<br />
Copyright &copy; 1996 - 2004 
<a href="mailto:sboothATgnuDOTorg">Stephen F. Booth</a><br />
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.1 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with no Front Cover Texts, and with no Back-Cover
Texts.<br />
Documentation generated Tue Jun 9 15:03:50 2009 for cgicc by
<a HREF="http://www.doxygen.org/index.html">doxygen</a> 1.5.9
</small></address>

</body>

</html>