~ubuntu-branches/ubuntu/precise/ipe/precise

« back to all changes in this revision

Viewing changes to build/doc/classipe_1_1_xml_attributes.html

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2009-12-11 21:22:35 UTC
  • mfrom: (4.1.6 sid)
  • Revision ID: james.westby@ubuntu.com-20091211212235-5iio4nzpra64snab
Tags: 7.0.10-1
* New upstream.  Closes: #551192.
  - New build-depends: libcairo2-dev, liblua5.1-0-dev, gsfonts
  - patches/config.diff: Remove.  Upstream build system replaced.
  - Runtime lib package changed to libipe7.0.10 from libipe1c2a
  - Devel package renamed to libipe-dev (from libipe1-dev)
  - Package ipe depends on lua5.1 due to ipe-update-master.

* rules: Re-write to use dh.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml">
 
3
<head>
 
4
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
 
5
<title>Ipelib: ipe::XmlAttributes Class Reference</title>
 
6
<link href="tabs.css" rel="stylesheet" type="text/css"/>
 
7
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
 
8
</head>
 
9
<body>
 
10
<!-- Generated by Doxygen 1.6.1 -->
 
11
<div class="navigation" id="top">
 
12
  <div class="tabs">
 
13
    <ul>
 
14
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
 
15
      <li><a href="modules.html"><span>Modules</span></a></li>
 
16
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
 
17
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
 
18
    </ul>
 
19
  </div>
 
20
  <div class="tabs">
 
21
    <ul>
 
22
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
 
23
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
 
24
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
 
25
    </ul>
 
26
  </div>
 
27
  <div class="navpath"><a class="el" href="namespaceipe.html">ipe</a>::<a class="el" href="classipe_1_1_xml_attributes.html">XmlAttributes</a>
 
28
  </div>
 
29
</div>
 
30
<div class="contents">
 
31
<h1>ipe::XmlAttributes Class Reference<br/>
 
32
<small>
 
33
[<a class="el" href="group__base.html">Ipe Base</a>]</small>
 
34
</h1><!-- doxytag: class="ipe::XmlAttributes" -->
 
35
<p>Stores attributes of an XML tag.  
 
36
<a href="#_details">More...</a></p>
 
37
 
 
38
<p><code>#include &lt;ipexml.h&gt;</code></p>
 
39
 
 
40
<p><a href="classipe_1_1_xml_attributes-members.html">List of all members.</a></p>
 
41
<h2>Public Types</h2>
 
42
<ul>
 
43
<li>typedef Map::const_iterator <a class="el" href="classipe_1_1_xml_attributes.html#a248535c26a7bf16e6328cfb6a2790af4">const_iterator</a>
 
44
</ul>
 
45
<h2>Public Member Functions</h2>
 
46
<ul>
 
47
<li><a class="el" href="classipe_1_1_xml_attributes.html#a248535c26a7bf16e6328cfb6a2790af4">const_iterator</a> <a class="el" href="classipe_1_1_xml_attributes.html#a3a8d73974f90f72fb73bdb31c4b9c621">begin</a> () const 
 
48
<li><a class="el" href="classipe_1_1_xml_attributes.html#a248535c26a7bf16e6328cfb6a2790af4">const_iterator</a> <a class="el" href="classipe_1_1_xml_attributes.html#a850a9f1a0cdf233ee91761d9aa116301">end</a> () const 
 
49
<li><a class="el" href="classipe_1_1_xml_attributes.html#ad5b923bee1233b25adb6d59fdc35f839">XmlAttributes</a> ()
 
50
<li>void <a class="el" href="classipe_1_1_xml_attributes.html#a5602fe7fd576bd4ddfbf58006cfd9190">clear</a> ()
 
51
<li><a class="el" href="classipe_1_1_string.html">String</a> <a class="el" href="classipe_1_1_xml_attributes.html#a4ef45bc78049f60e12d2d8db6052935e">operator[]</a> (<a class="el" href="classipe_1_1_string.html">String</a> str) const 
 
52
<li>bool <a class="el" href="classipe_1_1_xml_attributes.html#ae3110184d4f5f531ef7262691a46189b">has</a> (<a class="el" href="classipe_1_1_string.html">String</a> str) const 
 
53
<li>bool <a class="el" href="classipe_1_1_xml_attributes.html#a737a5d9887311bfd7df8b41a83fd51e0">has</a> (<a class="el" href="classipe_1_1_string.html">String</a> str, <a class="el" href="classipe_1_1_string.html">String</a> &amp;val) const 
 
54
<li>void <a class="el" href="classipe_1_1_xml_attributes.html#a2638b26f881719640b2c4e89efda6cb3">add</a> (<a class="el" href="classipe_1_1_string.html">String</a> key, <a class="el" href="classipe_1_1_string.html">String</a> val)
 
55
<li>void <a class="el" href="classipe_1_1_xml_attributes.html#a5e831e7cc1bcb5abdd6f93e90fba511d">setSlash</a> ()
 
56
<li>bool <a class="el" href="classipe_1_1_xml_attributes.html#a5a2b65ab05f387cffa6fd89f19469d1b">slash</a> () const 
 
57
</ul>
 
58
<hr/><a name="_details"></a><h2>Detailed Description</h2>
 
59
<p>Stores attributes of an XML tag. </p>
 
60
<hr/><h2>Member Typedef Documentation</h2>
 
61
<a class="anchor" id="a248535c26a7bf16e6328cfb6a2790af4"></a><!-- doxytag: member="ipe::XmlAttributes::const_iterator" ref="a248535c26a7bf16e6328cfb6a2790af4" args="" -->
 
62
<div class="memitem">
 
63
<div class="memproto">
 
64
      <table class="memname">
 
65
        <tr>
 
66
          <td class="memname">typedef Map::const_iterator <a class="el" href="classipe_1_1_xml_attributes.html#a248535c26a7bf16e6328cfb6a2790af4">ipe::XmlAttributes::const_iterator</a></td>
 
67
        </tr>
 
68
      </table>
 
69
</div>
 
70
<div class="memdoc">
 
71
 
 
72
<p>Iterator for (key, value) pairs. </p>
 
73
 
 
74
</div>
 
75
</div>
 
76
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
 
77
<a class="anchor" id="ad5b923bee1233b25adb6d59fdc35f839"></a><!-- doxytag: member="ipe::XmlAttributes::XmlAttributes" ref="ad5b923bee1233b25adb6d59fdc35f839" args="()" -->
 
78
<div class="memitem">
 
79
<div class="memproto">
 
80
      <table class="memname">
 
81
        <tr>
 
82
          <td class="memname">XmlAttributes::XmlAttributes </td>
 
83
          <td>(</td>
 
84
          <td class="paramname"></td>
 
85
          <td>&nbsp;)&nbsp;</td>
 
86
          <td></td>
 
87
        </tr>
 
88
      </table>
 
89
</div>
 
90
<div class="memdoc">
 
91
 
 
92
<p>Constructor for an empty collection. </p>
 
93
 
 
94
</div>
 
95
</div>
 
96
<hr/><h2>Member Function Documentation</h2>
 
97
<a class="anchor" id="a3a8d73974f90f72fb73bdb31c4b9c621"></a><!-- doxytag: member="ipe::XmlAttributes::begin" ref="a3a8d73974f90f72fb73bdb31c4b9c621" args="() const " -->
 
98
<div class="memitem">
 
99
<div class="memproto">
 
100
      <table class="memname">
 
101
        <tr>
 
102
          <td class="memname"><a class="el" href="classipe_1_1_xml_attributes.html#a248535c26a7bf16e6328cfb6a2790af4">const_iterator</a> ipe::XmlAttributes::begin </td>
 
103
          <td>(</td>
 
104
          <td class="paramname"></td>
 
105
          <td>&nbsp;)&nbsp;</td>
 
106
          <td> const<code> [inline]</code></td>
 
107
        </tr>
 
108
      </table>
 
109
</div>
 
110
<div class="memdoc">
 
111
 
 
112
<p>Return const iterator for first attribute. </p>
 
113
 
 
114
</div>
 
115
</div>
 
116
<a class="anchor" id="a850a9f1a0cdf233ee91761d9aa116301"></a><!-- doxytag: member="ipe::XmlAttributes::end" ref="a850a9f1a0cdf233ee91761d9aa116301" args="() const " -->
 
117
<div class="memitem">
 
118
<div class="memproto">
 
119
      <table class="memname">
 
120
        <tr>
 
121
          <td class="memname"><a class="el" href="classipe_1_1_xml_attributes.html#a248535c26a7bf16e6328cfb6a2790af4">const_iterator</a> ipe::XmlAttributes::end </td>
 
122
          <td>(</td>
 
123
          <td class="paramname"></td>
 
124
          <td>&nbsp;)&nbsp;</td>
 
125
          <td> const<code> [inline]</code></td>
 
126
        </tr>
 
127
      </table>
 
128
</div>
 
129
<div class="memdoc">
 
130
 
 
131
<p>Return const iterator for end of attributes. </p>
 
132
 
 
133
</div>
 
134
</div>
 
135
<a class="anchor" id="a5602fe7fd576bd4ddfbf58006cfd9190"></a><!-- doxytag: member="ipe::XmlAttributes::clear" ref="a5602fe7fd576bd4ddfbf58006cfd9190" args="()" -->
 
136
<div class="memitem">
 
137
<div class="memproto">
 
138
      <table class="memname">
 
139
        <tr>
 
140
          <td class="memname">void XmlAttributes::clear </td>
 
141
          <td>(</td>
 
142
          <td class="paramname"></td>
 
143
          <td>&nbsp;)&nbsp;</td>
 
144
          <td></td>
 
145
        </tr>
 
146
      </table>
 
147
</div>
 
148
<div class="memdoc">
 
149
 
 
150
<p>Remove all attributes. </p>
 
151
 
 
152
</div>
 
153
</div>
 
154
<a class="anchor" id="a4ef45bc78049f60e12d2d8db6052935e"></a><!-- doxytag: member="ipe::XmlAttributes::operator[]" ref="a4ef45bc78049f60e12d2d8db6052935e" args="(String str) const " -->
 
155
<div class="memitem">
 
156
<div class="memproto">
 
157
      <table class="memname">
 
158
        <tr>
 
159
          <td class="memname"><a class="el" href="classipe_1_1_string.html">String</a> XmlAttributes::operator[] </td>
 
160
          <td>(</td>
 
161
          <td class="paramtype"><a class="el" href="classipe_1_1_string.html">String</a>&nbsp;</td>
 
162
          <td class="paramname"> <em>str</em></td>
 
163
          <td>&nbsp;)&nbsp;</td>
 
164
          <td> const</td>
 
165
        </tr>
 
166
      </table>
 
167
</div>
 
168
<div class="memdoc">
 
169
 
 
170
<p>Return attribute with given key. </p>
 
171
<p>Returns an empty string if no attribute with this key exists. </p>
 
172
 
 
173
</div>
 
174
</div>
 
175
<a class="anchor" id="ae3110184d4f5f531ef7262691a46189b"></a><!-- doxytag: member="ipe::XmlAttributes::has" ref="ae3110184d4f5f531ef7262691a46189b" args="(String str) const " -->
 
176
<div class="memitem">
 
177
<div class="memproto">
 
178
      <table class="memname">
 
179
        <tr>
 
180
          <td class="memname">bool XmlAttributes::has </td>
 
181
          <td>(</td>
 
182
          <td class="paramtype"><a class="el" href="classipe_1_1_string.html">String</a>&nbsp;</td>
 
183
          <td class="paramname"> <em>str</em></td>
 
184
          <td>&nbsp;)&nbsp;</td>
 
185
          <td> const</td>
 
186
        </tr>
 
187
      </table>
 
188
</div>
 
189
<div class="memdoc">
 
190
 
 
191
<p>Check whether attribute exists. </p>
 
192
 
 
193
</div>
 
194
</div>
 
195
<a class="anchor" id="a737a5d9887311bfd7df8b41a83fd51e0"></a><!-- doxytag: member="ipe::XmlAttributes::has" ref="a737a5d9887311bfd7df8b41a83fd51e0" args="(String str, String &amp;val) const " -->
 
196
<div class="memitem">
 
197
<div class="memproto">
 
198
      <table class="memname">
 
199
        <tr>
 
200
          <td class="memname">bool XmlAttributes::has </td>
 
201
          <td>(</td>
 
202
          <td class="paramtype"><a class="el" href="classipe_1_1_string.html">String</a>&nbsp;</td>
 
203
          <td class="paramname"> <em>str</em>, </td>
 
204
        </tr>
 
205
        <tr>
 
206
          <td class="paramkey"></td>
 
207
          <td></td>
 
208
          <td class="paramtype"><a class="el" href="classipe_1_1_string.html">String</a> &amp;&nbsp;</td>
 
209
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
210
        </tr>
 
211
        <tr>
 
212
          <td></td>
 
213
          <td>)</td>
 
214
          <td></td><td></td><td> const</td>
 
215
        </tr>
 
216
      </table>
 
217
</div>
 
218
<div class="memdoc">
 
219
 
 
220
<p>Check whether attribute exists, set <code>val</code> if so. </p>
 
221
 
 
222
</div>
 
223
</div>
 
224
<a class="anchor" id="a2638b26f881719640b2c4e89efda6cb3"></a><!-- doxytag: member="ipe::XmlAttributes::add" ref="a2638b26f881719640b2c4e89efda6cb3" args="(String key, String val)" -->
 
225
<div class="memitem">
 
226
<div class="memproto">
 
227
      <table class="memname">
 
228
        <tr>
 
229
          <td class="memname">void XmlAttributes::add </td>
 
230
          <td>(</td>
 
231
          <td class="paramtype"><a class="el" href="classipe_1_1_string.html">String</a>&nbsp;</td>
 
232
          <td class="paramname"> <em>key</em>, </td>
 
233
        </tr>
 
234
        <tr>
 
235
          <td class="paramkey"></td>
 
236
          <td></td>
 
237
          <td class="paramtype"><a class="el" href="classipe_1_1_string.html">String</a>&nbsp;</td>
 
238
          <td class="paramname"> <em>val</em></td><td>&nbsp;</td>
 
239
        </tr>
 
240
        <tr>
 
241
          <td></td>
 
242
          <td>)</td>
 
243
          <td></td><td></td><td></td>
 
244
        </tr>
 
245
      </table>
 
246
</div>
 
247
<div class="memdoc">
 
248
 
 
249
<p>Add a new attribute. </p>
 
250
 
 
251
</div>
 
252
</div>
 
253
<a class="anchor" id="a5e831e7cc1bcb5abdd6f93e90fba511d"></a><!-- doxytag: member="ipe::XmlAttributes::setSlash" ref="a5e831e7cc1bcb5abdd6f93e90fba511d" args="()" -->
 
254
<div class="memitem">
 
255
<div class="memproto">
 
256
      <table class="memname">
 
257
        <tr>
 
258
          <td class="memname">void ipe::XmlAttributes::setSlash </td>
 
259
          <td>(</td>
 
260
          <td class="paramname"></td>
 
261
          <td>&nbsp;)&nbsp;</td>
 
262
          <td><code> [inline]</code></td>
 
263
        </tr>
 
264
      </table>
 
265
</div>
 
266
<div class="memdoc">
 
267
 
 
268
<p>Set that the tag contains the final /. </p>
 
269
 
 
270
</div>
 
271
</div>
 
272
<a class="anchor" id="a5a2b65ab05f387cffa6fd89f19469d1b"></a><!-- doxytag: member="ipe::XmlAttributes::slash" ref="a5a2b65ab05f387cffa6fd89f19469d1b" args="() const " -->
 
273
<div class="memitem">
 
274
<div class="memproto">
 
275
      <table class="memname">
 
276
        <tr>
 
277
          <td class="memname">bool ipe::XmlAttributes::slash </td>
 
278
          <td>(</td>
 
279
          <td class="paramname"></td>
 
280
          <td>&nbsp;)&nbsp;</td>
 
281
          <td> const<code> [inline]</code></td>
 
282
        </tr>
 
283
      </table>
 
284
</div>
 
285
<div class="memdoc">
 
286
 
 
287
<p>Return whether tag contains the final /. </p>
 
288
 
 
289
</div>
 
290
</div>
 
291
<hr/>The documentation for this class was generated from the following files:<ul>
 
292
<li>ipexml.h</li>
 
293
<li>ipexml.cpp</li>
 
294
</ul>
 
295
</div>
 
296
<hr>
 
297
</body></html>