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">
6
<!-- Generated by Doxygen 1.4.4 -->
7
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Class List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Class Members</a> | <a class="qindex" href="globals.html">File Members</a></div>
9
<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>
10
<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>.
11
<a href="#_details">More...</a>
13
<a href="structxmlpp_1_1SaxParser_1_1AttributeHasName-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
15
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
16
<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#a0">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#o0">name</a>)</td></tr>
18
<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#a1">operator()</a> (<a class="el" href="structxmlpp_1_1SaxParser_1_1Attribute.html">Attribute</a> const &attribute)</td></tr>
20
<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
21
<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#o0">name</a></td></tr>
24
<hr><a name="_details"></a><h2>Detailed Description</h2>
25
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>.
28
<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>
29
<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>
31
<hr><h2>Constructor & Destructor Documentation</h2>
32
<a class="anchor" name="a0"></a><!-- doxytag: member="xmlpp::SaxParser::AttributeHasName::AttributeHasName" ref="a0" args="(Glib::ustring const &name)" --><p>
33
<table class="mdTable" cellpadding="2" cellspacing="0">
36
<table cellpadding="0" cellspacing="0" border="0">
38
<td class="md" nowrap valign="top">xmlpp::SaxParser::AttributeHasName::AttributeHasName </td>
39
<td class="md" valign="top">( </td>
40
<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>
41
<td class="mdname1" valign="top" nowrap> <em>name</em> </td>
42
<td class="md" valign="top"> ) </td>
43
<td class="md" nowrap><code> [inline]</code></td>
49
<table cellspacing="5" cellpadding="0" border="0">
60
<hr><h2>Member Function Documentation</h2>
61
<a class="anchor" name="a1"></a><!-- doxytag: member="xmlpp::SaxParser::AttributeHasName::operator()" ref="a1" args="(Attribute const &attribute)" --><p>
62
<table class="mdTable" cellpadding="2" cellspacing="0">
65
<table cellpadding="0" cellspacing="0" border="0">
67
<td class="md" nowrap valign="top"><a class="el" href="classbool.html">bool</a> xmlpp::SaxParser::AttributeHasName::operator() </td>
68
<td class="md" valign="top">( </td>
69
<td class="md" nowrap valign="top"><a class="el" href="structxmlpp_1_1SaxParser_1_1Attribute.html">Attribute</a> const & </td>
70
<td class="mdname1" valign="top" nowrap> <em>attribute</em> </td>
71
<td class="md" valign="top"> ) </td>
72
<td class="md" nowrap><code> [inline]</code></td>
78
<table cellspacing="5" cellpadding="0" border="0">
89
<hr><h2>Member Data Documentation</h2>
90
<a class="anchor" name="o0"></a><!-- doxytag: member="xmlpp::SaxParser::AttributeHasName::name" ref="o0" args="" --><p>
91
<table class="mdTable" cellpadding="2" cellspacing="0">
94
<table cellpadding="0" cellspacing="0" border="0">
96
<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#o0">xmlpp::SaxParser::AttributeHasName::name</a> </td>
102
<table cellspacing="5" cellpadding="0" border="0">
113
<hr>The documentation for this struct was generated from the following file:<ul>
114
<li><a class="el" href="saxparser_8h.html">saxparser.h</a></ul>
115
<hr size="1"><address style="align: right;"><small>Generated on Mon Mar 13 16:34:00 2006 for libxml++ by
116
<a href="http://www.doxygen.org/index.html">
117
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>