<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Colorer-take5 Library: SharedInputSource Class Reference</title> <link href="../styles/styles.css" rel="stylesheet" type="text/css"> <link href="../styles/doc.css" rel="stylesheet" type="text/css"> <link rel="icon" href="../images/logo-small-api.png"/> </head> <body> <div align='center'> <a href="../index.html">Home</a> | <a href="modules.html">Modules</a> | <a href="hierarchy.html">Class Hierarchy</a> | <a href="classes.html">Alphabetical List</a> | <a href="annotated.html">Compound List</a> | <a href="pages.html">Related Pages</a> </div> <!-- Generated by Doxygen 1.4.6 --> <h1>SharedInputSource Class Reference<br> <small> [<a class="el" href="group__common__io.html">IO core interfaces</a>]</small> </h1><!-- doxytag: class="SharedInputSource" --><!-- doxytag: inherits="InputSource" --><p>Inheritance diagram for SharedInputSource: <p><center><img src="classSharedInputSource.png" usemap="#SharedInputSource_map" border="0" alt=""></center> <map name="SharedInputSource_map"> <area href="classInputSource.html" alt="InputSource" shape="rect" coords="0,0,121,24"> </map> <hr><a name="_details"></a><h2>Detailed Description</h2> <a class="el" href="classInputSource.html">InputSource</a> class wrapper, allows to manage class instances counter. <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="213a3f01de12bd9e673f82dd18bfe098"></a><!-- doxytag: member="SharedInputSource::addref" ref="213a3f01de12bd9e673f82dd18bfe098" args="()" --> int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSharedInputSource.html#213a3f01de12bd9e673f82dd18bfe098">addref</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Increments reference counter. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5ad4c15c9f39525afe7ba02688db5c72"></a><!-- doxytag: member="SharedInputSource::delref" ref="5ad4c15c9f39525afe7ba02688db5c72" args="()" --> int </td><td class="memItemRight" valign="bottom"><a class="el" href="classSharedInputSource.html#5ad4c15c9f39525afe7ba02688db5c72">delref</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Decrements reference counter. <br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const byte * </td><td class="memItemRight" valign="bottom"><a class="el" href="classSharedInputSource.html#e8d92731e1377752451e1772f6e36148">getStream</a> ()</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Returns currently opened stream. <a href="#e8d92731e1377752451e1772f6e36148"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="86e2f1dc84c14e3a52df081cf58ed237"></a><!-- doxytag: member="SharedInputSource::getLocation" ref="86e2f1dc84c14e3a52df081cf58ed237" args="() const " --> const <a class="el" href="classString.html">String</a> * </td><td class="memItemRight" valign="bottom"><b>getLocation</b> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="4a6d6508f1e36049d2e899dc2baa8cac"></a><!-- doxytag: member="SharedInputSource::openStream" ref="4a6d6508f1e36049d2e899dc2baa8cac" args="()" --> const byte * </td><td class="memItemRight" valign="bottom"><b>openStream</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="00e6a6df1e51dbdc893bd26b60012154"></a><!-- doxytag: member="SharedInputSource::closeStream" ref="00e6a6df1e51dbdc893bd26b60012154" args="()" --> void </td><td class="memItemRight" valign="bottom"><b>closeStream</b> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="038291d381b7f1bbb1e2c4c2e4bccaef"></a><!-- doxytag: member="SharedInputSource::length" ref="038291d381b7f1bbb1e2c4c2e4bccaef" args="() const " --> int </td><td class="memItemRight" valign="bottom"><b>length</b> () const </td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7493aa99b5c9ede76044515c4804ad46"></a><!-- doxytag: member="SharedInputSource::getInputSource" ref="7493aa99b5c9ede76044515c4804ad46" args="(const String *path, InputSource *base)" --> static <a class="el" href="classSharedInputSource.html">SharedInputSource</a> * </td><td class="memItemRight" valign="bottom"><b>getInputSource</b> (const <a class="el" href="classString.html">String</a> *path, <a class="el" href="classInputSource.html">InputSource</a> *base)</td></tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="e8d92731e1377752451e1772f6e36148"></a><!-- doxytag: member="SharedInputSource::getStream" ref="e8d92731e1377752451e1772f6e36148" args="()" --><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">const byte* SharedInputSource::getStream </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Returns currently opened stream. <p> Opens it, if not yet opened. </td> </tr> </table> <br><br> <center><small> Colorer-take5 Library. Copyright © 1999-2006 Igor Russkih.<br> Generated at Fri Nov 24 17:13:14 2006 by doxygen 1.4.6. </small><center> </BODY> </HTML>