Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > bad97183153701b09df5fae1052b1c30 > files > 2387

crystalspace-doc-1.2.1-5mdv2010.0.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>Crystal Space 1.2.1: CS::Memory::AllocatorPointerWrapper&lt; T, Allocator &gt; Struct Template Reference (Crystal Space 1.2.1 Public API Reference)</title>
<link href="tabs.css" rel="stylesheet" type="text/css">
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body>
<table border="0" cellpadding="0" cellspacing="0" width="100%" class="head">
 <tr height="59">
  <td class="head" width="202" valign="bottom" style="padding-left:0;"><a href="http://www.crystalspace3d.org/"><img src="csblur.png" width="236" height="59" alt="CrystalSpace" border="0"></a></td>
  <td class="head"><h2>Public API Reference</h2></td>
 </tr>
 <tr height="11">
  <td colspan="2" class="headshadow" valign="top" style="padding-left:0;"><img src="csblurb.png" width="236" height="11" alt="" border="0"></td>
 </tr>
</table>
<div class="content">
<!-- Generated by Doxygen 1.5.3 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="modules.html"><span>Modules</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>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<div class="tabs">
  <ul>
    <li><a href="classes.html"><span>Alphabetical&nbsp;List</span></a></li>
    <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="nav">
<a class="el" href="namespaceCS.html">CS</a>::<a class="el" href="namespaceCS_1_1Memory.html">Memory</a>::<a class="el" href="structCS_1_1Memory_1_1AllocatorPointerWrapper.html">AllocatorPointerWrapper</a></div>
<h1>CS::Memory::AllocatorPointerWrapper&lt; T, Allocator &gt; Struct Template Reference</h1><!-- doxytag: class="CS::Memory::AllocatorPointerWrapper" -->Class to store a pointer that is allocated from Allocator, to eliminate overhead from a possibly empty Allocator.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;<a class="el" href="allocator_8h-source.html">csutil/allocator.h</a>&gt;</code>
<p>

<p>
<a href="structCS_1_1Memory_1_1AllocatorPointerWrapper-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"><a class="anchor" name="15e3a200d635ef663a0858351ca188b0"></a><!-- doxytag: member="CS::Memory::AllocatorPointerWrapper::AllocatorPointerWrapper" ref="15e3a200d635ef663a0858351ca188b0" args="(const Allocator &amp;alloc, T *p)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCS_1_1Memory_1_1AllocatorPointerWrapper.html#15e3a200d635ef663a0858351ca188b0">AllocatorPointerWrapper</a> (const Allocator &amp;alloc, T *<a class="el" href="structCS_1_1Memory_1_1AllocatorPointerWrapper.html#e3861de7c5f1a38d76881b2b47b51fa2">p</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="a7c9ce443629475d2e9a1c8dba2b6a89"></a><!-- doxytag: member="CS::Memory::AllocatorPointerWrapper::AllocatorPointerWrapper" ref="a7c9ce443629475d2e9a1c8dba2b6a89" args="(T *p)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCS_1_1Memory_1_1AllocatorPointerWrapper.html#a7c9ce443629475d2e9a1c8dba2b6a89">AllocatorPointerWrapper</a> (T *<a class="el" href="structCS_1_1Memory_1_1AllocatorPointerWrapper.html#e3861de7c5f1a38d76881b2b47b51fa2">p</a>)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8a05f8c06315a8c97aef116eeac36e1b"></a><!-- doxytag: member="CS::Memory::AllocatorPointerWrapper::AllocatorPointerWrapper" ref="8a05f8c06315a8c97aef116eeac36e1b" args="(const Allocator &amp;alloc)" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCS_1_1Memory_1_1AllocatorPointerWrapper.html#8a05f8c06315a8c97aef116eeac36e1b">AllocatorPointerWrapper</a> (const Allocator &amp;alloc)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="aee8e659cce35cba8f31cc003a642a3d"></a><!-- doxytag: member="CS::Memory::AllocatorPointerWrapper::AllocatorPointerWrapper" ref="aee8e659cce35cba8f31cc003a642a3d" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCS_1_1Memory_1_1AllocatorPointerWrapper.html#aee8e659cce35cba8f31cc003a642a3d">AllocatorPointerWrapper</a> ()</td></tr>

<tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">T *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="structCS_1_1Memory_1_1AllocatorPointerWrapper.html#e3861de7c5f1a38d76881b2b47b51fa2">p</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The allocated pointer.  <a href="#e3861de7c5f1a38d76881b2b47b51fa2"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;typename T, typename Allocator&gt;<br>
 struct CS::Memory::AllocatorPointerWrapper&lt; T, Allocator &gt;</h3>

Class to store a pointer that is allocated from Allocator, to eliminate overhead from a possibly empty Allocator. 
<p>
See <a href="http://www.cantrip.org/emptyopt.html">http://www.cantrip.org/emptyopt.html</a> for details. 
<p>Definition at line <a class="el" href="allocator_8h-source.html#l00362">362</a> of file <a class="el" href="allocator_8h-source.html">allocator.h</a>.</p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="e3861de7c5f1a38d76881b2b47b51fa2"></a><!-- doxytag: member="CS::Memory::AllocatorPointerWrapper::p" ref="e3861de7c5f1a38d76881b2b47b51fa2" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T, typename Allocator&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">T* <a class="el" href="structCS_1_1Memory_1_1AllocatorPointerWrapper.html">CS::Memory::AllocatorPointerWrapper</a>&lt; T, Allocator &gt;::<a class="el" href="structCS_1_1Memory_1_1AllocatorPointerWrapper.html#e3861de7c5f1a38d76881b2b47b51fa2">p</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
The allocated pointer. 
<p>

<p>Definition at line <a class="el" href="allocator_8h-source.html#l00365">365</a> of file <a class="el" href="allocator_8h-source.html">allocator.h</a>.</p>

<p>Referenced by <a class="el" href="csutil_2array_8h-source.html#l00469">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::csArray()</a>, <a class="el" href="databuf_8h-source.html#l00053">CS::DataBuffer&lt; Allocator &gt;::DataBuffer()</a>, <a class="el" href="csutil_2array_8h-source.html#l00886">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::DeleteAll()</a>, <a class="el" href="csutil_2array_8h-source.html#l00993">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::DeleteIndex()</a>, <a class="el" href="csutil_2array_8h-source.html#l01018">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::DeleteIndexFast()</a>, <a class="el" href="csutil_2array_8h-source.html#l01040">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::DeleteRange()</a>, <a class="el" href="csutil_2array_8h-source.html#l00849">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::Find()</a>, <a class="el" href="csutil_2array_8h-source.html#l00679">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::FindKey()</a>, <a class="el" href="csutil_2array_8h-source.html#l00781">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::FindSortedKey()</a>, <a class="el" href="csutil_2array_8h-source.html#l00613">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::Get()</a>, <a class="el" href="databuf_8h-source.html#l00101">CS::DataBuffer&lt; Allocator &gt;::GetData()</a>, <a class="el" href="csutil_2array_8h-source.html#l00631">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::GetExtend()</a>, <a class="el" href="csutil_2array_8h-source.html#l00867">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::GetIndex()</a>, <a class="el" href="csutil_2array_8h-source.html#l00387">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::InitRegion()</a>, <a class="el" href="csutil_2array_8h-source.html#l00749">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::Insert()</a>, <a class="el" href="csutil_2array_8h-source.html#l00815">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::InsertSorted()</a>, <a class="el" href="csutil_2array_8h-source.html#l00725">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::Pop()</a>, <a class="el" href="csutil_2array_8h-source.html#l00691">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::Push()</a>, <a class="el" href="csutil_2array_8h-source.html#l00663">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::Put()</a>, <a class="el" href="csutil_2array_8h-source.html#l00767">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::Section()</a>, <a class="el" href="csutil_2array_8h-source.html#l00396">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::SetData()</a>, <a class="el" href="csutil_2array_8h-source.html#l00575">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::SetSize()</a>, <a class="el" href="csutil_2array_8h-source.html#l00972">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::ShrinkBestFit()</a>, <a class="el" href="csutil_2array_8h-source.html#l00877">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::Sort()</a>, <a class="el" href="csutil_2array_8h-source.html#l00735">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::Top()</a>, <a class="el" href="csutil_2array_8h-source.html#l00553">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::TransferTo()</a>, <a class="el" href="csutil_2array_8h-source.html#l00910">csArray&lt; iEventHandler *, csRefArrayElementHandler&lt; iEventHandler * &gt;, CS::Memory::AllocatorMalloc &gt;::Truncate()</a>, and <a class="el" href="databuf_8h-source.html#l00090">CS::DataBuffer&lt; Allocator &gt;::~DataBuffer()</a>.</p>

</div>
</div><p>
<hr>The documentation for this struct was generated from the following file:<ul>
<li>csutil/<a class="el" href="allocator_8h-source.html">allocator.h</a></ul>
<hr size="1"><address><small>Generated for Crystal Space 1.2.1 by 
<a href="http://www.doxygen.org/index.html">doxygen</a> 1.5.3 
</small></address> </div></body> </html>