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

« back to all changes in this revision

Viewing changes to docs/reference/2.14/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
 
</head><body>
6
 
<!-- Generated by Doxygen 1.4.4 -->
7
 
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="globals.html">File&nbsp;Members</a></div>
8
 
<div class="nav">
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>
12
 
<p>
13
 
<a href="structxmlpp_1_1SaxParser_1_1AttributeHasName-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
14
 
<tr><td></td></tr>
15
 
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
16
 
<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#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 &amp;<a class="el" href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html#o0">name</a>)</td></tr>
17
 
 
18
 
<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#a1">operator()</a> (<a class="el" href="structxmlpp_1_1SaxParser_1_1Attribute.html">Attribute</a> const &amp;attribute)</td></tr>
19
 
 
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 &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html#o0">name</a></td></tr>
22
 
 
23
 
</table>
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>. 
26
 
<p>
27
 
Example:<br>
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>
30
 
<p>
31
 
<hr><h2>Constructor &amp; Destructor Documentation</h2>
32
 
<a class="anchor" name="a0"></a><!-- doxytag: member="xmlpp::SaxParser::AttributeHasName::AttributeHasName" ref="a0" args="(Glib::ustring const &amp;name)" --><p>
33
 
<table class="mdTable" cellpadding="2" cellspacing="0">
34
 
  <tr>
35
 
    <td class="mdRow">
36
 
      <table cellpadding="0" cellspacing="0" border="0">
37
 
        <tr>
38
 
          <td class="md" nowrap valign="top">xmlpp::SaxParser::AttributeHasName::AttributeHasName           </td>
39
 
          <td class="md" valign="top">(&nbsp;</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 &amp;&nbsp;</td>
41
 
          <td class="mdname1" valign="top" nowrap> <em>name</em>          </td>
42
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
43
 
          <td class="md" nowrap><code> [inline]</code></td>
44
 
        </tr>
45
 
      </table>
46
 
    </td>
47
 
  </tr>
48
 
</table>
49
 
<table cellspacing="5" cellpadding="0" border="0">
50
 
  <tr>
51
 
    <td>
52
 
      &nbsp;
53
 
    </td>
54
 
    <td>
55
 
 
56
 
<p>
57
 
    </td>
58
 
  </tr>
59
 
</table>
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 &amp;attribute)" --><p>
62
 
<table class="mdTable" cellpadding="2" cellspacing="0">
63
 
  <tr>
64
 
    <td class="mdRow">
65
 
      <table cellpadding="0" cellspacing="0" border="0">
66
 
        <tr>
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">(&nbsp;</td>
69
 
          <td class="md" nowrap valign="top"><a class="el" href="structxmlpp_1_1SaxParser_1_1Attribute.html">Attribute</a> const &amp;&nbsp;</td>
70
 
          <td class="mdname1" valign="top" nowrap> <em>attribute</em>          </td>
71
 
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
72
 
          <td class="md" nowrap><code> [inline]</code></td>
73
 
        </tr>
74
 
      </table>
75
 
    </td>
76
 
  </tr>
77
 
</table>
78
 
<table cellspacing="5" cellpadding="0" border="0">
79
 
  <tr>
80
 
    <td>
81
 
      &nbsp;
82
 
    </td>
83
 
    <td>
84
 
 
85
 
<p>
86
 
    </td>
87
 
  </tr>
88
 
</table>
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">
92
 
  <tr>
93
 
    <td class="mdRow">
94
 
      <table cellpadding="0" cellspacing="0" border="0">
95
 
        <tr>
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&amp; <a class="el" href="structxmlpp_1_1SaxParser_1_1AttributeHasName.html#o0">xmlpp::SaxParser::AttributeHasName::name</a>          </td>
97
 
        </tr>
98
 
      </table>
99
 
    </td>
100
 
  </tr>
101
 
</table>
102
 
<table cellspacing="5" cellpadding="0" border="0">
103
 
  <tr>
104
 
    <td>
105
 
      &nbsp;
106
 
    </td>
107
 
    <td>
108
 
 
109
 
<p>
110
 
    </td>
111
 
  </tr>
112
 
</table>
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&nbsp;
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>
118
 
</body>
119
 
</html>