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 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136
|
<!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>Ipelib: IpeDeflateStream 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.5.1 -->
<div class="tabs">
<ul>
<li><a href="index.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li id="current"><a href="annotated.html"><span>Classes</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>
<h1>IpeDeflateStream Class Reference<br>
<small>
[<a class="el" href="group__high.html">Ipe Management</a>]</small>
</h1><!-- doxytag: class="IpeDeflateStream" --><!-- doxytag: inherits="IpeStream" -->Filter stream adding flate compression.
<a href="#_details">More...</a>
<p>
Inherits <a class="el" href="class_ipe_stream.html">IpeStream</a>.
<p>
<a href="class_ipe_deflate_stream-members.html">List of all members.</a><h2>Public Member Functions</h2>
<ul>
<li><a class="anchor" name="a6b7a36e226db61ce9cc4f10c6d1aab2"></a><!-- doxytag: member="IpeDeflateStream::IpeDeflateStream" ref="a6b7a36e226db61ce9cc4f10c6d1aab2" args="(IpeStream &stream, int level)" -->
<b>IpeDeflateStream</b> (<a class="el" href="class_ipe_stream.html">IpeStream</a> &stream, int level)
<li>virtual void <a class="el" href="class_ipe_deflate_stream.html#6762ecd046c0bd9962cf3ff9b301dec5">PutChar</a> (char ch)
<li>virtual void <a class="el" href="class_ipe_deflate_stream.html#c256216b82451e13a8a6213ebbb20d9e">Close</a> ()
</ul>
<h2>Static Public Member Functions</h2>
<ul>
<li>static <a class="el" href="class_ipe_buffer.html">IpeBuffer</a> <a class="el" href="class_ipe_deflate_stream.html#3933d1bfc8d54562f01aaa93779c1600">Deflate</a> (const char *data, int size, int &deflatedSize, int compressLevel)
</ul>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Filter stream adding flate compression.
<p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="6762ecd046c0bd9962cf3ff9b301dec5"></a><!-- doxytag: member="IpeDeflateStream::PutChar" ref="6762ecd046c0bd9962cf3ff9b301dec5" args="(char ch)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IpeDeflateStream::PutChar </td>
<td>(</td>
<td class="paramtype">char </td>
<td class="paramname"> <em>ch</em> </td>
<td> ) </td>
<td width="100%"><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Output character.
<p>
<p>
Implements <a class="el" href="class_ipe_stream.html#740543a4148d7185bd62323162c44ad1">IpeStream</a>.
</div>
</div><p>
<a class="anchor" name="c256216b82451e13a8a6213ebbb20d9e"></a><!-- doxytag: member="IpeDeflateStream::Close" ref="c256216b82451e13a8a6213ebbb20d9e" args="()" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void IpeDeflateStream::Close </td>
<td>(</td>
<td class="paramname"> </td>
<td> ) </td>
<td width="100%"><code> [virtual]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Close the stream. No more writing allowed!
<p>
<p>
Reimplemented from <a class="el" href="class_ipe_stream.html#b21e15e545a7d06f89d646b70a7195d3">IpeStream</a>.
</div>
</div><p>
<a class="anchor" name="3933d1bfc8d54562f01aaa93779c1600"></a><!-- doxytag: member="IpeDeflateStream::Deflate" ref="3933d1bfc8d54562f01aaa93779c1600" args="(const char *data, int size, int &deflatedSize, int compressLevel)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_ipe_buffer.html">IpeBuffer</a> IpeDeflateStream::Deflate </td>
<td>(</td>
<td class="paramtype">const char * </td>
<td class="paramname"> <em>data</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>size</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int & </td>
<td class="paramname"> <em>deflatedSize</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int </td>
<td class="paramname"> <em>compressLevel</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [static]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Deflate a buffer in a single run.
<p>
The returned buffer may be larger than necessary: <em>deflatedSize</em> is set to the number of bytes actually used.
</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li>ipeutils.h<li>ipeutils.cpp</ul>
<hr>
</body></html>
|