blob: ca540a8134dc9a5e5d95922baec22bca85f8b7eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>pugixml: pugi::xml_writer Class Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.4.6-NO -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="namespaces.html"><span>Namespaces</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="pages.html"><span>Related Pages</span></a></li>
</ul></div>
<div class="tabs">
<ul>
<li><a href="annotated.html"><span>Class List</span></a></li>
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class Members</span></a></li>
</ul></div>
<div class="nav">
<a class="el" href="namespacepugi.html">pugi</a>::<a class="el" href="classpugi_1_1xml__writer.html">xml_writer</a></div>
<h1>pugi::xml_writer Class Reference</h1><!-- doxytag: class="pugi::xml_writer" -->Inheritance diagram for pugi::xml_writer:<p><center><img src="classpugi_1_1xml__writer__inherit__graph.png" border="0" usemap="#pugi_1_1xml__writer__inherit__map" alt="Inheritance graph"></center>
<map name="pugi_1_1xml__writer__inherit__map">
<area href="classpugi_1_1xml__writer__file.html" shape="rect" coords="5,80,147,107" alt="">
<area href="classpugi_1_1xml__writer__stream.html" shape="rect" coords="171,80,336,107" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classpugi_1_1xml__writer-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Abstract writer class.
<p>
<dl compact><dt><b>See also:</b></dt><dd><a class="el" href="classpugi_1_1xml__node.html#c4da0304aec9261bde58ad8e3fc830ed">xml_node::print</a> </dd></dl>
<p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5c9b1bd029ed10862ffa4c61d24c351f"></a><!-- doxytag: member="pugi::xml_writer::~xml_writer" ref="5c9b1bd029ed10862ffa4c61d24c351f" args="()" -->
virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__writer.html#5c9b1bd029ed10862ffa4c61d24c351f">~xml_writer</a> ()</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Virtual dtor. <br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classpugi_1_1xml__writer.html#b7d3b6a8499ceef7799158370e1c2617">write</a> (const void *data, size_t size)=0</td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Write memory chunk into stream/file/whatever. <a href="#b7d3b6a8499ceef7799158370e1c2617"></a><br></td></tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="b7d3b6a8499ceef7799158370e1c2617"></a><!-- doxytag: member="pugi::xml_writer::write" ref="b7d3b6a8499ceef7799158370e1c2617" args="(const void *data, size_t size)=0" --><p>
<table class="mdTable" cellpadding="2" cellspacing="0">
<tr>
<td class="mdRow">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="md" nowrap valign="top">virtual void pugi::xml_writer::write </td>
<td class="md" valign="top">( </td>
<td class="md" nowrap valign="top">const void * </td>
<td class="mdname" nowrap> <em>data</em>, </td>
</tr>
<tr>
<td class="md" nowrap align="right"></td>
<td class="md"></td>
<td class="md" nowrap>size_t </td>
<td class="mdname" nowrap> <em>size</em></td>
</tr>
<tr>
<td class="md"></td>
<td class="md">) </td>
<td class="md" colspan="2"><code> [pure virtual]</code></td>
</tr>
</table>
</td>
</tr>
</table>
<table cellspacing="5" cellpadding="0" border="0">
<tr>
<td>
</td>
<td>
<p>
Write memory chunk into stream/file/whatever.
<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"></td><td valign="top"><em>data</em> </td><td>- data pointer </td></tr>
<tr><td valign="top"></td><td valign="top"><em>size</em> </td><td>- data size </td></tr>
</table>
</dl>
<p>
Implemented in <a class="el" href="classpugi_1_1xml__writer__file.html#03d24da4425f4e7ba99eae58be3a2891">pugi::xml_writer_file</a>, and <a class="el" href="classpugi_1_1xml__writer__stream.html#7c3004898f1ee5aa10dbf48103143bb1">pugi::xml_writer_stream</a>. </td>
</tr>
</table>
<hr size="1"><address style="align: right;"><small>Generated on Tue May 25 23:22:40 2010 for pugixml by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.6-NO </small></address>
</body>
</html>
|