1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3
<title>libxml++: xmlpp::SaxParser::AttributeHasName Struct Reference</title>
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
7
<!-- Generated by Doxygen 1.5.1 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
12
<li id="current"><a href="classes.html"><span>Classes</span></a></li>
13
<li><a href="files.html"><span>Files</span></a></li>
14
<li><a href="dirs.html"><span>Directories</span></a></li>
15
<li><a href="pages.html"><span>Related Pages</span></a></li>
19
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
20
<li><a href="annotated.html"><span>Class List</span></a></li>
21
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
22
<li><a href="functions.html"><span>Class Members</span></a></li>
25
<a class="el" href="namespacexmlpp.html">xmlpp</a>::<a class="el" href="classxmlpp_1_1SaxParser.html">SaxParser</a>::<a class="el" href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html">AttributeHasName</a></div>
26
<h1>xmlpp::SaxParser::AttributeHasName Struct Reference</h1><!-- doxytag: class="xmlpp::SaxParser::AttributeHasName" -->This functor is a helper to find an attribute by name in an AttributeList using the standard algorithm <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#a237">std::find_if</a>.
27
<a href="#_details">More...</a>
29
<a href="structxmlpp_1_1SaxParser_1_1AttributeHasName-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
31
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
32
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html#bbe96ef5aa529df4a69a6f83893e66e5">AttributeHasName</a> (<a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> const &<a class="el" href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html#3a12fda2735ef1a271a8433f1f1572b8">name</a>)</td></tr>
34
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classbool.html">bool</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html#fbd0f609949146293958662da45f75fc">operator()</a> (<a class="el" href="structxmlpp_1_1SaxParser_1_1Attribute.html">Attribute</a> const &attribute)</td></tr>
36
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
37
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> const & </td><td class="memItemRight" valign="bottom"><a class="el" href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html#3a12fda2735ef1a271a8433f1f1572b8">name</a></td></tr>
40
<hr><a name="_details"></a><h2>Detailed Description</h2>
41
This functor is a helper to find an attribute by name in an AttributeList using the standard algorithm <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#a237">std::find_if</a>.
44
<code> <a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> name = "foo";<br>
45
<a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/classstd_1_1deque.html#std_1_1dequew1">AttributeList::const_iterator</a> attribute = <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/namespacestd.html#a237">std::find_if</a>(attributes.begin(), attributes.end(), AttributeHasName(name)); </code>
47
<hr><h2>Constructor & Destructor Documentation</h2>
48
<a class="anchor" name="bbe96ef5aa529df4a69a6f83893e66e5"></a><!-- doxytag: member="xmlpp::SaxParser::AttributeHasName::AttributeHasName" ref="bbe96ef5aa529df4a69a6f83893e66e5" args="(Glib::ustring const &name)" -->
50
<div class="memproto">
51
<table class="memname">
53
<td class="memname">xmlpp::SaxParser::AttributeHasName::AttributeHasName </td>
55
<td class="paramtype"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> const & </td>
56
<td class="paramname"> <em>name</em> </td>
57
<td> ) </td>
58
<td width="100%"><code> [inline]</code></td>
68
<hr><h2>Member Function Documentation</h2>
69
<a class="anchor" name="fbd0f609949146293958662da45f75fc"></a><!-- doxytag: member="xmlpp::SaxParser::AttributeHasName::operator()" ref="fbd0f609949146293958662da45f75fc" args="(Attribute const &attribute)" -->
71
<div class="memproto">
72
<table class="memname">
74
<td class="memname"><a class="el" href="classbool.html">bool</a> xmlpp::SaxParser::AttributeHasName::operator() </td>
76
<td class="paramtype"><a class="el" href="structxmlpp_1_1SaxParser_1_1Attribute.html">Attribute</a> const & </td>
77
<td class="paramname"> <em>attribute</em> </td>
78
<td> ) </td>
79
<td width="100%"><code> [inline]</code></td>
89
<hr><h2>Member Data Documentation</h2>
90
<a class="anchor" name="3a12fda2735ef1a271a8433f1f1572b8"></a><!-- doxytag: member="xmlpp::SaxParser::AttributeHasName::name" ref="3a12fda2735ef1a271a8433f1f1572b8" args="" -->
92
<div class="memproto">
93
<table class="memname">
95
<td class="memname"><a class="elRef" doxygen="glibmm_doxygen_tags:http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/" href="http://www.gtkmm.org/docs/glibmm-2.4/docs/reference/html/classGlib_1_1ustring.html">Glib::ustring</a> const& <a class="el" href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html#3a12fda2735ef1a271a8433f1f1572b8">xmlpp::SaxParser::AttributeHasName::name</a> </td>
105
<hr>The documentation for this struct was generated from the following file:<ul>
106
<li><a class="el" href="saxparser_8h.html">saxparser.h</a></ul>
107
<hr size="1"><address style="align: right;"><small>Generated on Tue Sep 18 10:36:28 2007 for libxml++ by
108
<a href="http://www.doxygen.org/index.html">
109
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.1 </small></address>