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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-11-17 14:53:51 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20061117145351-2a403c6h54pzia5l
Tags: 2.17.1-0ubuntu1
* New upstream release: 
  - Node: Added get_parent()
  - TextReader: Added TextReader(const char* data) constructor, for parsing 
    memory buffers.
  - Element::set_attribute(): Really return the new attribute.
  - Build: Added MS Visual Studio 2005 project files.
* debian/control:
  - remove duplicate doxygen build-dep.
* debian/rules, debian/libxml++2.6-doc.docs:
  - 2.14 -> 2.17.

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.4.6 -->
 
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
  </ul></div>
 
16
<div class="tabs">
 
17
  <ul>
 
18
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
 
19
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
 
20
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
 
21
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
 
22
  </ul></div>
 
23
<div class="nav">
 
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>
 
27
<p>
 
28
<a href="structxmlpp_1_1SaxParser_1_1AttributeHasName-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
 
29
<tr><td></td></tr>
 
30
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
 
31
<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>
 
32
 
 
33
<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>
 
34
 
 
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 &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html#3a12fda2735ef1a271a8433f1f1572b8">name</a></td></tr>
 
37
 
 
38
</table>
 
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>. 
 
41
<p>
 
42
Example:<br>
 
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> 
 
45
<p>
 
46
<hr><h2>Constructor &amp; Destructor Documentation</h2>
 
47
<a class="anchor" name="bbe96ef5aa529df4a69a6f83893e66e5"></a><!-- doxytag: member="xmlpp::SaxParser::AttributeHasName::AttributeHasName" ref="bbe96ef5aa529df4a69a6f83893e66e5" args="(Glib::ustring const &amp;name)" --><p>
 
48
<table class="mdTable" cellpadding="2" cellspacing="0">
 
49
  <tr>
 
50
    <td class="mdRow">
 
51
      <table cellpadding="0" cellspacing="0" border="0">
 
52
        <tr>
 
53
          <td class="md" nowrap valign="top">xmlpp::SaxParser::AttributeHasName::AttributeHasName           </td>
 
54
          <td class="md" valign="top">(&nbsp;</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 &amp;&nbsp;</td>
 
56
          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
 
57
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
58
          <td class="md" nowrap><code> [inline]</code></td>
 
59
        </tr>
 
60
      </table>
 
61
    </td>
 
62
  </tr>
 
63
</table>
 
64
<table cellspacing="5" cellpadding="0" border="0">
 
65
  <tr>
 
66
    <td>
 
67
      &nbsp;
 
68
    </td>
 
69
    <td>
 
70
 
 
71
<p>
 
72
    </td>
 
73
  </tr>
 
74
</table>
 
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 &amp;attribute)" --><p>
 
77
<table class="mdTable" cellpadding="2" cellspacing="0">
 
78
  <tr>
 
79
    <td class="mdRow">
 
80
      <table cellpadding="0" cellspacing="0" border="0">
 
81
        <tr>
 
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">(&nbsp;</td>
 
84
          <td class="md" nowrap valign="top"><a class="el" href="structxmlpp_1_1SaxParser_1_1Attribute.html">Attribute</a> const &amp;&nbsp;</td>
 
85
          <td class="mdname1" valign="top" nowrap> <em>attribute</em>          </td>
 
86
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
87
          <td class="md" nowrap><code> [inline]</code></td>
 
88
        </tr>
 
89
      </table>
 
90
    </td>
 
91
  </tr>
 
92
</table>
 
93
<table cellspacing="5" cellpadding="0" border="0">
 
94
  <tr>
 
95
    <td>
 
96
      &nbsp;
 
97
    </td>
 
98
    <td>
 
99
 
 
100
<p>
 
101
    </td>
 
102
  </tr>
 
103
</table>
 
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">
 
107
  <tr>
 
108
    <td class="mdRow">
 
109
      <table cellpadding="0" cellspacing="0" border="0">
 
110
        <tr>
 
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&amp; <a class="el" href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html#3a12fda2735ef1a271a8433f1f1572b8">xmlpp::SaxParser::AttributeHasName::name</a>          </td>
 
112
        </tr>
 
113
      </table>
 
114
    </td>
 
115
  </tr>
 
116
</table>
 
117
<table cellspacing="5" cellpadding="0" border="0">
 
118
  <tr>
 
119
    <td>
 
120
      &nbsp;
 
121
    </td>
 
122
    <td>
 
123
 
 
124
<p>
 
125
    </td>
 
126
  </tr>
 
127
</table>
 
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&nbsp;
 
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>
 
133
</body>
 
134
</html>