Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-release > by-pkgid > 1b812d1b0e765bcc0430721ff58676d2 > files > 94

libid3_3.8_3-devel-3.8.3-19.mga1.i586.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>id3lib: dami::io::CharReader Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="id3lib.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.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="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
  <div class="navpath"><a class="el" href="namespacedami.html">dami</a>::<a class="el" href="namespacedami_1_1io.html">io</a>::<a class="el" href="classdami_1_1io_1_1_char_reader.html">CharReader</a>
  </div>
</div>
<div class="contents">
<h1>dami::io::CharReader Class Reference</h1><!-- doxytag: class="dami::io::CharReader" --><!-- doxytag: inherits="ID3_Reader" -->
<p><code>#include &lt;<a class="el" href="io__decorators_8h_source.html">io_decorators.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for dami::io::CharReader:</div>
<div class="dynsection">
 <div class="center">
  <img src="classdami_1_1io_1_1_char_reader.png" usemap="#dami::io::CharReader_map" alt=""/>
  <map id="dami::io::CharReader_map" name="dami::io::CharReader_map">
<area href="class_i_d3___reader.html" alt="ID3_Reader" shape="rect" coords="83,0,240,24"/>
<area href="classdami_1_1io_1_1_line_feed_reader.html" alt="dami::io::LineFeedReader" shape="rect" coords="0,112,157,136"/>
<area href="classdami_1_1io_1_1_unsynced_reader.html" alt="dami::io::UnsyncedReader" shape="rect" coords="167,112,324,136"/>
</map>
 </div>
</div>

<p><a href="classdami_1_1io_1_1_char_reader-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdami_1_1io_1_1_char_reader.html#a2c3c9194849f1fe491d6e843bdbf44ec">CharReader</a> (<a class="el" href="class_i_d3___reader.html">ID3_Reader</a> &amp;reader)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdami_1_1io_1_1_char_reader.html#a3c2871406dc6d5e5b797673363ad4bc2">~CharReader</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_i_d3___reader.html#ab3891f70b4b079fe887e2eb707ca060e">size_type</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdami_1_1io_1_1_char_reader.html#a61b7a6cd66f0f5a389acdee591c1b8c7">readChars</a> (<a class="el" href="class_i_d3___reader.html#abc80771e4ce81188082eaa8fa90a67e6">char_type</a> buf[], <a class="el" href="class_i_d3___reader.html#ab3891f70b4b079fe887e2eb707ca060e">size_type</a> len)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Read <code>len</code> characters into the array <code>buf</code>.  <a href="#a61b7a6cd66f0f5a389acdee591c1b8c7"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_i_d3___reader.html#ab3891f70b4b079fe887e2eb707ca060e">size_type</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdami_1_1io_1_1_char_reader.html#a1112e26a1377451f90174507e06aa684">readChars</a> (char buf[], <a class="el" href="class_i_d3___reader.html#ab3891f70b4b079fe887e2eb707ca060e">size_type</a> len)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdami_1_1io_1_1_char_reader.html#ace0924cda47c7a53ee19476981d70f03">close</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Close the reader.  <a href="#ace0924cda47c7a53ee19476981d70f03"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_i_d3___reader.html#aa8b2afbb909ee02b838cde53113d1d8b">int_type</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdami_1_1io_1_1_char_reader.html#a2133286535fae6ec45fbfa00a04754ef">peekChar</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the next character to be read without advancing the internal position.  <a href="#a2133286535fae6ec45fbfa00a04754ef"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_i_d3___reader.html#a83194ea4d4e04e81302b095e9aa2275a">pos_type</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdami_1_1io_1_1_char_reader.html#a2c6916df3ce06981a06e8d97b9d974fd">getBeg</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the beginning position in the reader.  <a href="#a2c6916df3ce06981a06e8d97b9d974fd"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_i_d3___reader.html#a83194ea4d4e04e81302b095e9aa2275a">pos_type</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdami_1_1io_1_1_char_reader.html#af69b47a7e9c96081366f59d9579581b2">getCur</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the current position in the reader.  <a href="#af69b47a7e9c96081366f59d9579581b2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_i_d3___reader.html#a83194ea4d4e04e81302b095e9aa2275a">pos_type</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdami_1_1io_1_1_char_reader.html#a690e4089f3f1d382d3f8800aa47f13c8">getEnd</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Return the ending position in the reader.  <a href="#a690e4089f3f1d382d3f8800aa47f13c8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_i_d3___reader.html#a83194ea4d4e04e81302b095e9aa2275a">pos_type</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdami_1_1io_1_1_char_reader.html#a12263e0128d6c802751baa3ac4e6f267">setCur</a> (<a class="el" href="class_i_d3___reader.html#a83194ea4d4e04e81302b095e9aa2275a">pos_type</a> cur)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Set the value of the current position for reading.  <a href="#a12263e0128d6c802751baa3ac4e6f267"></a><br/></td></tr>
<tr><td colspan="2"><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_i_d3___reader.html">ID3_Reader</a> &amp;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classdami_1_1io_1_1_char_reader.html#a8b3db97177c91571b16cbb3cca38faa0">_reader</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>

<p>Definition at line <a class="el" href="io__decorators_8h_source.html#l00087">87</a> of file <a class="el" href="io__decorators_8h_source.html">io_decorators.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a2c3c9194849f1fe491d6e843bdbf44ec"></a><!-- doxytag: member="dami::io::CharReader::CharReader" ref="a2c3c9194849f1fe491d6e843bdbf44ec" args="(ID3_Reader &amp;reader)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">dami::io::CharReader::CharReader </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_i_d3___reader.html">ID3_Reader</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>reader</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="io__decorators_8h_source.html#l00096">96</a> of file <a class="el" href="io__decorators_8h_source.html">io_decorators.h</a>.</p>

</div>
</div>
<a class="anchor" id="a3c2871406dc6d5e5b797673363ad4bc2"></a><!-- doxytag: member="dami::io::CharReader::~CharReader" ref="a3c2871406dc6d5e5b797673363ad4bc2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual dami::io::CharReader::~CharReader </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="io__decorators_8h_source.html#l00097">97</a> of file <a class="el" href="io__decorators_8h_source.html">io_decorators.h</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ace0924cda47c7a53ee19476981d70f03"></a><!-- doxytag: member="dami::io::CharReader::close" ref="ace0924cda47c7a53ee19476981d70f03" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void dami::io::CharReader::close </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Close the reader. </p>
<p>Any further actions on the reader should fail. </p>

<p>Implements <a class="el" href="class_i_d3___reader.html#af97817a1fa7ce41492d30df6b362b4c7">ID3_Reader</a>.</p>

<p>Definition at line <a class="el" href="io__decorators_8h_source.html#l00110">110</a> of file <a class="el" href="io__decorators_8h_source.html">io_decorators.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2c6916df3ce06981a06e8d97b9d974fd"></a><!-- doxytag: member="dami::io::CharReader::getBeg" ref="a2c6916df3ce06981a06e8d97b9d974fd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_i_d3___reader.html#a83194ea4d4e04e81302b095e9aa2275a">pos_type</a> dami::io::CharReader::getBeg </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the beginning position in the reader. </p>

<p>Reimplemented from <a class="el" href="class_i_d3___reader.html#aeaf468ffe03c08731dcaf268fff3391b">ID3_Reader</a>.</p>

<p>Definition at line <a class="el" href="io__decorators_8h_source.html#l00113">113</a> of file <a class="el" href="io__decorators_8h_source.html">io_decorators.h</a>.</p>

</div>
</div>
<a class="anchor" id="af69b47a7e9c96081366f59d9579581b2"></a><!-- doxytag: member="dami::io::CharReader::getCur" ref="af69b47a7e9c96081366f59d9579581b2" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_i_d3___reader.html#a83194ea4d4e04e81302b095e9aa2275a">pos_type</a> dami::io::CharReader::getCur </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the current position in the reader. </p>

<p>Implements <a class="el" href="class_i_d3___reader.html#a232935e138e44ea49e5a289fb8d7ac94">ID3_Reader</a>.</p>

<p>Definition at line <a class="el" href="io__decorators_8h_source.html#l00114">114</a> of file <a class="el" href="io__decorators_8h_source.html">io_decorators.h</a>.</p>

</div>
</div>
<a class="anchor" id="a690e4089f3f1d382d3f8800aa47f13c8"></a><!-- doxytag: member="dami::io::CharReader::getEnd" ref="a690e4089f3f1d382d3f8800aa47f13c8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_i_d3___reader.html#a83194ea4d4e04e81302b095e9aa2275a">pos_type</a> dami::io::CharReader::getEnd </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the ending position in the reader. </p>

<p>Reimplemented from <a class="el" href="class_i_d3___reader.html#a5872b6813a652d831b770bfb7d65aec8">ID3_Reader</a>.</p>

<p>Definition at line <a class="el" href="io__decorators_8h_source.html#l00115">115</a> of file <a class="el" href="io__decorators_8h_source.html">io_decorators.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2133286535fae6ec45fbfa00a04754ef"></a><!-- doxytag: member="dami::io::CharReader::peekChar" ref="a2133286535fae6ec45fbfa00a04754ef" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_i_d3___reader.html#aa8b2afbb909ee02b838cde53113d1d8b">int_type</a> dami::io::CharReader::peekChar </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return the next character to be read without advancing the internal position. </p>
<p>Returns END_OF_READER if there isn't a character to read. </p>

<p>Implements <a class="el" href="class_i_d3___reader.html#af2b67659b76a3f28dac16e3522b552cf">ID3_Reader</a>.</p>

<p>Definition at line <a class="el" href="io__decorators_8h_source.html#l00111">111</a> of file <a class="el" href="io__decorators_8h_source.html">io_decorators.h</a>.</p>

</div>
</div>
<a class="anchor" id="a1112e26a1377451f90174507e06aa684"></a><!-- doxytag: member="dami::io::CharReader::readChars" ref="a1112e26a1377451f90174507e06aa684" args="(char buf[], size_type len)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_i_d3___reader.html#ab3891f70b4b079fe887e2eb707ca060e">size_type</a> dami::io::CharReader::readChars </td>
          <td>(</td>
          <td class="paramtype">char&nbsp;</td>
          <td class="paramname"> <em>buf</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_i_d3___reader.html#ab3891f70b4b079fe887e2eb707ca060e">size_type</a>&nbsp;</td>
          <td class="paramname"> <em>len</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Reimplemented from <a class="el" href="class_i_d3___reader.html#a01bcb484f8188bb8efe8624b8e19d6b9">ID3_Reader</a>.</p>

<p>Definition at line <a class="el" href="io__decorators_8h_source.html#l00105">105</a> of file <a class="el" href="io__decorators_8h_source.html">io_decorators.h</a>.</p>

</div>
</div>
<a class="anchor" id="a61b7a6cd66f0f5a389acdee591c1b8c7"></a><!-- doxytag: member="dami::io::CharReader::readChars" ref="a61b7a6cd66f0f5a389acdee591c1b8c7" args="(char_type buf[], size_type len)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_i_d3___reader.html#ab3891f70b4b079fe887e2eb707ca060e">ID3_Reader::size_type</a> io::CharReader::readChars </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_i_d3___reader.html#abc80771e4ce81188082eaa8fa90a67e6">char_type</a>&nbsp;</td>
          <td class="paramname"> <em>buf</em>[], </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_i_d3___reader.html#ab3891f70b4b079fe887e2eb707ca060e">size_type</a>&nbsp;</td>
          <td class="paramname"> <em>len</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Read <code>len</code> characters into the array <code>buf</code>. </p>
<p>Since the stream needs might have been unsynced, this function copies the characters one at a time. </p>

<p>Implements <a class="el" href="class_i_d3___reader.html#a271015a0481e80ca63bfea9ff9320a50">ID3_Reader</a>.</p>

<p>Definition at line <a class="el" href="io__decorators_8cpp_source.html#l00147">147</a> of file <a class="el" href="io__decorators_8cpp_source.html">io_decorators.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a12263e0128d6c802751baa3ac4e6f267"></a><!-- doxytag: member="dami::io::CharReader::setCur" ref="a12263e0128d6c802751baa3ac4e6f267" args="(pos_type cur)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_i_d3___reader.html#a83194ea4d4e04e81302b095e9aa2275a">pos_type</a> dami::io::CharReader::setCur </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_i_d3___reader.html#a83194ea4d4e04e81302b095e9aa2275a">pos_type</a>&nbsp;</td>
          <td class="paramname"> <em>pos</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [inline, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the value of the current position for reading. </p>

<p>Implements <a class="el" href="class_i_d3___reader.html#a1630f369cc7aa65a2279542715e9f483">ID3_Reader</a>.</p>

<p>Definition at line <a class="el" href="io__decorators_8h_source.html#l00117">117</a> of file <a class="el" href="io__decorators_8h_source.html">io_decorators.h</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a8b3db97177c91571b16cbb3cca38faa0"></a><!-- doxytag: member="dami::io::CharReader::_reader" ref="a8b3db97177c91571b16cbb3cca38faa0" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_i_d3___reader.html">ID3_Reader</a>&amp; <a class="el" href="classdami_1_1io_1_1_char_reader.html#a8b3db97177c91571b16cbb3cca38faa0">dami::io::CharReader::_reader</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="io__decorators_8h_source.html#l00092">92</a> of file <a class="el" href="io__decorators_8h_source.html">io_decorators.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>include/id3/<a class="el" href="io__decorators_8h_source.html">io_decorators.h</a></li>
<li>src/<a class="el" href="io__decorators_8cpp_source.html">io_decorators.cpp</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Wed Jan 12 23:46:36 2011 for id3lib by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>