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

« back to all changes in this revision

Viewing changes to doc/class_ipe_xml_attributes.html

  • Committer: Bazaar Package Importer
  • Author(s): Steve M. Robbins
  • Date: 2004-06-08 00:44:02 UTC
  • Revision ID: james.westby@ubuntu.com-20040608004402-72yu51xlh7vt6p9m
Tags: upstream-6.0pre16
ImportĀ upstreamĀ versionĀ 6.0pre16

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>Ipelib: IpeXmlAttributes class Reference</title>
 
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
 
5
</head><body>
 
6
<!-- Generated by Doxygen 1.3.4 -->
 
7
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a></div>
 
8
<h1>IpeXmlAttributes Class Reference<br>
 
9
<small>
 
10
[<a class="el" href="group__base.html">Ipe Base</a>]</small>
 
11
</h1>Stores attributes of an XML tag.  
 
12
<a href="#_details">More...</a>
 
13
<p>
 
14
<a href="class_ipe_xml_attributes-members.html">List of all members.</a><h2>Public Types</h2>
 
15
<ul>
 
16
<li>typedef Map::const_iterator <a class="el" href="class_ipe_xml_attributes.html#w0">const_iterator</a>
 
17
</ul>
 
18
<h2>Public Member Functions</h2>
 
19
<ul>
 
20
<li><a class="el" href="class_ipe_xml_attributes.html#w0">const_iterator</a> <a class="el" href="class_ipe_xml_attributes.html#a0">begin</a> () const 
 
21
<li><a class="el" href="class_ipe_xml_attributes.html#w0">const_iterator</a> <a class="el" href="class_ipe_xml_attributes.html#a1">end</a> () const 
 
22
<li><a class="el" href="class_ipe_xml_attributes.html#a2">IpeXmlAttributes</a> ()
 
23
<li>void <a class="el" href="class_ipe_xml_attributes.html#a3">Clear</a> ()
 
24
<li><a class="el" href="class_ipe_string.html">IpeString</a> <a class="el" href="class_ipe_xml_attributes.html#a4">operator[]</a> (<a class="el" href="class_ipe_string.html">IpeString</a> str) const 
 
25
<li>bool <a class="el" href="class_ipe_xml_attributes.html#a5">Has</a> (<a class="el" href="class_ipe_string.html">IpeString</a> str, <a class="el" href="class_ipe_string.html">IpeString</a> &amp;val) const 
 
26
<li>void <a class="el" href="class_ipe_xml_attributes.html#a6">Add</a> (<a class="el" href="class_ipe_string.html">IpeString</a> key, <a class="el" href="class_ipe_string.html">IpeString</a> val)
 
27
<li>void <a class="el" href="class_ipe_xml_attributes.html#a7">SetSlash</a> ()
 
28
<li>bool <a class="el" href="class_ipe_xml_attributes.html#a8">Slash</a> () const 
 
29
</ul>
 
30
<hr><a name="_details"></a><h2>Detailed Description</h2>
 
31
Stores attributes of an XML tag. 
 
32
<p>
 
33
<hr><h2>Member Typedef Documentation</h2>
 
34
<a class="anchor" name="w0" doxytag="IpeXmlAttributes::const_iterator" ></a><p>
 
35
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
36
  <tr>
 
37
    <td class="mdRow">
 
38
      <table cellpadding="0" cellspacing="0" border="0">
 
39
        <tr>
 
40
          <td class="md" nowrap valign="top"> typedef Map::const_iterator <a class="el" href="class_ipe_xml_attributes.html#w0">IpeXmlAttributes::const_iterator</a>
 
41
      </table>
 
42
    </td>
 
43
  </tr>
 
44
</table>
 
45
<table cellspacing=5 cellpadding=0 border=0>
 
46
  <tr>
 
47
    <td>
 
48
      &nbsp;
 
49
    </td>
 
50
    <td>
 
51
 
 
52
<p>
 
53
Iterator for (key, value) pairs. 
 
54
<p>
 
55
    </td>
 
56
  </tr>
 
57
</table>
 
58
<hr><h2>Constructor &amp; Destructor Documentation</h2>
 
59
<a class="anchor" name="a2" doxytag="IpeXmlAttributes::IpeXmlAttributes" ></a><p>
 
60
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
61
  <tr>
 
62
    <td class="mdRow">
 
63
      <table cellpadding="0" cellspacing="0" border="0">
 
64
        <tr>
 
65
          <td class="md" nowrap valign="top"> IpeXmlAttributes::IpeXmlAttributes </td>
 
66
          <td class="md" valign="top">(&nbsp;</td>
 
67
          <td class="mdname1" valign="top" nowrap>          </td>
 
68
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
69
          <td class="md" nowrap></td>
 
70
        </tr>
 
71
 
 
72
      </table>
 
73
    </td>
 
74
  </tr>
 
75
</table>
 
76
<table cellspacing=5 cellpadding=0 border=0>
 
77
  <tr>
 
78
    <td>
 
79
      &nbsp;
 
80
    </td>
 
81
    <td>
 
82
 
 
83
<p>
 
84
Constructor for an empty collection. 
 
85
<p>
 
86
    </td>
 
87
  </tr>
 
88
</table>
 
89
<hr><h2>Member Function Documentation</h2>
 
90
<a class="anchor" name="a0" doxytag="IpeXmlAttributes::begin" ></a><p>
 
91
<table class="mdTable" width="100%" 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="el" href="class_ipe_xml_attributes.html#w0">const_iterator</a> IpeXmlAttributes::begin </td>
 
97
          <td class="md" valign="top">(&nbsp;</td>
 
98
          <td class="mdname1" valign="top" nowrap>          </td>
 
99
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
100
          <td class="md" nowrap> const<code> [inline]</code></td>
 
101
        </tr>
 
102
 
 
103
      </table>
 
104
    </td>
 
105
  </tr>
 
106
</table>
 
107
<table cellspacing=5 cellpadding=0 border=0>
 
108
  <tr>
 
109
    <td>
 
110
      &nbsp;
 
111
    </td>
 
112
    <td>
 
113
 
 
114
<p>
 
115
Return const iterator for first attribute. 
 
116
<p>
 
117
    </td>
 
118
  </tr>
 
119
</table>
 
120
<a class="anchor" name="a1" doxytag="IpeXmlAttributes::end" ></a><p>
 
121
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
122
  <tr>
 
123
    <td class="mdRow">
 
124
      <table cellpadding="0" cellspacing="0" border="0">
 
125
        <tr>
 
126
          <td class="md" nowrap valign="top"> <a class="el" href="class_ipe_xml_attributes.html#w0">const_iterator</a> IpeXmlAttributes::end </td>
 
127
          <td class="md" valign="top">(&nbsp;</td>
 
128
          <td class="mdname1" valign="top" nowrap>          </td>
 
129
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
130
          <td class="md" nowrap> const<code> [inline]</code></td>
 
131
        </tr>
 
132
 
 
133
      </table>
 
134
    </td>
 
135
  </tr>
 
136
</table>
 
137
<table cellspacing=5 cellpadding=0 border=0>
 
138
  <tr>
 
139
    <td>
 
140
      &nbsp;
 
141
    </td>
 
142
    <td>
 
143
 
 
144
<p>
 
145
Return const iterator for end of attributes. 
 
146
<p>
 
147
    </td>
 
148
  </tr>
 
149
</table>
 
150
<a class="anchor" name="a3" doxytag="IpeXmlAttributes::Clear" ></a><p>
 
151
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
152
  <tr>
 
153
    <td class="mdRow">
 
154
      <table cellpadding="0" cellspacing="0" border="0">
 
155
        <tr>
 
156
          <td class="md" nowrap valign="top"> void IpeXmlAttributes::Clear </td>
 
157
          <td class="md" valign="top">(&nbsp;</td>
 
158
          <td class="mdname1" valign="top" nowrap>          </td>
 
159
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
160
          <td class="md" nowrap></td>
 
161
        </tr>
 
162
 
 
163
      </table>
 
164
    </td>
 
165
  </tr>
 
166
</table>
 
167
<table cellspacing=5 cellpadding=0 border=0>
 
168
  <tr>
 
169
    <td>
 
170
      &nbsp;
 
171
    </td>
 
172
    <td>
 
173
 
 
174
<p>
 
175
Remove all attributes. 
 
176
<p>
 
177
    </td>
 
178
  </tr>
 
179
</table>
 
180
<a class="anchor" name="a4" doxytag="IpeXmlAttributes::operator[]" ></a><p>
 
181
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
182
  <tr>
 
183
    <td class="mdRow">
 
184
      <table cellpadding="0" cellspacing="0" border="0">
 
185
        <tr>
 
186
          <td class="md" nowrap valign="top"> <a class="el" href="class_ipe_string.html">IpeString</a> IpeXmlAttributes::operator[] </td>
 
187
          <td class="md" valign="top">(&nbsp;</td>
 
188
          <td class="md" nowrap valign="top"><a class="el" href="class_ipe_string.html">IpeString</a>&nbsp;</td>
 
189
          <td class="mdname1" valign="top" nowrap> <em>str</em>          </td>
 
190
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
191
          <td class="md" nowrap> const</td>
 
192
        </tr>
 
193
 
 
194
      </table>
 
195
    </td>
 
196
  </tr>
 
197
</table>
 
198
<table cellspacing=5 cellpadding=0 border=0>
 
199
  <tr>
 
200
    <td>
 
201
      &nbsp;
 
202
    </td>
 
203
    <td>
 
204
 
 
205
<p>
 
206
Return attribute with given key. 
 
207
<p>
 
208
Returns an empty string if no attribute with this key exists.     </td>
 
209
  </tr>
 
210
</table>
 
211
<a class="anchor" name="a5" doxytag="IpeXmlAttributes::Has" ></a><p>
 
212
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
213
  <tr>
 
214
    <td class="mdRow">
 
215
      <table cellpadding="0" cellspacing="0" border="0">
 
216
        <tr>
 
217
          <td class="md" nowrap valign="top"> bool IpeXmlAttributes::Has </td>
 
218
          <td class="md" valign="top">(&nbsp;</td>
 
219
          <td class="md" nowrap valign="top"><a class="el" href="class_ipe_string.html">IpeString</a>&nbsp;</td>
 
220
          <td class="mdname" nowrap> <em>str</em>, </td>
 
221
        </tr>
 
222
        <tr>
 
223
          <td></td>
 
224
          <td></td>
 
225
          <td class="md" nowrap><a class="el" href="class_ipe_string.html">IpeString</a> &amp;&nbsp;</td>
 
226
          <td class="mdname" nowrap> <em>val</em></td>
 
227
        </tr>
 
228
        <tr>
 
229
          <td></td>
 
230
          <td class="md">)&nbsp;</td>
 
231
          <td class="md" colspan="2"> const</td>
 
232
        </tr>
 
233
 
 
234
      </table>
 
235
    </td>
 
236
  </tr>
 
237
</table>
 
238
<table cellspacing=5 cellpadding=0 border=0>
 
239
  <tr>
 
240
    <td>
 
241
      &nbsp;
 
242
    </td>
 
243
    <td>
 
244
 
 
245
<p>
 
246
Check whether attribute exists, set <code>val</code> if so. 
 
247
<p>
 
248
    </td>
 
249
  </tr>
 
250
</table>
 
251
<a class="anchor" name="a6" doxytag="IpeXmlAttributes::Add" ></a><p>
 
252
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
253
  <tr>
 
254
    <td class="mdRow">
 
255
      <table cellpadding="0" cellspacing="0" border="0">
 
256
        <tr>
 
257
          <td class="md" nowrap valign="top"> void IpeXmlAttributes::Add </td>
 
258
          <td class="md" valign="top">(&nbsp;</td>
 
259
          <td class="md" nowrap valign="top"><a class="el" href="class_ipe_string.html">IpeString</a>&nbsp;</td>
 
260
          <td class="mdname" nowrap> <em>key</em>, </td>
 
261
        </tr>
 
262
        <tr>
 
263
          <td></td>
 
264
          <td></td>
 
265
          <td class="md" nowrap><a class="el" href="class_ipe_string.html">IpeString</a>&nbsp;</td>
 
266
          <td class="mdname" nowrap> <em>val</em></td>
 
267
        </tr>
 
268
        <tr>
 
269
          <td></td>
 
270
          <td class="md">)&nbsp;</td>
 
271
          <td class="md" colspan="2"></td>
 
272
        </tr>
 
273
 
 
274
      </table>
 
275
    </td>
 
276
  </tr>
 
277
</table>
 
278
<table cellspacing=5 cellpadding=0 border=0>
 
279
  <tr>
 
280
    <td>
 
281
      &nbsp;
 
282
    </td>
 
283
    <td>
 
284
 
 
285
<p>
 
286
Add a new attribute. 
 
287
<p>
 
288
    </td>
 
289
  </tr>
 
290
</table>
 
291
<a class="anchor" name="a7" doxytag="IpeXmlAttributes::SetSlash" ></a><p>
 
292
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
293
  <tr>
 
294
    <td class="mdRow">
 
295
      <table cellpadding="0" cellspacing="0" border="0">
 
296
        <tr>
 
297
          <td class="md" nowrap valign="top"> void IpeXmlAttributes::SetSlash </td>
 
298
          <td class="md" valign="top">(&nbsp;</td>
 
299
          <td class="mdname1" valign="top" nowrap>          </td>
 
300
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
301
          <td class="md" nowrap><code> [inline]</code></td>
 
302
        </tr>
 
303
 
 
304
      </table>
 
305
    </td>
 
306
  </tr>
 
307
</table>
 
308
<table cellspacing=5 cellpadding=0 border=0>
 
309
  <tr>
 
310
    <td>
 
311
      &nbsp;
 
312
    </td>
 
313
    <td>
 
314
 
 
315
<p>
 
316
Set that the tag contains the final /. 
 
317
<p>
 
318
    </td>
 
319
  </tr>
 
320
</table>
 
321
<a class="anchor" name="a8" doxytag="IpeXmlAttributes::Slash" ></a><p>
 
322
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
 
323
  <tr>
 
324
    <td class="mdRow">
 
325
      <table cellpadding="0" cellspacing="0" border="0">
 
326
        <tr>
 
327
          <td class="md" nowrap valign="top"> bool IpeXmlAttributes::Slash </td>
 
328
          <td class="md" valign="top">(&nbsp;</td>
 
329
          <td class="mdname1" valign="top" nowrap>          </td>
 
330
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
 
331
          <td class="md" nowrap> const<code> [inline]</code></td>
 
332
        </tr>
 
333
 
 
334
      </table>
 
335
    </td>
 
336
  </tr>
 
337
</table>
 
338
<table cellspacing=5 cellpadding=0 border=0>
 
339
  <tr>
 
340
    <td>
 
341
      &nbsp;
 
342
    </td>
 
343
    <td>
 
344
 
 
345
<p>
 
346
Return whether tag contains the final /. 
 
347
<p>
 
348
    </td>
 
349
  </tr>
 
350
</table>
 
351
<hr>The documentation for this class was generated from the following files:<ul>
 
352
<li>ipexml.h<li>ipexml.cpp</ul>
 
353
<hr>
 
354
</body></html>