<!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>libwps: WPSMemoryStream Class Reference documentation</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <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> <div class="contents"> <h1>WPSMemoryStream Class Reference</h1><!-- doxytag: class="WPSMemoryStream" --><!-- doxytag: inherits="WPSInputStream" --><code>#include <<a class="el" href="WPSStreamImplementation_8h-source.html">WPSStreamImplementation.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for WPSMemoryStream:</div> <div class="dynsection"> <p><center><img src="classWPSMemoryStream.png" usemap="#WPSMemoryStream_map" border="0" alt=""></center> <map name="WPSMemoryStream_map"> <area href="classWPSInputStream.html" alt="WPSInputStream" shape="rect" coords="0,0,124,24"> </map> </div> <p> <a href="classWPSMemoryStream-members.html">List of all members.</a><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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWPSMemoryStream.html#3d559a41b0d7623cec90348e2fd4a3ea">WPSMemoryStream</a> (const char *data, const unsigned int dataSize)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWPSMemoryStream.html#bb288d31b6365a2501d9dd000010b2c1">~WPSMemoryStream</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const uint8_t * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWPSMemoryStream.html#88f458ee0bec3d3d81c28e5cfe5e480b">read</a> (size_t numBytes, size_t &numBytesRead)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">long </td><td class="memItemRight" valign="bottom"><a class="el" href="classWPSMemoryStream.html#d24d34a2e538de37e9ce4976baa3849c">tell</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classWPSMemoryStream.html#dfef8414a542fada992efd976cd75407">seek</a> (long offset, WPX_SEEK_TYPE seekType)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWPSMemoryStream.html#5726161da58a48432376d82903421c92">atEOS</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classWPSMemoryStream.html#9549850095ab50afefb3158377334e2c">isOLEStream</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">WPXInputStream * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWPSMemoryStream.html#0ec2406b2119ef4fbb57cff4822f131a">getDocumentOLEStream</a> (const char *name)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">WPXInputStream * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWPSMemoryStream.html#7b2091bfbeb09875933f533a22fdae8c">getDocumentOLEStream</a> ()</td></tr> <tr><td colspan="2"><br><h2>Private Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWPSMemoryStream.html#7ddb1c51717233840a54cd508d163f55">WPSMemoryStream</a> (const <a class="el" href="classWPSMemoryStream.html">WPSMemoryStream</a> &)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classWPSMemoryStream.html">WPSMemoryStream</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classWPSMemoryStream.html#0622119e23d1f91431a3fdfaa3dcc1dc">operator=</a> (const <a class="el" href="classWPSMemoryStream.html">WPSMemoryStream</a> &)</td></tr> <tr><td colspan="2"><br><h2>Private Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classWPSMemoryStreamPrivate.html">WPSMemoryStreamPrivate</a> * </td><td class="memItemRight" valign="bottom"><a class="el" href="classWPSMemoryStream.html#56a3a774d8e0531e055ed0713ca86a68">d</a></td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="3d559a41b0d7623cec90348e2fd4a3ea"></a><!-- doxytag: member="WPSMemoryStream::WPSMemoryStream" ref="3d559a41b0d7623cec90348e2fd4a3ea" args="(const char *data, const unsigned int dataSize)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">WPSMemoryStream::WPSMemoryStream </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">const unsigned int </td> <td class="paramname"> <em>dataSize</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Referenced by <a class="el" href="WPSStreamImplementation_8cpp-source.html#l00383">getDocumentOLEStream()</a>.</p> </div> </div><p> <a class="anchor" name="bb288d31b6365a2501d9dd000010b2c1"></a><!-- doxytag: member="WPSMemoryStream::~WPSMemoryStream" ref="bb288d31b6365a2501d9dd000010b2c1" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">WPSMemoryStream::~WPSMemoryStream </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <a class="anchor" name="7ddb1c51717233840a54cd508d163f55"></a><!-- doxytag: member="WPSMemoryStream::WPSMemoryStream" ref="7ddb1c51717233840a54cd508d163f55" args="(const WPSMemoryStream &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">WPSMemoryStream::WPSMemoryStream </td> <td>(</td> <td class="paramtype">const <a class="el" href="classWPSMemoryStream.html">WPSMemoryStream</a> & </td> <td class="paramname"> </td> <td> ) </td> <td><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="88f458ee0bec3d3d81c28e5cfe5e480b"></a><!-- doxytag: member="WPSMemoryStream::read" ref="88f458ee0bec3d3d81c28e5cfe5e480b" args="(size_t numBytes, size_t &numBytesRead)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const uint8_t * WPSMemoryStream::read </td> <td>(</td> <td class="paramtype">size_t </td> <td class="paramname"> <em>numBytes</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">size_t & </td> <td class="paramname"> <em>numBytesRead</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Implements <a class="el" href="classWPSInputStream.html#f468833d8239f86ede21712d87783be6">WPSInputStream</a>.</p> </div> </div><p> <a class="anchor" name="d24d34a2e538de37e9ce4976baa3849c"></a><!-- doxytag: member="WPSMemoryStream::tell" ref="d24d34a2e538de37e9ce4976baa3849c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">long WPSMemoryStream::tell </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Implements <a class="el" href="classWPSInputStream.html#08acdf4afa45f0a382dd63d7c4c98518">WPSInputStream</a>.</p> <p>Referenced by <a class="el" href="WPSStreamImplementation_8cpp-source.html#l00339">seek()</a>.</p> </div> </div><p> <a class="anchor" name="dfef8414a542fada992efd976cd75407"></a><!-- doxytag: member="WPSMemoryStream::seek" ref="dfef8414a542fada992efd976cd75407" args="(long offset, WPX_SEEK_TYPE seekType)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int WPSMemoryStream::seek </td> <td>(</td> <td class="paramtype">long </td> <td class="paramname"> <em>offset</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">WPX_SEEK_TYPE </td> <td class="paramname"> <em>seekType</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Implements <a class="el" href="classWPSInputStream.html#32d6ad2d1d872a3644be97d4cf45ff22">WPSInputStream</a>.</p> <p>Referenced by <a class="el" href="WPSStreamImplementation_8cpp-source.html#l00371">isOLEStream()</a>.</p> </div> </div><p> <a class="anchor" name="5726161da58a48432376d82903421c92"></a><!-- doxytag: member="WPSMemoryStream::atEOS" ref="5726161da58a48432376d82903421c92" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool WPSMemoryStream::atEOS </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Implements <a class="el" href="classWPSInputStream.html#9ae9ad16e823365798f3a13b109fb7ee">WPSInputStream</a>.</p> <p>Referenced by <a class="el" href="WPSStreamImplementation_8cpp-source.html#l00301">read()</a>.</p> </div> </div><p> <a class="anchor" name="9549850095ab50afefb3158377334e2c"></a><!-- doxytag: member="WPSMemoryStream::isOLEStream" ref="9549850095ab50afefb3158377334e2c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool WPSMemoryStream::isOLEStream </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Implements <a class="el" href="classWPSInputStream.html#68c2284f323f7c62aada06646aa6812b">WPSInputStream</a>.</p> </div> </div><p> <a class="anchor" name="0ec2406b2119ef4fbb57cff4822f131a"></a><!-- doxytag: member="WPSMemoryStream::getDocumentOLEStream" ref="0ec2406b2119ef4fbb57cff4822f131a" args="(const char *name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">WPXInputStream * WPSMemoryStream::getDocumentOLEStream </td> <td>(</td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Implements <a class="el" href="classWPSInputStream.html#846d2bb2e9f08bf5f2f8ae27bdb5759a">WPSInputStream</a>.</p> </div> </div><p> <a class="anchor" name="7b2091bfbeb09875933f533a22fdae8c"></a><!-- doxytag: member="WPSMemoryStream::getDocumentOLEStream" ref="7b2091bfbeb09875933f533a22fdae8c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">WPXInputStream * WPSMemoryStream::getDocumentOLEStream </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> <p>Implements <a class="el" href="classWPSInputStream.html#b02b5edcbacf373c8afe61ea4c2358f1">WPSInputStream</a>.</p> </div> </div><p> <a class="anchor" name="0622119e23d1f91431a3fdfaa3dcc1dc"></a><!-- doxytag: member="WPSMemoryStream::operator=" ref="0622119e23d1f91431a3fdfaa3dcc1dc" args="(const WPSMemoryStream &)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classWPSMemoryStream.html">WPSMemoryStream</a>& WPSMemoryStream::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classWPSMemoryStream.html">WPSMemoryStream</a> & </td> <td class="paramname"> </td> <td> ) </td> <td><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p> </div> </div><p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="56a3a774d8e0531e055ed0713ca86a68"></a><!-- doxytag: member="WPSMemoryStream::d" ref="56a3a774d8e0531e055ed0713ca86a68" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classWPSMemoryStreamPrivate.html">WPSMemoryStreamPrivate</a>* <a class="el" href="classWPSMemoryStream.html#56a3a774d8e0531e055ed0713ca86a68">WPSMemoryStream::d</a><code> [private]</code> </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Referenced by <a class="el" href="WPSStreamImplementation_8cpp-source.html#l00366">atEOS()</a>, <a class="el" href="WPSStreamImplementation_8cpp-source.html#l00383">getDocumentOLEStream()</a>, <a class="el" href="WPSStreamImplementation_8cpp-source.html#l00371">isOLEStream()</a>, <a class="el" href="WPSStreamImplementation_8cpp-source.html#l00301">read()</a>, <a class="el" href="WPSStreamImplementation_8cpp-source.html#l00339">seek()</a>, <a class="el" href="WPSStreamImplementation_8cpp-source.html#l00334">tell()</a>, <a class="el" href="WPSStreamImplementation_8cpp-source.html#l00286">WPSMemoryStream()</a>, and <a class="el" href="WPSStreamImplementation_8cpp-source.html#l00296">~WPSMemoryStream()</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="WPSStreamImplementation_8h-source.html">WPSStreamImplementation.h</a><li><a class="el" href="WPSStreamImplementation_8cpp.html">WPSStreamImplementation.cpp</a></ul> </div> <hr size="1"><address style="align: right;"><small> Generated on Sat Jun 28 12:35:51 2008 for libwps by <a href="http://www.doxygen.org/index.html"> doxygen</a> 1.5.6</small></address> </body> </html>