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.4.6 -->
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>
18
<li><a href="classes.html"><span>Alphabetical List</span></a></li>
19
<li><a href="annotated.html"><span>Class List</span></a></li>
20
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
21
<li><a href="functions.html"><span>Class Members</span></a></li>
24
<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>
25
<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#3c7fb9dfaa41f01a135ad3d9cfac7102">std::find_if</a>.
26
<a href="#_details">More...</a>
28
<a href="structxmlpp_1_1SaxParser_1_1AttributeHasName-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
30
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
31
<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>
33
<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>
35
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
36
<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>
39
<hr><a name="_details"></a><h2>Detailed Description</h2>
40
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#3c7fb9dfaa41f01a135ad3d9cfac7102">std::find_if</a>.
43
<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>
44
<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#7a213774c68f57a7afb0a1d6b19ad47d">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#3c7fb9dfaa41f01a135ad3d9cfac7102">std::find_if</a>(attributes.begin(), attributes.end(), AttributeHasName(name)); </code>
46
<hr><h2>Constructor & Destructor Documentation</h2>
47
<a class="anchor" name="bbe96ef5aa529df4a69a6f83893e66e5"></a><!-- doxytag: member="xmlpp::SaxParser::AttributeHasName::AttributeHasName" ref="bbe96ef5aa529df4a69a6f83893e66e5" args="(Glib::ustring const &name)" --><p>
48
<table class="mdTable" cellpadding="2" cellspacing="0">
51
<table cellpadding="0" cellspacing="0" border="0">
53
<td class="md" nowrap valign="top">xmlpp::SaxParser::AttributeHasName::AttributeHasName </td>
54
<td class="md" valign="top">( </td>
55
<td class="md" nowrap 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>
56
<td class="mdname1" valign="top" nowrap> <em>name</em> </td>
57
<td class="md" valign="top"> ) </td>
58
<td class="md" nowrap><code> [inline]</code></td>
64
<table cellspacing="5" cellpadding="0" border="0">
75
<hr><h2>Member Function Documentation</h2>
76
<a class="anchor" name="fbd0f609949146293958662da45f75fc"></a><!-- doxytag: member="xmlpp::SaxParser::AttributeHasName::operator()" ref="fbd0f609949146293958662da45f75fc" args="(Attribute const &attribute)" --><p>
77
<table class="mdTable" cellpadding="2" cellspacing="0">
80
<table cellpadding="0" cellspacing="0" border="0">
82
<td class="md" nowrap valign="top"><a class="el" href="classbool.html">bool</a> xmlpp::SaxParser::AttributeHasName::operator() </td>
83
<td class="md" valign="top">( </td>
84
<td class="md" nowrap valign="top"><a class="el" href="structxmlpp_1_1SaxParser_1_1Attribute.html">Attribute</a> const & </td>
85
<td class="mdname1" valign="top" nowrap> <em>attribute</em> </td>
86
<td class="md" valign="top"> ) </td>
87
<td class="md" nowrap><code> [inline]</code></td>
93
<table cellspacing="5" cellpadding="0" border="0">
104
<hr><h2>Member Data Documentation</h2>
105
<a class="anchor" name="3a12fda2735ef1a271a8433f1f1572b8"></a><!-- doxytag: member="xmlpp::SaxParser::AttributeHasName::name" ref="3a12fda2735ef1a271a8433f1f1572b8" args="" --><p>
106
<table class="mdTable" cellpadding="2" cellspacing="0">
109
<table cellpadding="0" cellspacing="0" border="0">
111
<td class="md" nowrap 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& <a class="el" href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html#3a12fda2735ef1a271a8433f1f1572b8">xmlpp::SaxParser::AttributeHasName::name</a> </td>
117
<table cellspacing="5" cellpadding="0" border="0">
128
<hr>The documentation for this struct was generated from the following file:<ul>
129
<li><a class="el" href="saxparser_8h.html">saxparser.h</a></ul>
130
<hr size="1"><address style="align: right;"><small>Generated on Fri Nov 17 09:08:25 2006 for libxml++ by
131
<a href="http://www.doxygen.org/index.html">
132
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6 </small></address>