<!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::HTMLBooleanElement< Tag > Class Template 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 Page</span></a></li> <li><a href="pages.html"><span>Related 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 List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespacecgicc.html">cgicc</a>::<a class="el" href="classcgicc_1_1HTMLBooleanElement.html">HTMLBooleanElement</a> </div> </div> <div class="contents"> <h1>cgicc::HTMLBooleanElement< Tag > Class Template Reference</h1><!-- doxytag: class="cgicc::HTMLBooleanElement" --><!-- doxytag: inherits="cgicc::HTMLElement" -->Template for concrete boolean <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a> subclasses. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="HTMLBooleanElement_8h_source.html">cgicc/HTMLBooleanElement.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for cgicc::HTMLBooleanElement< Tag >:</div> <div class="dynsection"> <p><center><img src="classcgicc_1_1HTMLBooleanElement.png" usemap="#cgicc::HTMLBooleanElement< Tag >_map" border="0" alt=""></center> <map name="cgicc::HTMLBooleanElement< Tag >_map"> <area href="classcgicc_1_1HTMLElement.html" alt="cgicc::HTMLElement" shape="rect" coords="0,56,218,80"> <area href="classcgicc_1_1MStreamable.html" alt="cgicc::MStreamable" shape="rect" coords="0,0,218,24"> </map> </div> <p> <a href="classcgicc_1_1HTMLBooleanElement-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 class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classcgicc_1_1HTMLElement.html">HTMLElement</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLBooleanElement.html#8dc8e85909b7f99edaf2a0d15cbd4cca">clone</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Clone this element. <a href="#8dc8e85909b7f99edaf2a0d15cbd4cca"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLBooleanElement.html#807cec8c1ff5f62dd1073449ca9e4267">getName</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the name of this element. For example, "strong". <a href="#807cec8c1ff5f62dd1073449ca9e4267"></a><br></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"><a class="anchor" name="a220a2972f06afa54b7eae252a501894"></a><!-- doxytag: member="cgicc::HTMLBooleanElement::HTMLBooleanElement" ref="a220a2972f06afa54b7eae252a501894" args="()" --> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLBooleanElement.html#a220a2972f06afa54b7eae252a501894">HTMLBooleanElement</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new empty boolean element. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLBooleanElement.html#4071b3ea8f2cc4e8da82778a99e86e8d">HTMLBooleanElement</a> (const std::string &text)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new element, specifying the enclosed text. <a href="#4071b3ea8f2cc4e8da82778a99e86e8d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLBooleanElement.html#53fc8ac0712364f9cb685fab548ca84d">HTMLBooleanElement</a> (const <a class="el" href="classcgicc_1_1HTMLAttributeList.html">HTMLAttributeList</a> &attributes)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new element, specifying the <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> objects. <a href="#53fc8ac0712364f9cb685fab548ca84d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLBooleanElement.html#fbcccb83ebdc216f7e16cc5280462414">HTMLBooleanElement</a> (const <a class="el" href="classcgicc_1_1HTMLElement.html">HTMLElement</a> &embedded)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new element, specifying an embedded <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a>. <a href="#fbcccb83ebdc216f7e16cc5280462414"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLBooleanElement.html#6b8ce17713598769b9e9c207cd12543d">HTMLBooleanElement</a> (const std::string &text, const <a class="el" href="classcgicc_1_1HTMLAttributeList.html">HTMLAttributeList</a> &attributes)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new element, specifying the enclosed text and <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> objects. <a href="#6b8ce17713598769b9e9c207cd12543d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLBooleanElement.html#d9ed79edf6ce0aab70de4b886df02097">HTMLBooleanElement</a> (const <a class="el" href="classcgicc_1_1HTMLAttributeList.html">HTMLAttributeList</a> &attributes, const <a class="el" href="classcgicc_1_1HTMLElement.html">HTMLElement</a> &embed)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create a new element, specifying the HTMLAttributes and embedded <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a>. <a href="#d9ed79edf6ce0aab70de4b886df02097"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0bf92b9eb7cdcdd8398b99965cf39905"></a><!-- doxytag: member="cgicc::HTMLBooleanElement::~HTMLBooleanElement" ref="0bf92b9eb7cdcdd8398b99965cf39905" args="()" --> virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLBooleanElement.html#0bf92b9eb7cdcdd8398b99965cf39905">~HTMLBooleanElement</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br></td></tr> <tr><td colspan="2"><br><h2>State Management</h2></td></tr> <tr><td colspan="2"><br><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLBooleanElement.html#073fda8aab69ebb0f0b77b2f5550808c">swapState</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Swap the state of this boolean element. <a href="#073fda8aab69ebb0f0b77b2f5550808c"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLBooleanElement.html#a98dfc5fe54687c83a624e0d7a4775ae">getState</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the state of this boolean element. <a href="#a98dfc5fe54687c83a624e0d7a4775ae"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="37468e3e1febd3776b205fbacd9f0727"></a><!-- doxytag: member="cgicc::HTMLBooleanElement::reset" ref="37468e3e1febd3776b205fbacd9f0727" args="()" --> static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLBooleanElement.html#37468e3e1febd3776b205fbacd9f0727">reset</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Reset the state of this boolean element to closed. <br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <h3>template<class Tag><br> class cgicc::HTMLBooleanElement< Tag ></h3> Template for concrete boolean <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a> subclasses. <p> A boolean HTML element is an element having a boolean (open or closed) state. Most commonly used HTML tags are boolean elements: <div class="fragment"><pre class="fragment"> <a href="http://www.gnu.org">GNU Project</a> </pre></div> The <code>a</code> element is boolean, since it is either open or closed. Boolean elements are often additive: <div class="fragment"><pre class="fragment"> <b>bold text<i>bold italic text</i></b> </pre></div> Note than under the XHTML 1.0 standard, elements may not overlap; ie, in the example above, it would be illegal to close the <code>b</code> tag before the <code>i</code> tag. <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a> <p> <a class="el" href="classcgicc_1_1HTMLAtomicElement.html" title="Template for concrete atomic HTMLElement subclasses.">HTMLAtomicElement</a> </dd></dl> <p>Definition at line <a class="el" href="HTMLBooleanElement_8h_source.html#l00062">62</a> of file <a class="el" href="HTMLBooleanElement_8h_source.html">HTMLBooleanElement.h</a>.</p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="4071b3ea8f2cc4e8da82778a99e86e8d"></a><!-- doxytag: member="cgicc::HTMLBooleanElement::HTMLBooleanElement" ref="4071b3ea8f2cc4e8da82778a99e86e8d" args="(const std::string &text)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class Tag> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classcgicc_1_1HTMLBooleanElement.html">cgicc::HTMLBooleanElement</a>< Tag >::<a class="el" href="classcgicc_1_1HTMLBooleanElement.html">HTMLBooleanElement</a> </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>text</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Create a new element, specifying the enclosed text. <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>text</em> </td><td>The text within the element. </td></tr> </table> </dl> <p>Definition at line <a class="el" href="HTMLBooleanElement_8h_source.html#l00083">83</a> of file <a class="el" href="HTMLBooleanElement_8h_source.html">HTMLBooleanElement.h</a>.</p> </div> </div><p> <a class="anchor" name="53fc8ac0712364f9cb685fab548ca84d"></a><!-- doxytag: member="cgicc::HTMLBooleanElement::HTMLBooleanElement" ref="53fc8ac0712364f9cb685fab548ca84d" args="(const HTMLAttributeList &attributes)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class Tag> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classcgicc_1_1HTMLBooleanElement.html">cgicc::HTMLBooleanElement</a>< Tag >::<a class="el" href="classcgicc_1_1HTMLBooleanElement.html">HTMLBooleanElement</a> </td> <td>(</td> <td class="paramtype">const <a class="el" href="classcgicc_1_1HTMLAttributeList.html">HTMLAttributeList</a> & </td> <td class="paramname"> <em>attributes</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Create a new element, specifying the <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> objects. <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>attributes</em> </td><td>The HTMLAttributes contained within the element. </td></tr> </table> </dl> <p>Definition at line <a class="el" href="HTMLBooleanElement_8h_source.html#l00091">91</a> of file <a class="el" href="HTMLBooleanElement_8h_source.html">HTMLBooleanElement.h</a>.</p> </div> </div><p> <a class="anchor" name="fbcccb83ebdc216f7e16cc5280462414"></a><!-- doxytag: member="cgicc::HTMLBooleanElement::HTMLBooleanElement" ref="fbcccb83ebdc216f7e16cc5280462414" args="(const HTMLElement &embedded)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class Tag> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classcgicc_1_1HTMLBooleanElement.html">cgicc::HTMLBooleanElement</a>< Tag >::<a class="el" href="classcgicc_1_1HTMLBooleanElement.html">HTMLBooleanElement</a> </td> <td>(</td> <td class="paramtype">const <a class="el" href="classcgicc_1_1HTMLElement.html">HTMLElement</a> & </td> <td class="paramname"> <em>embedded</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Create a new element, specifying an embedded <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a>. <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>embedded</em> </td><td>The <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a> embedded inside the element. </td></tr> </table> </dl> <p>Definition at line <a class="el" href="HTMLBooleanElement_8h_source.html#l00099">99</a> of file <a class="el" href="HTMLBooleanElement_8h_source.html">HTMLBooleanElement.h</a>.</p> </div> </div><p> <a class="anchor" name="6b8ce17713598769b9e9c207cd12543d"></a><!-- doxytag: member="cgicc::HTMLBooleanElement::HTMLBooleanElement" ref="6b8ce17713598769b9e9c207cd12543d" args="(const std::string &text, const HTMLAttributeList &attributes)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class Tag> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classcgicc_1_1HTMLBooleanElement.html">cgicc::HTMLBooleanElement</a>< Tag >::<a class="el" href="classcgicc_1_1HTMLBooleanElement.html">HTMLBooleanElement</a> </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>text</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classcgicc_1_1HTMLAttributeList.html">HTMLAttributeList</a> & </td> <td class="paramname"> <em>attributes</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Create a new element, specifying the enclosed text and <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> objects. <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>attributes</em> </td><td>The HTMLAttributes contained within the element. </td></tr> <tr><td valign="top"></td><td valign="top"><em>text</em> </td><td>The text within the element. </td></tr> </table> </dl> <p>Definition at line <a class="el" href="HTMLBooleanElement_8h_source.html#l00109">109</a> of file <a class="el" href="HTMLBooleanElement_8h_source.html">HTMLBooleanElement.h</a>.</p> </div> </div><p> <a class="anchor" name="d9ed79edf6ce0aab70de4b886df02097"></a><!-- doxytag: member="cgicc::HTMLBooleanElement::HTMLBooleanElement" ref="d9ed79edf6ce0aab70de4b886df02097" args="(const HTMLAttributeList &attributes, const HTMLElement &embed)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class Tag> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classcgicc_1_1HTMLBooleanElement.html">cgicc::HTMLBooleanElement</a>< Tag >::<a class="el" href="classcgicc_1_1HTMLBooleanElement.html">HTMLBooleanElement</a> </td> <td>(</td> <td class="paramtype">const <a class="el" href="classcgicc_1_1HTMLAttributeList.html">HTMLAttributeList</a> & </td> <td class="paramname"> <em>attributes</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classcgicc_1_1HTMLElement.html">HTMLElement</a> & </td> <td class="paramname"> <em>embed</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Create a new element, specifying the HTMLAttributes and embedded <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a>. <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>attributes</em> </td><td>The HTMLAttributes contained within the element. </td></tr> <tr><td valign="top"></td><td valign="top"><em>embed</em> </td><td>The <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a> embedded inside the element. </td></tr> </table> </dl> <p>Definition at line <a class="el" href="HTMLBooleanElement_8h_source.html#l00120">120</a> of file <a class="el" href="HTMLBooleanElement_8h_source.html">HTMLBooleanElement.h</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="8dc8e85909b7f99edaf2a0d15cbd4cca"></a><!-- doxytag: member="cgicc::HTMLBooleanElement::clone" ref="8dc8e85909b7f99edaf2a0d15cbd4cca" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class Tag> </div> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classcgicc_1_1HTMLElement.html">HTMLElement</a>* <a class="el" href="classcgicc_1_1HTMLBooleanElement.html">cgicc::HTMLBooleanElement</a>< Tag >::clone </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Clone this element. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A newly-allocated copy of this element </dd></dl> <p>Implements <a class="el" href="classcgicc_1_1HTMLElement.html#4f16912ad3a88ede11ba800f4572f1bf">cgicc::HTMLElement</a>.</p> <p>Definition at line <a class="el" href="HTMLBooleanElement_8h_source.html#l00140">140</a> of file <a class="el" href="HTMLBooleanElement_8h_source.html">HTMLBooleanElement.h</a>.</p> </div> </div><p> <a class="anchor" name="807cec8c1ff5f62dd1073449ca9e4267"></a><!-- doxytag: member="cgicc::HTMLBooleanElement::getName" ref="807cec8c1ff5f62dd1073449ca9e4267" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class Tag> </div> <table class="memname"> <tr> <td class="memname">virtual const char* <a class="el" href="classcgicc_1_1HTMLBooleanElement.html">cgicc::HTMLBooleanElement</a>< Tag >::getName </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the name of this element. For example, "strong". <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The name of this element </dd></dl> <p>Implements <a class="el" href="classcgicc_1_1HTMLElement.html#8b8aea571cff9be2e0477cab4256b1d1">cgicc::HTMLElement</a>.</p> <p>Definition at line <a class="el" href="HTMLBooleanElement_8h_source.html#l00150">150</a> of file <a class="el" href="HTMLBooleanElement_8h_source.html">HTMLBooleanElement.h</a>.</p> <p>Referenced by <a class="el" href="HTMLBooleanElement_8h_source.html#l00150">cgicc::HTMLBooleanElement< nullTag >::getName()</a>.</p> </div> </div><p> <a class="anchor" name="a98dfc5fe54687c83a624e0d7a4775ae"></a><!-- doxytag: member="cgicc::HTMLBooleanElement::getState" ref="a98dfc5fe54687c83a624e0d7a4775ae" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class Tag> </div> <table class="memname"> <tr> <td class="memname">virtual bool <a class="el" href="classcgicc_1_1HTMLBooleanElement.html">cgicc::HTMLBooleanElement</a>< Tag >::getState </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the state of this boolean element. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if this element is open, <code>false</code> otherwise </dd></dl> <p>Reimplemented from <a class="el" href="classcgicc_1_1HTMLElement.html#9640e8bb7736f30acb95b00567ec66fb">cgicc::HTMLElement</a>.</p> <p>Definition at line <a class="el" href="HTMLBooleanElement_8h_source.html#l00172">172</a> of file <a class="el" href="HTMLBooleanElement_8h_source.html">HTMLBooleanElement.h</a>.</p> </div> </div><p> <a class="anchor" name="073fda8aab69ebb0f0b77b2f5550808c"></a><!-- doxytag: member="cgicc::HTMLBooleanElement::swapState" ref="073fda8aab69ebb0f0b77b2f5550808c" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<class Tag> </div> <table class="memname"> <tr> <td class="memname">virtual void <a class="el" href="classcgicc_1_1HTMLBooleanElement.html">cgicc::HTMLBooleanElement</a>< Tag >::swapState </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Swap the state of this boolean element. <p> A state of <code>true</code> indicates the element is currently open <p>Reimplemented from <a class="el" href="classcgicc_1_1HTMLElement.html#5ce5bbf51b630b1073e359dbac58ea03">cgicc::HTMLElement</a>.</p> <p>Definition at line <a class="el" href="HTMLBooleanElement_8h_source.html#l00164">164</a> of file <a class="el" href="HTMLBooleanElement_8h_source.html">HTMLBooleanElement.h</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="HTMLBooleanElement_8h_source.html">HTMLBooleanElement.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 © 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:30:17 2009 for cgicc by <a HREF="http://www.doxygen.org/index.html">doxygen</a> 1.5.9 </small></address> </body> </html>