Sophie

Sophie

distrib > Mandriva > 10.0-com > i586 > by-pkgid > 06719cf03808e17ae6f0852ca1052dc2 > files > 2897

libogre1-devel-0.13.0-1mdk.i586.rpm

<html>
<head>
<title>Ogre::SDDataChunk class Reference - OGRE Documentation</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
<link type="text/css" rel="stylesheet" href="style.css">
</head>

<body>
<!-- Generated by Doxygen 1.2.16 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="namespacemembers.html">Namespace Members</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; </center>
<hr><h1>Ogre::SDDataChunk  Class Reference</h1>Wraps a chunk of memory, storing both size and a pointer to the data. 
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="OgreSDDataChunk_8h-source.html">OgreSDDataChunk.h</a>&gt;</code>
<p>
Inheritance diagram for Ogre::SDDataChunk:<p><center><img src="classOgre_1_1SDDataChunk__inherit__graph.png" border="0" usemap="#Ogre_1_1SDDataChunk__inherit__map" alt="Inheritance graph"></center>
<map name="Ogre_1_1SDDataChunk__inherit__map">
<area href="classOgre_1_1DataChunk.html" shape="rect" coords="17,36,129,17" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for Ogre::SDDataChunk:<p><center><img src="classOgre_1_1SDDataChunk__coll__graph.png" border="0" usemap="#Ogre_1_1SDDataChunk__coll__map" alt="Collaboration graph"></center>
<map name="Ogre_1_1SDDataChunk__coll__map">
<area href="classOgre_1_1DataChunk.html" shape="rect" coords="17,36,129,17" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classOgre_1_1SDDataChunk-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td colspan=2><br><h2>Public Methods</h2></td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunka0">SDDataChunk</a> ()</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunka1">SDDataChunk</a> (void *pData, size_t size)</td></tr>
<tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunka2">~SDDataChunk</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Overloaded destructor.</em> <a href="#Ogre_1_1SDDataChunka2"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a350">uchar</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunka3">allocate</a> (size_t size, const <a class="el" href="namespaceOgre.html#a350">uchar</a> *ptr=NULL)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Allocates the passed number of bytes.</em> <a href="#Ogre_1_1SDDataChunka3"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunka4">clear</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Frees all internally allocated memory.</em> <a href="#Ogre_1_1SDDataChunka4"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>size_t&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunka5">getSize</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns the size of the allocated chunk in bytes.</em> <a href="#Ogre_1_1SDDataChunka5"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a350">uchar</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunka6">getPtr</a> ()</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns a const pointer to the start of the memory.</em> <a href="#Ogre_1_1SDDataChunka6"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>const <a class="el" href="namespaceOgre.html#a350">uchar</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunka7">getPtr</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns a const pointer to the start of the memory.</em> <a href="#Ogre_1_1SDDataChunka7"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>size_t&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunka8">read</a> (void *buffer, size_t size)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Reads memory from the main buffer into another, incrementing an internal 'current' pointer to allow progressive reads.</em> <a href="#Ogre_1_1SDDataChunka8"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunka9">seek</a> (size_t pos)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Repositions the internal read pointer to a specified byte.</em> <a href="#Ogre_1_1SDDataChunka9"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> &amp;&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunka10">skip</a> (long offset)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Moves the internal read pointer backwards or forwards by the number of bytes specified.</em> <a href="#Ogre_1_1SDDataChunka10"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>size_t&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunka11">readUpTo</a> (void *buffer, size_t size, const char *delim="\n")</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Reads data into the provided buffer until hitting the specified character or reaching the upper limit provided.</em> <a href="#Ogre_1_1SDDataChunka11"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>size_t&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunka12">skipUpTo</a> (const char *delim)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Skips data into the provided buffer until hitting the specified character or reaching the end of the data.</em> <a href="#Ogre_1_1SDDataChunka12"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top>bool&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunka13">isEOF</a> () const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns true if the buffer pointer has reached the end of the buffer.</em> <a href="#Ogre_1_1SDDataChunka13"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1String.html">String</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunka14">getLine</a> (bool trimAfter=true)</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Returns a <a class="el" href="classOgre_1_1String.html">String</a> containing the next line of data, optionally trimmed for whitespace.</em> <a href="#Ogre_1_1SDDataChunka14"></a><em></em></font><br><br></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="classOgre_1_1String.html">String</a>&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunka15">getAsString</a> (void) const</td></tr>
<tr><td>&nbsp;</td><td><font size=-1><em>Get the entire contents of the chunk as a string.</em> <a href="#Ogre_1_1SDDataChunka15"></a><em></em></font><br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a350">uchar</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunkn0">mData</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a350">uchar</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunkn1">mPos</a></td></tr>
<tr><td nowrap align=right valign=top><a class="el" href="namespaceOgre.html#a350">uchar</a> *&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunkn2">mEnd</a></td></tr>
<tr><td nowrap align=right valign=top>size_t&nbsp;</td><td valign=bottom><a class="el" href="classOgre_1_1SDDataChunk.html#Ogre_1_1SDDataChunkn3">mSize</a></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
Wraps a chunk of memory, storing both size and a pointer to the data.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 This class simply wraps a chunk of memory. It provides extra info about the size of the data contained within it, simple allocation and free methods, and simple stream-like 'read' methods for parsing through the memory chunk rather like a file. 
<p>
 This class contains all the functionality of the <a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> superclass, only that when an object of this class gets deleted, it also deletes the allocated memory (SD stands for Self-Delete). </dl>
<p>

<p>
Definition at line <a class="el" href="OgreSDDataChunk_8h-source.html#l00044">44</a> of file <a class="el" href="OgreSDDataChunk_8h-source.html">OgreSDDataChunk.h</a>.<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a name="Ogre_1_1SDDataChunka0" doxytag="Ogre::SDDataChunk::SDDataChunk"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::SDDataChunk::SDDataChunk </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreSDDataChunk_8cpp-source.html#l00030">30</a> of file <a class="el" href="OgreSDDataChunk_8cpp-source.html">OgreSDDataChunk.cpp</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1SDDataChunka1" doxytag="Ogre::SDDataChunk::SDDataChunk"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::SDDataChunk::SDDataChunk </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>pData</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>size_t&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>size</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreSDDataChunk_8cpp-source.html#l00035">35</a> of file <a class="el" href="OgreSDDataChunk_8cpp-source.html">OgreSDDataChunk.cpp</a>.    </td>
  </tr>
</table>
<a name="Ogre_1_1SDDataChunka2" doxytag="Ogre::SDDataChunk::~SDDataChunk"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> Ogre::SDDataChunk::~SDDataChunk </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Overloaded destructor.
<p>
<dl compact><dt><b>
Note: </b><dd>
 Deletes the allocated chunk </dl>
<p>
Definition at line <a class="el" href="OgreSDDataChunk_8cpp-source.html#l00040">40</a> of file <a class="el" href="OgreSDDataChunk_8cpp-source.html">OgreSDDataChunk.cpp</a>.
<p>
References <a class="el" href="OgreDataChunk_8h-source.html#l00056">Ogre::DataChunk::mData</a>.    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a name="Ogre_1_1SDDataChunka3" doxytag="Ogre::SDDataChunk::allocate"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a350">uchar</a> * Ogre::DataChunk::allocate </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">size_t&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>size</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="namespaceOgre.html#a350">uchar</a> *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>ptr</em> = NULL</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Allocates the passed number of bytes.
<p>

<p>
Definition at line <a class="el" href="OgreDataChunk_8cpp-source.html#l00046">46</a> of file <a class="el" href="OgreDataChunk_8cpp-source.html">OgreDataChunk.cpp</a>.
<p>
References <a class="el" href="OgreDataChunk_8h-source.html#l00056">Ogre::DataChunk::mData</a>, <a class="el" href="OgreDataChunk_8h-source.html#l00058">Ogre::DataChunk::mEnd</a>, <a class="el" href="OgreDataChunk_8h-source.html#l00057">Ogre::DataChunk::mPos</a>, <a class="el" href="OgreDataChunk_8h-source.html#l00059">Ogre::DataChunk::mSize</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00114">Ogre::uchar</a>.
<p>
Referenced by <a class="el" href="OgreTGACodec_8cpp-source.html#l00043">Ogre::TGACodec::decode</a>(), <a class="el" href="OgreILImageCodec_8cpp-source.html#l00064">Ogre::ILImageCodec::decode</a>(), <a class="el" href="OgreDDSCodec_8cpp-source.html#l00050">Ogre::DDSCodec::decode</a>(), <a class="el" href="OgreBMPCodec_8cpp-source.html#l00097">Ogre::BMPCodec::decode</a>(), and <a class="el" href="OgreZip_8cpp-source.html#l00063">Ogre::Zip::fileRead</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SDDataChunka4" doxytag="Ogre::SDDataChunk::clear"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> &amp; Ogre::DataChunk::clear </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Frees all internally allocated memory.
<p>

<p>
Definition at line <a class="el" href="OgreDataChunk_8cpp-source.html#l00065">65</a> of file <a class="el" href="OgreDataChunk_8cpp-source.html">OgreDataChunk.cpp</a>.
<p>
References <a class="el" href="OgreDataChunk_8h-source.html#l00056">Ogre::DataChunk::mData</a>, and <a class="el" href="OgreDataChunk_8h-source.html#l00059">Ogre::DataChunk::mSize</a>.
<p>
Referenced by <a class="el" href="OgreSkeleton_8cpp-source.html#l00063">Ogre::Skeleton::load</a>(), <a class="el" href="OgreMesh_8cpp-source.html#l00123">Ogre::Mesh::load</a>(), and <a class="el" href="OgreBspLevel_8cpp-source.html#l00072">Ogre::BspLevel::load</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SDDataChunka15" doxytag="Ogre::SDDataChunk::getAsString"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1String.html">String</a> Ogre::DataChunk::getAsString </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Get the entire contents of the chunk as a string.
<p>

<p>
Definition at line <a class="el" href="OgreDataChunk_8cpp-source.html#l00181">181</a> of file <a class="el" href="OgreDataChunk_8cpp-source.html">OgreDataChunk.cpp</a>.
<p>
References <a class="el" href="OgreDataChunk_8h-source.html#l00056">Ogre::DataChunk::mData</a>, and <a class="el" href="OgreDataChunk_8h-source.html#l00059">Ogre::DataChunk::mSize</a>.
<p>
Referenced by <a class="el" href="OgreGpuProgram_8cpp-source.html#l00059">Ogre::GpuProgram::load</a>(), <a class="el" href="OgreD3D9GpuProgram_8cpp-source.html#l00042">Ogre::D3D9GpuProgram::load</a>(), and <a class="el" href="OgreHighLevelGpuProgram_8cpp-source.html#l00084">Ogre::HighLevelGpuProgram::loadHighLevelImpl</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SDDataChunka14" doxytag="Ogre::SDDataChunk::getLine"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1String.html">String</a> Ogre::DataChunk::getLine </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">bool&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>trimAfter</em> = true          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns a <a class="el" href="classOgre_1_1String.html">String</a> containing the next line of data, optionally trimmed for whitespace.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 This is a convenience method for text chunks only, allowing you to  retrieve a <a class="el" href="classOgre_1_1String.html">String</a> object containing the next line of data. The data is read up to the next newline character and the result trimmed if required. </dl><dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>trimAfter</em>&nbsp;</td><td>
If true, the line is trimmed for whitespace (as in  String.trim(true,true)) </td></tr>
</table>
</dl>
<p>
Definition at line <a class="el" href="OgreDataChunk_8cpp-source.html#l00168">168</a> of file <a class="el" href="OgreDataChunk_8cpp-source.html">OgreDataChunk.cpp</a>.
<p>
References <a class="el" href="OgreDataChunk_8cpp-source.html#l00128">Ogre::DataChunk::readUpTo</a>(), and <a class="el" href="OgreString_8cpp-source.html#l00034">Ogre::String::trim</a>().
<p>
Referenced by <a class="el" href="OgreParticleSystemManager_8cpp-source.html#l00379">Ogre::ParticleSystemManager::parseNewAffector</a>(), <a class="el" href="OgreOverlayManager_8cpp-source.html#l00275">Ogre::OverlayManager::parseNewElement</a>(), <a class="el" href="OgreParticleSystemManager_8cpp-source.html#l00349">Ogre::ParticleSystemManager::parseNewEmitter</a>(), <a class="el" href="OgreOverlayManager_8cpp-source.html#l00451">Ogre::OverlayManager::parseNewMesh</a>(), <a class="el" href="OgreQuake3ShaderManager_8cpp-source.html#l00151">Ogre::Quake3ShaderManager::parseNewShaderPass</a>(), <a class="el" href="OgreOverlayManager_8cpp-source.html#l00062">Ogre::OverlayManager::parseOverlayFile</a>(), <a class="el" href="OgreParticleSystemManager_8cpp-source.html#l00058">Ogre::ParticleSystemManager::parseScript</a>(), <a class="el" href="OgreMaterialSerializer_8cpp-source.html#l01711">Ogre::MaterialSerializer::parseScript</a>(), <a class="el" href="OgreFontManager_8cpp-source.html#l00056">Ogre::FontManager::parseScript</a>(), <a class="el" href="OgreQuake3ShaderManager_8cpp-source.html#l00045">Ogre::Quake3ShaderManager::parseShaderFile</a>(), <a class="el" href="OgreParticleSystemManager_8cpp-source.html#l00454">Ogre::ParticleSystemManager::skipToNextCloseBrace</a>(), <a class="el" href="OgreOverlayManager_8cpp-source.html#l00431">Ogre::OverlayManager::skipToNextCloseBrace</a>(), <a class="el" href="OgreParticleSystemManager_8cpp-source.html#l00464">Ogre::ParticleSystemManager::skipToNextOpenBrace</a>(), and <a class="el" href="OgreOverlayManager_8cpp-source.html#l00441">Ogre::OverlayManager::skipToNextOpenBrace</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SDDataChunka7" doxytag="Ogre::SDDataChunk::getPtr"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a350">uchar</a>* Ogre::DataChunk::getPtr </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns a const pointer to the start of the memory.
<p>
    </td>
  </tr>
</table>
<a name="Ogre_1_1SDDataChunka6" doxytag="Ogre::SDDataChunk::getPtr"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="el" href="namespaceOgre.html#a350">uchar</a> * Ogre::DataChunk::getPtr </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns a const pointer to the start of the memory.
<p>

<p>
Definition at line <a class="el" href="OgreDataChunk_8cpp-source.html#l00083">83</a> of file <a class="el" href="OgreDataChunk_8cpp-source.html">OgreDataChunk.cpp</a>.
<p>
References <a class="el" href="OgreDataChunk_8h-source.html#l00056">Ogre::DataChunk::mData</a>, and <a class="el" href="OgrePrerequisites_8h-source.html#l00114">Ogre::uchar</a>.
<p>
Referenced by <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00264">Ogre::D3D9Texture::_loadCubeTex</a>(), <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00377">Ogre::D3D9Texture::_loadNormTex</a>(), <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00338">Ogre::D3D9Texture::_loadVolumeTex</a>(), <a class="el" href="OgreFont_8cpp-source.html#l00191">Ogre::Font::createTextureFromFont</a>(), <a class="el" href="OgreTGACodec_8cpp-source.html#l00043">Ogre::TGACodec::decode</a>(), <a class="el" href="OgreILImageCodec_8cpp-source.html#l00064">Ogre::ILImageCodec::decode</a>(), <a class="el" href="OgreDDSCodec_8cpp-source.html#l00050">Ogre::DDSCodec::decode</a>(), <a class="el" href="OgreBMPCodec_8cpp-source.html#l00097">Ogre::BMPCodec::decode</a>(), <a class="el" href="OgreZip_8cpp-source.html#l00063">Ogre::Zip::fileRead</a>(), <a class="el" href="OgreQuake3Level_8cpp-source.html#l00050">Ogre::Quake3Level::initialise</a>(), <a class="el" href="OgreImage_8cpp-source.html#l00226">Ogre::Image::load</a>(), and <a class="el" href="OgreImage_8cpp-source.html#l00206">Ogre::Image::loadRawData</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SDDataChunka5" doxytag="Ogre::SDDataChunk::getSize"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> size_t Ogre::DataChunk::getSize </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns the size of the allocated chunk in bytes.
<p>

<p>
Definition at line <a class="el" href="OgreDataChunk_8cpp-source.html#l00077">77</a> of file <a class="el" href="OgreDataChunk_8cpp-source.html">OgreDataChunk.cpp</a>.
<p>
References <a class="el" href="OgreDataChunk_8h-source.html#l00059">Ogre::DataChunk::mSize</a>.
<p>
Referenced by <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00264">Ogre::D3D9Texture::_loadCubeTex</a>(), <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00377">Ogre::D3D9Texture::_loadNormTex</a>(), <a class="el" href="OgreD3D9Texture_8cpp-source.html#l00338">Ogre::D3D9Texture::_loadVolumeTex</a>(), <a class="el" href="OgreFont_8cpp-source.html#l00191">Ogre::Font::createTextureFromFont</a>(), <a class="el" href="OgreTGACodec_8cpp-source.html#l00043">Ogre::TGACodec::decode</a>(), <a class="el" href="OgreILImageCodec_8cpp-source.html#l00064">Ogre::ILImageCodec::decode</a>(), <a class="el" href="OgreDDSCodec_8cpp-source.html#l00050">Ogre::DDSCodec::decode</a>(), <a class="el" href="OgreBMPCodec_8cpp-source.html#l00097">Ogre::BMPCodec::decode</a>(), <a class="el" href="OgreWin32Window_8cpp-source.html#l00282">Ogre::Win32Window::writeContentsToFile</a>(), and <a class="el" href="OgreSDLWindow_8cpp-source.html#l00141">Ogre::SDLWindow::writeContentsToFile</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SDDataChunka13" doxytag="Ogre::SDDataChunk::isEOF"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> bool Ogre::DataChunk::isEOF </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap> const<code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Returns true if the buffer pointer has reached the end of the buffer.
<p>

<p>
Definition at line <a class="el" href="OgreDataChunk_8cpp-source.html#l00159">159</a> of file <a class="el" href="OgreDataChunk_8cpp-source.html">OgreDataChunk.cpp</a>.
<p>
References <a class="el" href="OgreDataChunk_8h-source.html#l00058">Ogre::DataChunk::mEnd</a>, and <a class="el" href="OgreDataChunk_8h-source.html#l00057">Ogre::DataChunk::mPos</a>.
<p>
Referenced by <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00083">Ogre::MeshSerializerImpl::importMesh</a>(), <a class="el" href="OgreSkeletonSerializer_8cpp-source.html#l00087">Ogre::SkeletonSerializer::importSkeleton</a>(), <a class="el" href="OgreParticleSystemManager_8cpp-source.html#l00379">Ogre::ParticleSystemManager::parseNewAffector</a>(), <a class="el" href="OgreOverlayManager_8cpp-source.html#l00275">Ogre::OverlayManager::parseNewElement</a>(), <a class="el" href="OgreParticleSystemManager_8cpp-source.html#l00349">Ogre::ParticleSystemManager::parseNewEmitter</a>(), <a class="el" href="OgreOverlayManager_8cpp-source.html#l00451">Ogre::OverlayManager::parseNewMesh</a>(), <a class="el" href="OgreQuake3ShaderManager_8cpp-source.html#l00151">Ogre::Quake3ShaderManager::parseNewShaderPass</a>(), <a class="el" href="OgreOverlayManager_8cpp-source.html#l00062">Ogre::OverlayManager::parseOverlayFile</a>(), <a class="el" href="OgreParticleSystemManager_8cpp-source.html#l00058">Ogre::ParticleSystemManager::parseScript</a>(), <a class="el" href="OgreMaterialSerializer_8cpp-source.html#l01711">Ogre::MaterialSerializer::parseScript</a>(), <a class="el" href="OgreFontManager_8cpp-source.html#l00056">Ogre::FontManager::parseScript</a>(), <a class="el" href="OgreQuake3ShaderManager_8cpp-source.html#l00045">Ogre::Quake3ShaderManager::parseShaderFile</a>(), <a class="el" href="OgreSkeletonSerializer_8cpp-source.html#l00338">Ogre::SkeletonSerializer::readAnimation</a>(), <a class="el" href="OgreSkeletonSerializer_8cpp-source.html#l00375">Ogre::SkeletonSerializer::readAnimationTrack</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01419">Ogre::MeshSerializerImpl_v1::readGeometry</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00602">Ogre::MeshSerializerImpl::readGeometry</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01708">Ogre::MeshSerializerImpl_v1::readMaterial</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01270">Ogre::MeshSerializerImpl_v1::readMesh</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00410">Ogre::MeshSerializerImpl::readMesh</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01343">Ogre::MeshSerializerImpl_v1::readSubMesh</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00493">Ogre::MeshSerializerImpl::readSubMesh</a>(), <a class="el" href="OgreParticleSystemManager_8cpp-source.html#l00454">Ogre::ParticleSystemManager::skipToNextCloseBrace</a>(), <a class="el" href="OgreOverlayManager_8cpp-source.html#l00431">Ogre::OverlayManager::skipToNextCloseBrace</a>(), <a class="el" href="OgreParticleSystemManager_8cpp-source.html#l00464">Ogre::ParticleSystemManager::skipToNextOpenBrace</a>(), and <a class="el" href="OgreOverlayManager_8cpp-source.html#l00441">Ogre::OverlayManager::skipToNextOpenBrace</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SDDataChunka8" doxytag="Ogre::SDDataChunk::read"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> size_t Ogre::DataChunk::read </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>buffer</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>size_t&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>size</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Reads memory from the main buffer into another, incrementing an internal 'current' pointer to allow progressive reads.
<p>
<dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>buffer</em>&nbsp;</td><td>
Pointer to buffer to read into </td></tr>
<tr><td valign=top><em>size</em>&nbsp;</td><td>
Number of bytes to read </td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
 The number of bytes actually read </dl>
<p>
Definition at line <a class="el" href="OgreDataChunk_8cpp-source.html#l00095">95</a> of file <a class="el" href="OgreDataChunk_8cpp-source.html">OgreDataChunk.cpp</a>.
<p>
References <a class="el" href="OgreDataChunk_8h-source.html#l00058">Ogre::DataChunk::mEnd</a>, and <a class="el" href="OgreDataChunk_8h-source.html#l00057">Ogre::DataChunk::mPos</a>.
<p>
Referenced by <a class="el" href="OgreSerializer_8cpp-source.html#l00196">Ogre::Serializer::readBools</a>(), <a class="el" href="OgreSerializer_8cpp-source.html#l00224">Ogre::Serializer::readInts</a>(), <a class="el" href="OgreSerializer_8cpp-source.html#l00230">Ogre::Serializer::readLongs</a>(), <a class="el" href="OgreSerializer_8cpp-source.html#l00212">Ogre::Serializer::readReals</a>(), and <a class="el" href="OgreSerializer_8cpp-source.html#l00218">Ogre::Serializer::readShorts</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SDDataChunka11" doxytag="Ogre::SDDataChunk::readUpTo"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> size_t Ogre::DataChunk::readUpTo </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">void *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>buffer</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>size_t&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>size</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const char *&nbsp;</td>
          <td class="mdname" nowrap>&nbsp; <em>delim</em> = "\n"</td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2"><code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Reads data into the provided buffer until hitting the specified character or reaching the upper limit provided.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 The terminating character is not included in the data returned, and it is skipped over so the next read will occur after it. </dl><dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>buffer</em>&nbsp;</td><td>
Pointer to buffer to read into </td></tr>
<tr><td valign=top><em>size</em>&nbsp;</td><td>
Size of the buffer i.e. max bytes to read </td></tr>
<tr><td valign=top><em>delim</em>&nbsp;</td><td>
List of delimiters to read up to (default newline) </td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
 The actual number of characters copied into the buffer. </dl>
<p>
Definition at line <a class="el" href="OgreDataChunk_8cpp-source.html#l00128">128</a> of file <a class="el" href="OgreDataChunk_8cpp-source.html">OgreDataChunk.cpp</a>.
<p>
References <a class="el" href="OgreDataChunk_8h-source.html#l00058">Ogre::DataChunk::mEnd</a>, and <a class="el" href="OgreDataChunk_8h-source.html#l00057">Ogre::DataChunk::mPos</a>.
<p>
Referenced by <a class="el" href="OgreDataChunk_8cpp-source.html#l00168">Ogre::DataChunk::getLine</a>(), <a class="el" href="OgreQuake3ShaderManager_8cpp-source.html#l00045">Ogre::Quake3ShaderManager::parseShaderFile</a>(), and <a class="el" href="OgreSerializer_8cpp-source.html#l00236">Ogre::Serializer::readString</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SDDataChunka9" doxytag="Ogre::SDDataChunk::seek"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> &amp; Ogre::DataChunk::seek </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">size_t&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>pos</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Repositions the internal read pointer to a specified byte.
<p>

<p>
Definition at line <a class="el" href="OgreDataChunk_8cpp-source.html#l00110">110</a> of file <a class="el" href="OgreDataChunk_8cpp-source.html">OgreDataChunk.cpp</a>.
<p>
References <a class="el" href="OgreDataChunk_8h-source.html#l00056">Ogre::DataChunk::mData</a>, <a class="el" href="OgreDataChunk_8h-source.html#l00057">Ogre::DataChunk::mPos</a>, and <a class="el" href="OgreDataChunk_8h-source.html#l00059">Ogre::DataChunk::mSize</a>.
<p>
Referenced by <a class="el" href="OgreMeshSerializer_8cpp-source.html#l00083">Ogre::MeshSerializer::importMesh</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SDDataChunka10" doxytag="Ogre::SDDataChunk::skip"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="classOgre_1_1DataChunk.html">DataChunk</a> &amp; Ogre::DataChunk::skip </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">long&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>offset</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Moves the internal read pointer backwards or forwards by the number of bytes specified.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
The sign of the parameter determines the direction of the skip. </dl>
<p>
Definition at line <a class="el" href="OgreDataChunk_8cpp-source.html#l00118">118</a> of file <a class="el" href="OgreDataChunk_8cpp-source.html">OgreDataChunk.cpp</a>.
<p>
References <a class="el" href="OgreDataChunk_8h-source.html#l00056">Ogre::DataChunk::mData</a>, <a class="el" href="OgreDataChunk_8h-source.html#l00058">Ogre::DataChunk::mEnd</a>, and <a class="el" href="OgreDataChunk_8h-source.html#l00057">Ogre::DataChunk::mPos</a>.
<p>
Referenced by <a class="el" href="OgreSkeletonSerializer_8cpp-source.html#l00338">Ogre::SkeletonSerializer::readAnimation</a>(), <a class="el" href="OgreSkeletonSerializer_8cpp-source.html#l00375">Ogre::SkeletonSerializer::readAnimationTrack</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01419">Ogre::MeshSerializerImpl_v1::readGeometry</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00602">Ogre::MeshSerializerImpl::readGeometry</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01708">Ogre::MeshSerializerImpl_v1::readMaterial</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01270">Ogre::MeshSerializerImpl_v1::readMesh</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00410">Ogre::MeshSerializerImpl::readMesh</a>(), <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l01343">Ogre::MeshSerializerImpl_v1::readSubMesh</a>(), and <a class="el" href="OgreMeshSerializerImpl_8cpp-source.html#l00493">Ogre::MeshSerializerImpl::readSubMesh</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SDDataChunka12" doxytag="Ogre::SDDataChunk::skipUpTo"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> size_t Ogre::DataChunk::skipUpTo </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const char *&nbsp;</td>
          <td class="mdname1" valign="top" nowrap>&nbsp; <em>delim</em>          </td>
          <td class="md" valign="top">)&nbsp;</td>
          <td class="md" nowrap><code> [inherited]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Skips data into the provided buffer until hitting the specified character or reaching the end of the data.
<p>
<dl compact><dt><b>
Remarks: </b><dd>
 The terminating characters is not included in the data returned, and it is skipped over so the next read will occur after it. </dl><dl compact><dt><b>
Parameters: </b><dd>
<table border=0 cellspacing=2 cellpadding=0>
<tr><td valign=top><em>delim</em>&nbsp;</td><td>
List of delimiters to skip up to. </td></tr>
</table>
</dl><dl compact><dt><b>
Returns: </b><dd>
 The number of characters that were skipped. </dl>
<p>
Definition at line <a class="el" href="OgreDataChunk_8cpp-source.html#l00146">146</a> of file <a class="el" href="OgreDataChunk_8cpp-source.html">OgreDataChunk.cpp</a>.
<p>
References <a class="el" href="OgreDataChunk_8h-source.html#l00058">Ogre::DataChunk::mEnd</a>, and <a class="el" href="OgreDataChunk_8h-source.html#l00057">Ogre::DataChunk::mPos</a>.
<p>
Referenced by <a class="el" href="OgreFontManager_8cpp-source.html#l00056">Ogre::FontManager::parseScript</a>().    </td>
  </tr>
</table>
<hr><h2>Member Data Documentation</h2>
<a name="Ogre_1_1SDDataChunkn0" doxytag="Ogre::SDDataChunk::mData"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a350">uchar</a>* Ogre::DataChunk::mData<code> [protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreDataChunk_8h-source.html#l00056">56</a> of file <a class="el" href="OgreDataChunk_8h-source.html">OgreDataChunk.h</a>.
<p>
Referenced by <a class="el" href="OgreDataChunk_8cpp-source.html#l00046">Ogre::DataChunk::allocate</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00065">Ogre::DataChunk::clear</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00037">Ogre::DataChunk::DataChunk</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00181">Ogre::DataChunk::getAsString</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00083">Ogre::DataChunk::getPtr</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00110">Ogre::DataChunk::seek</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00118">Ogre::DataChunk::skip</a>(), and <a class="el" href="OgreSDDataChunk_8cpp-source.html#l00040">~SDDataChunk</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SDDataChunkn2" doxytag="Ogre::SDDataChunk::mEnd"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a350">uchar</a>* Ogre::DataChunk::mEnd<code> [protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreDataChunk_8h-source.html#l00058">58</a> of file <a class="el" href="OgreDataChunk_8h-source.html">OgreDataChunk.h</a>.
<p>
Referenced by <a class="el" href="OgreDataChunk_8cpp-source.html#l00046">Ogre::DataChunk::allocate</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00037">Ogre::DataChunk::DataChunk</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00159">Ogre::DataChunk::isEOF</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00095">Ogre::DataChunk::read</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00128">Ogre::DataChunk::readUpTo</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00118">Ogre::DataChunk::skip</a>(), and <a class="el" href="OgreDataChunk_8cpp-source.html#l00146">Ogre::DataChunk::skipUpTo</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SDDataChunkn1" doxytag="Ogre::SDDataChunk::mPos"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> <a class="el" href="namespaceOgre.html#a350">uchar</a>* Ogre::DataChunk::mPos<code> [protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreDataChunk_8h-source.html#l00057">57</a> of file <a class="el" href="OgreDataChunk_8h-source.html">OgreDataChunk.h</a>.
<p>
Referenced by <a class="el" href="OgreDataChunk_8cpp-source.html#l00046">Ogre::DataChunk::allocate</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00037">Ogre::DataChunk::DataChunk</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00159">Ogre::DataChunk::isEOF</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00095">Ogre::DataChunk::read</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00128">Ogre::DataChunk::readUpTo</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00110">Ogre::DataChunk::seek</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00118">Ogre::DataChunk::skip</a>(), and <a class="el" href="OgreDataChunk_8cpp-source.html#l00146">Ogre::DataChunk::skipUpTo</a>().    </td>
  </tr>
</table>
<a name="Ogre_1_1SDDataChunkn3" doxytag="Ogre::SDDataChunk::mSize"></a><p>
<table width="100%" cellpadding="2" cellspacing="0" border="0">
  <tr>
    <td class="md">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> size_t Ogre::DataChunk::mSize<code> [protected, inherited]</code>
      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>

<p>
Definition at line <a class="el" href="OgreDataChunk_8h-source.html#l00059">59</a> of file <a class="el" href="OgreDataChunk_8h-source.html">OgreDataChunk.h</a>.
<p>
Referenced by <a class="el" href="OgreDataChunk_8cpp-source.html#l00046">Ogre::DataChunk::allocate</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00065">Ogre::DataChunk::clear</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00037">Ogre::DataChunk::DataChunk</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00181">Ogre::DataChunk::getAsString</a>(), <a class="el" href="OgreDataChunk_8cpp-source.html#l00077">Ogre::DataChunk::getSize</a>(), and <a class="el" href="OgreDataChunk_8cpp-source.html#l00110">Ogre::DataChunk::seek</a>().    </td>
  </tr>
</table>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="OgreSDDataChunk_8h-source.html">OgreSDDataChunk.h</a><li><a class="el" href="OgreSDDataChunk_8cpp-source.html">OgreSDDataChunk.cpp</a></ul>
<p>
Copyright &copy; 2002-2003 by The OGRE Team<br />
Last modified Wed Jan 21 00:20:20 2004
</p>
</body>
</html>