<!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::HTMLAttribute 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 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_1HTMLAttribute.html">HTMLAttribute</a> </div> </div> <div class="contents"> <h1>cgicc::HTMLAttribute Class Reference</h1><!-- doxytag: class="cgicc::HTMLAttribute" --><!-- doxytag: inherits="cgicc::MStreamable" -->Class representing a name or a single name/value pair. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="HTMLAttribute_8h_source.html">cgicc/HTMLAttribute.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for cgicc::HTMLAttribute:</div> <div class="dynsection"> <p><center><img src="classcgicc_1_1HTMLAttribute.png" usemap="#cgicc::HTMLAttribute_map" border="0" alt=""></center> <map name="cgicc::HTMLAttribute_map"> <area href="classcgicc_1_1MStreamable.html" alt="cgicc::MStreamable" shape="rect" coords="0,0,130,24"> </map> </div> <p> <a href="classcgicc_1_1HTMLAttribute-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 void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLAttribute.html#dbc7b1cc96788516816bdd0efd13a31d">render</a> (std::ostream &out) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Render this attribute to an ostream. <a href="#dbc7b1cc96788516816bdd0efd13a31d"></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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLAttribute.html#2d898a78bc1d29355978ed54b24675bd">HTMLAttribute</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create an empty <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a>. <a href="#2d898a78bc1d29355978ed54b24675bd"></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_1HTMLAttribute.html#da3cd30c25d5e4931a505c985f69e09a">HTMLAttribute</a> (const std::string &name)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create an <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> with the given name. <a href="#da3cd30c25d5e4931a505c985f69e09a"></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_1HTMLAttribute.html#946b04ff41797ae9fe5d7dede4ce4013">HTMLAttribute</a> (const std::string &name, const std::string &value)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Create an <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> with the given name and value. <a href="#946b04ff41797ae9fe5d7dede4ce4013"></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_1HTMLAttribute.html#f23919ce2fdb9e63a1d4f618b81df36d">HTMLAttribute</a> (const <a class="el" href="classcgicc_1_1HTMLAttribute.html">HTMLAttribute</a> &attribute)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#f23919ce2fdb9e63a1d4f618b81df36d"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLAttribute.html#90b3dd0f9faf62fde4d8dd79c488d918">~HTMLAttribute</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#90b3dd0f9faf62fde4d8dd79c488d918"></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">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLAttribute.html#3dcbb3470e5886c278a647e339ca3561">operator==</a> (const <a class="el" href="classcgicc_1_1HTMLAttribute.html">HTMLAttribute</a> &att) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Compare two HTMLAttributes for equality. <a href="#3dcbb3470e5886c278a647e339ca3561"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLAttribute.html#a0cf47d0e0757351a012162f49345fa5">operator!=</a> (const <a class="el" href="classcgicc_1_1HTMLAttribute.html">HTMLAttribute</a> &att) const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Compare two HTMLAttributes for inequality. <a href="#a0cf47d0e0757351a012162f49345fa5"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classcgicc_1_1HTMLAttribute.html">HTMLAttribute</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLAttribute.html#250ebe585c2ef1dbbd7f24a2c3340976">operator=</a> (const <a class="el" href="classcgicc_1_1HTMLAttribute.html">HTMLAttribute</a> &att)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Assign one <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> to another. <a href="#250ebe585c2ef1dbbd7f24a2c3340976"></a><br></td></tr> <tr><td colspan="2"><div class="groupHeader">Accessor Methods</div></td></tr> <tr><td colspan="2"><div class="groupText">Information on the attribute <br><br></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLAttribute.html#2db47dbc7f0eec0d31c81cb71f35b0ec">getName</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the name of this <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a>. <a href="#2db47dbc7f0eec0d31c81cb71f35b0ec"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">std::string </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLAttribute.html#46a4eacda998de7a81b4c42cfc1a2b31">getValue</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the value of this <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a>. <a href="#46a4eacda998de7a81b4c42cfc1a2b31"></a><br></td></tr> <tr><td colspan="2"><div class="groupHeader">Mutator Methods</div></td></tr> <tr><td colspan="2"><div class="groupText">Set properties of the attribute <br><br></div></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLAttribute.html#cff9f089679be91bc23c4649353f9ceb">setName</a> (const std::string &name)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the name of this <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a>. <a href="#cff9f089679be91bc23c4649353f9ceb"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classcgicc_1_1HTMLAttribute.html#74bd30a7d4a48d36d6a21689ddbdd021">setValue</a> (const std::string &value)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the value of this <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a>. <a href="#74bd30a7d4a48d36d6a21689ddbdd021"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Class representing a name or a single name/value pair. <p> An <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> represents a single name/value pair inside an <a class="el" href="classcgicc_1_1HTMLElement.html" title="Class representing an HTML element.">HTMLElement</a>. For example, in the HTML code: <div class="fragment"><pre class="fragment"> <a href="mailto:sbooth@gnu.org">Send mail</a> </pre></div> The (name, value) pair <code>(href, mailto:sbooth.org)</code> is an <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a>. <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> objects are usually not created directly, but using the <a class="el" href="namespacecgicc.html#d106c4ee0b858d9baf8f6ba370b0f203" title="Create a new HTMLAttributeList, and set an HTMLAttribute.">set()</a> methods. To generate the HTML above using cgicc, write <div class="fragment"><pre class="fragment"> cout << cgicc::a(<span class="stringliteral">"Send Mail"</span>).set(<span class="stringliteral">"href"</span>, <span class="stringliteral">"mailto:sbooth@gnu.org"</span>); </pre></div> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classcgicc_1_1HTMLAttributeList.html" title="An expandable list of HTMLAttribute objects.">HTMLAttributeList</a> </dd></dl> <p>Definition at line <a class="el" href="HTMLAttribute_8h_source.html#l00071">71</a> of file <a class="el" href="HTMLAttribute_8h_source.html">HTMLAttribute.h</a>.</p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="2d898a78bc1d29355978ed54b24675bd"></a><!-- doxytag: member="cgicc::HTMLAttribute::HTMLAttribute" ref="2d898a78bc1d29355978ed54b24675bd" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">cgicc::HTMLAttribute::HTMLAttribute </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Create an empty <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a>. <p> The name and value are set to an empty string. </div> </div><p> <a class="anchor" name="da3cd30c25d5e4931a505c985f69e09a"></a><!-- doxytag: member="cgicc::HTMLAttribute::HTMLAttribute" ref="da3cd30c25d5e4931a505c985f69e09a" args="(const std::string &name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">cgicc::HTMLAttribute::HTMLAttribute </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Create an <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> with the given name. <p> This will simply set the name and value to the same value. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>The name of the attribute. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="946b04ff41797ae9fe5d7dede4ce4013"></a><!-- doxytag: member="cgicc::HTMLAttribute::HTMLAttribute" ref="946b04ff41797ae9fe5d7dede4ce4013" args="(const std::string &name, const std::string &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">cgicc::HTMLAttribute::HTMLAttribute </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>name</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>value</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> Create an <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> with the given name and value. <p> Most attributes are of this form <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>The attribute's name, for example <code>href</code> </td></tr> <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>The attributes's alue, for exampe <code>foo.html</code> </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="f23919ce2fdb9e63a1d4f618b81df36d"></a><!-- doxytag: member="cgicc::HTMLAttribute::HTMLAttribute" ref="f23919ce2fdb9e63a1d4f618b81df36d" args="(const HTMLAttribute &attribute)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">cgicc::HTMLAttribute::HTMLAttribute </td> <td>(</td> <td class="paramtype">const <a class="el" href="classcgicc_1_1HTMLAttribute.html">HTMLAttribute</a> & </td> <td class="paramname"> <em>attribute</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Copy constructor. <p> Sets the name of value of this attribute to those of <code>attribute</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>attribute</em> </td><td>The <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> to copy. </td></tr> </table> </dl> </div> </div><p> <a class="anchor" name="90b3dd0f9faf62fde4d8dd79c488d918"></a><!-- doxytag: member="cgicc::HTMLAttribute::~HTMLAttribute" ref="90b3dd0f9faf62fde4d8dd79c488d918" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual cgicc::HTMLAttribute::~HTMLAttribute </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Destructor. <p> Delete this <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> object </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="2db47dbc7f0eec0d31c81cb71f35b0ec"></a><!-- doxytag: member="cgicc::HTMLAttribute::getName" ref="2db47dbc7f0eec0d31c81cb71f35b0ec" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string cgicc::HTMLAttribute::getName </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the name of this <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a>. <p> For example, <code>HREF</code> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The attribute's name. </dd></dl> <p>Definition at line <a class="el" href="HTMLAttribute_8h_source.html#l00179">179</a> of file <a class="el" href="HTMLAttribute_8h_source.html">HTMLAttribute.h</a>.</p> </div> </div><p> <a class="anchor" name="46a4eacda998de7a81b4c42cfc1a2b31"></a><!-- doxytag: member="cgicc::HTMLAttribute::getValue" ref="46a4eacda998de7a81b4c42cfc1a2b31" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">std::string cgicc::HTMLAttribute::getValue </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Get the value of this <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a>. <p> For example, <code><a href="http://www.gnu.org">http://www.gnu.org</a></code> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The attribute's value. </dd></dl> <p>Definition at line <a class="el" href="HTMLAttribute_8h_source.html#l00189">189</a> of file <a class="el" href="HTMLAttribute_8h_source.html">HTMLAttribute.h</a>.</p> </div> </div><p> <a class="anchor" name="a0cf47d0e0757351a012162f49345fa5"></a><!-- doxytag: member="cgicc::HTMLAttribute::operator!=" ref="a0cf47d0e0757351a012162f49345fa5" args="(const HTMLAttribute &att) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool cgicc::HTMLAttribute::operator!= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classcgicc_1_1HTMLAttribute.html">HTMLAttribute</a> & </td> <td class="paramname"> <em>att</em> </td> <td> ) </td> <td> const<code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Compare two HTMLAttributes for inequality. <p> HTMLAttributes are equal if they have the same name and value. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>att</em> </td><td>The <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> to compare to this one. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>false</code> if the two HTMLAttributes are equal, <code>true</code> otherwise. </dd></dl> <p>Definition at line <a class="el" href="HTMLAttribute_8h_source.html#l00144">144</a> of file <a class="el" href="HTMLAttribute_8h_source.html">HTMLAttribute.h</a>.</p> </div> </div><p> <a class="anchor" name="250ebe585c2ef1dbbd7f24a2c3340976"></a><!-- doxytag: member="cgicc::HTMLAttribute::operator=" ref="250ebe585c2ef1dbbd7f24a2c3340976" args="(const HTMLAttribute &att)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classcgicc_1_1HTMLAttribute.html">HTMLAttribute</a>& cgicc::HTMLAttribute::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classcgicc_1_1HTMLAttribute.html">HTMLAttribute</a> & </td> <td class="paramname"> <em>att</em> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> Assign one <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> to another. <p> Sets the name of value of this attribute to those of <code>att</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>att</em> </td><td>The <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> to copy. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>A reference to this. </dd></dl> </div> </div><p> <a class="anchor" name="3dcbb3470e5886c278a647e339ca3561"></a><!-- doxytag: member="cgicc::HTMLAttribute::operator==" ref="3dcbb3470e5886c278a647e339ca3561" args="(const HTMLAttribute &att) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool cgicc::HTMLAttribute::operator== </td> <td>(</td> <td class="paramtype">const <a class="el" href="classcgicc_1_1HTMLAttribute.html">HTMLAttribute</a> & </td> <td class="paramname"> <em>att</em> </td> <td> ) </td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p> Compare two HTMLAttributes for equality. <p> HTMLAttributes are equal if they have the same name and value. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>att</em> </td><td>The <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a> to compare to this one. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> if the two HTMLAttributes are equal, <code>false</code> otherwise. </dd></dl> </div> </div><p> <a class="anchor" name="dbc7b1cc96788516816bdd0efd13a31d"></a><!-- doxytag: member="cgicc::HTMLAttribute::render" ref="dbc7b1cc96788516816bdd0efd13a31d" args="(std::ostream &out) const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual void cgicc::HTMLAttribute::render </td> <td>(</td> <td class="paramtype">std::ostream & </td> <td class="paramname"> <em>out</em> </td> <td> ) </td> <td> const<code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Render this attribute to an ostream. <p> This is used for output purposes <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> </td><td>The ostream to which to write </td></tr> </table> </dl> <p>Implements <a class="el" href="classcgicc_1_1MStreamable.html#6a4ae7e9c578b44eebf0f04341be74ab">cgicc::MStreamable</a>.</p> </div> </div><p> <a class="anchor" name="cff9f089679be91bc23c4649353f9ceb"></a><!-- doxytag: member="cgicc::HTMLAttribute::setName" ref="cff9f089679be91bc23c4649353f9ceb" args="(const std::string &name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void cgicc::HTMLAttribute::setName </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set the name of this <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a>. <p> Use this method if the name wasn't specified in the constructor <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>The new name of the attribute. </td></tr> </table> </dl> <p>Definition at line <a class="el" href="HTMLAttribute_8h_source.html#l00207">207</a> of file <a class="el" href="HTMLAttribute_8h_source.html">HTMLAttribute.h</a>.</p> </div> </div><p> <a class="anchor" name="74bd30a7d4a48d36d6a21689ddbdd021"></a><!-- doxytag: member="cgicc::HTMLAttribute::setValue" ref="74bd30a7d4a48d36d6a21689ddbdd021" args="(const std::string &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void cgicc::HTMLAttribute::setValue </td> <td>(</td> <td class="paramtype">const std::string & </td> <td class="paramname"> <em>value</em> </td> <td> ) </td> <td><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Set the value of this <a class="el" href="classcgicc_1_1HTMLAttribute.html" title="Class representing a name or a single name/value pair.">HTMLAttribute</a>. <p> Use this method if the value wasn't specified in the constructor <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>value</em> </td><td>The new value of the attribute. </td></tr> </table> </dl> <p>Definition at line <a class="el" href="HTMLAttribute_8h_source.html#l00217">217</a> of file <a class="el" href="HTMLAttribute_8h_source.html">HTMLAttribute.h</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="HTMLAttribute_8h_source.html">HTMLAttribute.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>