~ubuntu-branches/ubuntu/natty/libxml++2.6/natty

« back to all changes in this revision

Viewing changes to docs/reference/2.20/html/structxmlpp_1_1SaxParser_1_1AttributeHasName.html

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2007-09-18 11:32:24 UTC
  • mfrom: (1.1.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20070918113224-7x031mzf1shoozxx
Tags: 2.20.0-0ubuntu1
* New upstream release:
  - Element: Added get_attribute_value(), to get a simple text value for an
    attribute.
  - Added an experimental --enable-api-exceptions configure option, to allow
    libxml++ to build without exceptions.
* debian/libxml++2.6-doc.docs: 2.18 -> 2.20.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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">
 
6
</head><body>
 
7
<!-- Generated by Doxygen 1.5.1 -->
 
8
<div class="tabs">
 
9
  <ul>
 
10
    <li><a href="index.html"><span>Main&nbsp;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&nbsp;Pages</span></a></li>
 
16
  </ul></div>
 
17
<div class="tabs">
 
18
  <ul>
 
19
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
 
20
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
 
21
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
 
22
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
 
23
  </ul></div>
 
24
<div class="nav">
 
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>
 
28
<p>
 
29
<a href="structxmlpp_1_1SaxParser_1_1AttributeHasName-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
 
30
<tr><td></td></tr>
 
31
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
 
32
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</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 &amp;<a class="el" href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html#3a12fda2735ef1a271a8433f1f1572b8">name</a>)</td></tr>
 
33
 
 
34
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classbool.html">bool</a>&nbsp;</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 &amp;attribute)</td></tr>
 
35
 
 
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 &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html#3a12fda2735ef1a271a8433f1f1572b8">name</a></td></tr>
 
38
 
 
39
</table>
 
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>. 
 
42
<p>
 
43
Example:<br>
 
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> 
 
46
<p>
 
47
<hr><h2>Constructor &amp; Destructor Documentation</h2>
 
48
<a class="anchor" name="bbe96ef5aa529df4a69a6f83893e66e5"></a><!-- doxytag: member="xmlpp::SaxParser::AttributeHasName::AttributeHasName" ref="bbe96ef5aa529df4a69a6f83893e66e5" args="(Glib::ustring const &amp;name)" -->
 
49
<div class="memitem">
 
50
<div class="memproto">
 
51
      <table class="memname">
 
52
        <tr>
 
53
          <td class="memname">xmlpp::SaxParser::AttributeHasName::AttributeHasName           </td>
 
54
          <td>(</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 &amp;&nbsp;</td>
 
56
          <td class="paramname"> <em>name</em>          </td>
 
57
          <td>&nbsp;)&nbsp;</td>
 
58
          <td width="100%"><code> [inline]</code></td>
 
59
        </tr>
 
60
      </table>
 
61
</div>
 
62
<div class="memdoc">
 
63
 
 
64
<p>
 
65
 
 
66
</div>
 
67
</div><p>
 
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 &amp;attribute)" -->
 
70
<div class="memitem">
 
71
<div class="memproto">
 
72
      <table class="memname">
 
73
        <tr>
 
74
          <td class="memname"><a class="el" href="classbool.html">bool</a> xmlpp::SaxParser::AttributeHasName::operator()           </td>
 
75
          <td>(</td>
 
76
          <td class="paramtype"><a class="el" href="structxmlpp_1_1SaxParser_1_1Attribute.html">Attribute</a> const &amp;&nbsp;</td>
 
77
          <td class="paramname"> <em>attribute</em>          </td>
 
78
          <td>&nbsp;)&nbsp;</td>
 
79
          <td width="100%"><code> [inline]</code></td>
 
80
        </tr>
 
81
      </table>
 
82
</div>
 
83
<div class="memdoc">
 
84
 
 
85
<p>
 
86
 
 
87
</div>
 
88
</div><p>
 
89
<hr><h2>Member Data Documentation</h2>
 
90
<a class="anchor" name="3a12fda2735ef1a271a8433f1f1572b8"></a><!-- doxytag: member="xmlpp::SaxParser::AttributeHasName::name" ref="3a12fda2735ef1a271a8433f1f1572b8" args="" -->
 
91
<div class="memitem">
 
92
<div class="memproto">
 
93
      <table class="memname">
 
94
        <tr>
 
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&amp; <a class="el" href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html#3a12fda2735ef1a271a8433f1f1572b8">xmlpp::SaxParser::AttributeHasName::name</a>          </td>
 
96
        </tr>
 
97
      </table>
 
98
</div>
 
99
<div class="memdoc">
 
100
 
 
101
<p>
 
102
 
 
103
</div>
 
104
</div><p>
 
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&nbsp;
 
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>
 
110
</body>
 
111
</html>