<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <title>libxml++: xmlpp::Attribute Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.2 --> <div class="navigation" id="top"> <div class="tabs"> <ul class="tablist"> <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> </ul> </div> <div class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</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"> <ul> <li><a class="el" href="namespacexmlpp.html">xmlpp</a> </li> <li><a class="el" href="classxmlpp_1_1Attribute.html">Attribute</a> </li> </ul> </div> </div> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> </div> <div class="headertitle"> <h1>xmlpp::Attribute Class Reference</h1> </div> </div> <div class="contents"> <!-- doxytag: class="xmlpp::Attribute" --><!-- doxytag: inherits="xmlpp::Node" --> <p>Represents XML <a class="el" href="classxmlpp_1_1Node.html" title="Represents XML Nodes.">Node</a> attributes. <a href="#_details">More...</a></p> <p><code>#include <libxml++/attribute.h></code></p> <!-- startSectionHeader --><div class="dynheader"> Inheritance diagram for xmlpp::Attribute:<!-- endSectionHeader --></div> <!-- startSectionSummary --><!-- endSectionSummary --><!-- startSectionContent --><div class="dyncontent"> <div class="center"><img src="classxmlpp_1_1Attribute__inherit__graph.png" border="0" usemap="#xmlpp_1_1Attribute_inherit__map" alt="Inheritance graph"/></div> <map name="xmlpp_1_1Attribute_inherit__map" id="xmlpp_1_1Attribute_inherit__map"> <area shape="rect" id="node2" href="classxmlpp_1_1Node.html" title="Represents XML Nodes." alt="" coords="29,86,123,117"/><area shape="rect" id="node4" href="classxmlpp_1_1NonCopyable.html" title="Herited by classes which cannot be copied." alt="" coords="5,6,147,37"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center><!-- endSectionContent --></div> <!-- startSectionHeader --><div class="dynheader"> Collaboration diagram for xmlpp::Attribute:<!-- endSectionHeader --></div> <!-- startSectionSummary --><!-- endSectionSummary --><!-- startSectionContent --><div class="dyncontent"> <div class="center"><img src="classxmlpp_1_1Attribute__coll__graph.png" border="0" usemap="#xmlpp_1_1Attribute_coll__map" alt="Collaboration graph"/></div> <map name="xmlpp_1_1Attribute_coll__map" id="xmlpp_1_1Attribute_coll__map"> <area shape="rect" id="node2" href="classxmlpp_1_1Node.html" title="Represents XML Nodes." alt="" coords="29,86,123,117"/><area shape="rect" id="node4" href="classxmlpp_1_1NonCopyable.html" title="Herited by classes which cannot be copied." alt="" coords="5,6,147,37"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center><!-- endSectionContent --></div> <p><a href="classxmlpp_1_1Attribute-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Attribute.html#a1aa5294ec06fa7d5c1198e2c47d5838c">Attribute</a> (_xmlNode* node)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Attribute.html#af44eddff10b76c29d48cb98926b4c367">~Attribute</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Attribute.html#a553e7a694039b23150c27bfc05af2d60">get_name</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the name of this attribute. <a href="#a553e7a694039b23150c27bfc05af2d60"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Attribute.html#ac871c3356cabd34e849968ad9d79e5fd">get_value</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Get the value of this attribute. <a href="#ac871c3356cabd34e849968ad9d79e5fd"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Attribute.html#a24dfc8f17dad4ff629241af54d12ba78">set_value</a> (const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a>& value)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Set the value of this attribute. <a href="#a24dfc8f17dad4ff629241af54d12ba78"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">_xmlAttr* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Attribute.html#a1bdce49b8e5f118373732b4a3e14b842">cobj</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Access the underlying libxml implementation. <a href="#a1bdce49b8e5f118373732b4a3e14b842"></a><br/></td></tr> <tr><td class="memItemLeft" align="right" valign="top">const _xmlAttr* </td><td class="memItemRight" valign="bottom"><a class="el" href="classxmlpp_1_1Attribute.html#a9e6ae08227e9a81dcd18ef5cbf820dc0">cobj</a> () const </td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Access the underlying libxml implementation. <a href="#a9e6ae08227e9a81dcd18ef5cbf820dc0"></a><br/></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Represents XML <a class="el" href="classxmlpp_1_1Node.html" title="Represents XML Nodes.">Node</a> attributes. </p> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a1aa5294ec06fa7d5c1198e2c47d5838c"></a><!-- doxytag: member="xmlpp::Attribute::Attribute" ref="a1aa5294ec06fa7d5c1198e2c47d5838c" args="(_xmlNode *node)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">xmlpp::Attribute::Attribute </td> <td>(</td> <td class="paramtype">_xmlNode * </td> <td class="paramname"> <em>node</em> )</td> <td><code> [explicit]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="af44eddff10b76c29d48cb98926b4c367"></a><!-- doxytag: member="xmlpp::Attribute::~Attribute" ref="af44eddff10b76c29d48cb98926b4c367" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual xmlpp::Attribute::~Attribute </td> <td>(</td> <td class="paramname"> )</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a1bdce49b8e5f118373732b4a3e14b842"></a><!-- doxytag: member="xmlpp::Attribute::cobj" ref="a1bdce49b8e5f118373732b4a3e14b842" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">_xmlAttr* xmlpp::Attribute::cobj </td> <td>(</td> <td class="paramname"> )</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Access the underlying libxml implementation. </p> <p>Reimplemented from <a class="el" href="classxmlpp_1_1Node.html#aeede250f5cf6de5f55cb7bb94084ec7c">xmlpp::Node</a>.</p> </div> </div> <a class="anchor" id="a9e6ae08227e9a81dcd18ef5cbf820dc0"></a><!-- doxytag: member="xmlpp::Attribute::cobj" ref="a9e6ae08227e9a81dcd18ef5cbf820dc0" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const _xmlAttr* xmlpp::Attribute::cobj </td> <td>(</td> <td class="paramname"> )</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Access the underlying libxml implementation. </p> <p>Reimplemented from <a class="el" href="classxmlpp_1_1Node.html#a831eea0dbe1e51a350a9b20a2da47fc9">xmlpp::Node</a>.</p> </div> </div> <a class="anchor" id="a553e7a694039b23150c27bfc05af2d60"></a><!-- doxytag: member="xmlpp::Attribute::get_name" ref="a553e7a694039b23150c27bfc05af2d60" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Attribute::get_name </td> <td>(</td> <td class="paramname"> )</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Get the name of this attribute. </p> <p>See also <a class="el" href="classxmlpp_1_1Node.html#a06790680c79808f1a56ddea438a6df5c">Node::get_namespace_prefix()</a> and <a class="el" href="classxmlpp_1_1Node.html#a9356e5ee02dbc809f9bf139b12befc6c">Node::get_namespace_uri()</a> </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The attributes's name. </dd></dl> <p>Reimplemented from <a class="el" href="classxmlpp_1_1Node.html#ad8cba86cb7f43dd512f5b6817ed47d9a">xmlpp::Node</a>.</p> </div> </div> <a class="anchor" id="ac871c3356cabd34e849968ad9d79e5fd"></a><!-- doxytag: member="xmlpp::Attribute::get_value" ref="ac871c3356cabd34e849968ad9d79e5fd" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> xmlpp::Attribute::get_value </td> <td>(</td> <td class="paramname"> )</td> <td> const</td> </tr> </table> </div> <div class="memdoc"> <p>Get the value of this attribute. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>The attributes's value. </dd></dl> </div> </div> <a class="anchor" id="a24dfc8f17dad4ff629241af54d12ba78"></a><!-- doxytag: member="xmlpp::Attribute::set_value" ref="a24dfc8f17dad4ff629241af54d12ba78" args="(const Glib::ustring &value)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void xmlpp::Attribute::set_value </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="file:///usr/share/doc/glibmm-2.4/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> & </td> <td class="paramname"> <em>value</em> )</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Set the value of this attribute. </p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>attribute.h</li> </ul> </div> <hr class="footer"/><address class="footer"><small>Generated on Fri Feb 11 2011 16:08:50 for libxml++ by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.2 </small></address> </body> </html>