Initial commit
[platform/upstream/glib2.0.git] / docs / reference / gio / html / gio-GConverterOutputstream.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>GConverterOutputstream</title>
6 <meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7 <link rel="home" href="index.html" title="GIO Reference Manual">
8 <link rel="up" href="streaming.html" title="Streaming I/O">
9 <link rel="prev" href="gio-GConverterInputstream.html" title="GConverterInputstream">
10 <link rel="next" href="types.html" title="File types and applications">
11 <meta name="generator" content="GTK-Doc V1.13 (XML mode)">
12 <link rel="stylesheet" href="style.css" type="text/css">
13 <link rel="part" href="pt01.html" title="Part I. GIO Overview">
14 <link rel="chapter" href="ch01.html" title="Introduction">
15 <link rel="chapter" href="ch02.html" title="Compiling GIO applications">
16 <link rel="chapter" href="ch03.html" title="Running GIO applications">
17 <link rel="chapter" href="extending-gio.html" title="Extending GIO">
18 <link rel="part" href="pt02.html" title="Part II. API Reference">
19 <link rel="chapter" href="file_ops.html" title="File Operations">
20 <link rel="chapter" href="file_mon.html" title="File System Monitoring">
21 <link rel="chapter" href="async.html" title="Asynchronous I/O">
22 <link rel="chapter" href="conversion.html" title="Data conversion">
23 <link rel="chapter" href="streaming.html" title="Streaming I/O">
24 <link rel="chapter" href="types.html" title="File types and applications">
25 <link rel="chapter" href="volume_mon.html" title="Volumes and Drives">
26 <link rel="chapter" href="icons.html" title="Icons">
27 <link rel="chapter" href="failable_initialization.html" title="Failable Initialization">
28 <link rel="chapter" href="networking.html" title="Lowlevel platform-independent network support">
29 <link rel="chapter" href="resolver.html" title="DNS resolution">
30 <link rel="chapter" href="highlevel-socket.html" title="Highlevel network functionallity">
31 <link rel="chapter" href="utils.html" title="Utilities">
32 <link rel="chapter" href="extending.html" title="Extending GIO">
33 <link rel="part" href="migrating.html" title="Part III. Migrating to GIO">
34 <link rel="chapter" href="ch19.html" title="Migrating from POSIX to GIO">
35 <link rel="chapter" href="ch20.html" title="Migrating from GnomeVFS to GIO">
36 <link rel="chapter" href="gio-hierarchy.html" title="Object Hierarchy">
37 <link rel="index" href="api-index-full.html" title="Index">
38 <link rel="index" href="api-index-deprecated.html" title="Index of deprecated symbols">
39 <link rel="index" href="api-index-2-18.html" title="Index of new symbols in 2.18">
40 <link rel="index" href="api-index-2-20.html" title="Index of new symbols in 2.20">
41 <link rel="index" href="api-index-2-22.html" title="Index of new symbols in 2.22">
42 <link rel="index" href="api-index-2-24.html" title="Index of new symbols in 2.24">
43 </head>
44 <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
45 <table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
46 <tr valign="middle">
47 <td><a accesskey="p" href="gio-GConverterInputstream.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
48 <td><a accesskey="u" href="streaming.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
49 <td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
50 <th width="100%" align="center">GIO Reference Manual</th>
51 <td><a accesskey="n" href="types.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
52 </tr>
53 <tr><td colspan="5" class="shortcuts">
54 <a href="#gio-GConverterOutputstream.synopsis" class="shortcut">Top</a>
55                    | 
56                   <a href="#gio-GConverterOutputstream.description" class="shortcut">Description</a>
57                    | 
58                   <a href="#gio-GConverterOutputstream.object-hierarchy" class="shortcut">Object Hierarchy</a>
59                    | 
60                   <a href="#gio-GConverterOutputstream.properties" class="shortcut">Properties</a>
61 </td></tr>
62 </table>
63 <div class="refentry" title="GConverterOutputstream">
64 <a name="gio-GConverterOutputstream"></a><div class="titlepage"></div>
65 <div class="refnamediv"><table width="100%"><tr>
66 <td valign="top">
67 <h2><span class="refentrytitle"><a name="gio-GConverterOutputstream.top_of_page"></a>GConverterOutputstream</span></h2>
68 <p>GConverterOutputstream — Converter Output Stream</p>
69 </td>
70 <td valign="top" align="right"></td>
71 </tr></table></div>
72 <div class="refsynopsisdiv" title="Synopsis">
73 <a name="gio-GConverterOutputstream.synopsis"></a><h2>Synopsis</h2>
74 <a name="GConverterOutputStream"></a><pre class="synopsis">
75 #include &lt;gio/gio.h&gt;
76
77                     <a class="link" href="gio-GConverterOutputstream.html#GConverterOutputStream-struct" title="GConverterOutputStream">GConverterOutputStream</a>;
78 <a class="link" href="GOutputStream.html" title="GOutputStream"><span class="returnvalue">GOutputStream</span></a> *     <a class="link" href="gio-GConverterOutputstream.html#g-converter-output-stream-new" title="g_converter_output_stream_new ()">g_converter_output_stream_new</a>       (<a class="link" href="GOutputStream.html" title="GOutputStream"><span class="returnvalue">GOutputStream</span></a> *base_stream,
79                                                          <a class="link" href="GConverter.html" title="GConverter"><span class="returnvalue">GConverter</span></a> *converter);
80 <a class="link" href="GConverter.html" title="GConverter"><span class="returnvalue">GConverter</span></a> *        <a class="link" href="gio-GConverterOutputstream.html#g-converter-output-stream-get-converter" title="g_converter_output_stream_get_converter ()">g_converter_output_stream_get_converter</a>
81                                                         (<a class="link" href="gio-GConverterOutputstream.html#GConverterOutputStream"><span class="returnvalue">GConverterOutputStream</span></a> *converter_stream);
82 </pre>
83 </div>
84 <div class="refsect1" title="Object Hierarchy">
85 <a name="gio-GConverterOutputstream.object-hierarchy"></a><h2>Object Hierarchy</h2>
86 <pre class="synopsis">
87   <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
88    +----<a class="link" href="GOutputStream.html" title="GOutputStream">GOutputStream</a>
89          +----<a class="link" href="GFilterOutputStream.html" title="GFilterOutputStream">GFilterOutputStream</a>
90                +----GConverterOutputStream
91 </pre>
92 </div>
93 <div class="refsect1" title="Properties">
94 <a name="gio-GConverterOutputstream.properties"></a><h2>Properties</h2>
95 <pre class="synopsis">
96   "<a class="link" href="gio-GConverterOutputstream.html#GConverterOutputStream--converter" title='The "converter" property'>converter</a>"                <a class="link" href="GConverter.html" title="GConverter"><span class="type">GConverter</span></a>*           : Read / Write / Construct Only
97 </pre>
98 </div>
99 <div class="refsect1" title="Description">
100 <a name="gio-GConverterOutputstream.description"></a><h2>Description</h2>
101 <p>
102 Converter output stream implements <a class="link" href="GOutputStream.html" title="GOutputStream"><span class="type">GOutputStream</span></a> and allows
103 conversion of data of various types during reading.</p>
104 </div>
105 <div class="refsect1" title="Details">
106 <a name="gio-GConverterOutputstream.details"></a><h2>Details</h2>
107 <div class="refsect2" title="GConverterOutputStream">
108 <a name="GConverterOutputStream-struct"></a><h3>GConverterOutputStream</h3>
109 <pre class="programlisting">typedef struct _GConverterOutputStream GConverterOutputStream;</pre>
110 <p>
111 An implementation of <a class="link" href="GFilterOutputStream.html" title="GFilterOutputStream"><span class="type">GFilterOutputStream</span></a> that allows data
112 conversion.</p>
113 <div class="variablelist"><table border="0">
114 <col align="left" valign="top">
115 <tbody></tbody>
116 </table></div>
117 </div>
118 <hr>
119 <div class="refsect2" title="g_converter_output_stream_new ()">
120 <a name="g-converter-output-stream-new"></a><h3>g_converter_output_stream_new ()</h3>
121 <pre class="programlisting"><a class="link" href="GOutputStream.html" title="GOutputStream"><span class="returnvalue">GOutputStream</span></a> *     g_converter_output_stream_new       (<a class="link" href="GOutputStream.html" title="GOutputStream"><span class="returnvalue">GOutputStream</span></a> *base_stream,
122                                                          <a class="link" href="GConverter.html" title="GConverter"><span class="returnvalue">GConverter</span></a> *converter);</pre>
123 <p>
124 Creates a new converter output stream for the <em class="parameter"><code>base_stream</code></em>.</p>
125 <div class="variablelist"><table border="0">
126 <col align="left" valign="top">
127 <tbody>
128 <tr>
129 <td><p><span class="term"><em class="parameter"><code>base_stream</code></em> :</span></p></td>
130 <td> a <a class="link" href="GOutputStream.html" title="GOutputStream"><span class="type">GOutputStream</span></a>
131 </td>
132 </tr>
133 <tr>
134 <td><p><span class="term"><em class="parameter"><code>converter</code></em> :</span></p></td>
135 <td> a <a class="link" href="GConverter.html" title="GConverter"><span class="type">GConverter</span></a>
136 </td>
137 </tr>
138 <tr>
139 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
140 <td> a new <a class="link" href="GOutputStream.html" title="GOutputStream"><span class="type">GOutputStream</span></a>.
141 </td>
142 </tr>
143 </tbody>
144 </table></div>
145 </div>
146 <hr>
147 <div class="refsect2" title="g_converter_output_stream_get_converter ()">
148 <a name="g-converter-output-stream-get-converter"></a><h3>g_converter_output_stream_get_converter ()</h3>
149 <pre class="programlisting"><a class="link" href="GConverter.html" title="GConverter"><span class="returnvalue">GConverter</span></a> *        g_converter_output_stream_get_converter
150                                                         (<a class="link" href="gio-GConverterOutputstream.html#GConverterOutputStream"><span class="returnvalue">GConverterOutputStream</span></a> *converter_stream);</pre>
151 <p>
152 Gets the <a class="link" href="GConverter.html" title="GConverter"><span class="type">GConverter</span></a> that is used by <em class="parameter"><code>converter_stream</code></em>.</p>
153 <div class="variablelist"><table border="0">
154 <col align="left" valign="top">
155 <tbody>
156 <tr>
157 <td><p><span class="term"><em class="parameter"><code>converter_stream</code></em> :</span></p></td>
158 <td> a <a class="link" href="gio-GConverterOutputstream.html#GConverterOutputStream"><span class="type">GConverterOutputStream</span></a>
159 </td>
160 </tr>
161 <tr>
162 <td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
163 <td> the converter of the converter output stream
164
165 </td>
166 </tr>
167 </tbody>
168 </table></div>
169 <p class="since">Since 2.24</p>
170 </div>
171 </div>
172 <div class="refsect1" title="Property Details">
173 <a name="gio-GConverterOutputstream.property-details"></a><h2>Property Details</h2>
174 <div class="refsect2" title='The "converter" property'>
175 <a name="GConverterOutputStream--converter"></a><h3>The <code class="literal">"converter"</code> property</h3>
176 <pre class="programlisting">  "converter"                <a class="link" href="GConverter.html" title="GConverter"><span class="type">GConverter</span></a>*           : Read / Write / Construct Only</pre>
177 <p>The converter object.</p>
178 </div>
179 </div>
180 <div class="refsect1" title="See Also">
181 <a name="gio-GConverterOutputstream.see-also"></a><h2>See Also</h2>
182 <a class="link" href="GOutputStream.html" title="GOutputStream"><span class="type">GOutputStream</span></a>, <a class="link" href="GConverter.html" title="GConverter"><span class="type">GConverter</span></a>
183 </div>
184 </div>
185 <div class="footer">
186 <hr>
187           Generated by GTK-Doc V1.13</div>
188 </body>
189 </html>