<!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> TemplateOscl_TAlloc< T, Alloc > class Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.2.18 --> <center> <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> <hr><h1>Oscl_TAlloc< T, Alloc > Class Template Reference<br> <small> [<a class="el" href="group__osclbase.html">OSCL Base</a>]</small> </h1><code>#include <<a class="el" href="oscl__defalloc_8h-source.html">oscl_defalloc.h</a>></code> <p> <p>Inheritance diagram for Oscl_TAlloc< T, Alloc >: <p><center><img src="classOscl__TAlloc.png" usemap="#Oscl_TAlloc< T, Alloc >_map" border="0" alt=""></center> <map name="Oscl_TAlloc< T, Alloc >_map"> <area href="classOsclDestructDealloc.html" alt="OsclDestructDealloc" shape="rect" coords="0,0,150,24"> </map> <table border=0 cellpadding=0 cellspacing=0> <tr><td></td></tr> <tr><td colspan=2><br><h2>Public Types</h2></td></tr> <tr><td nowrap align=right valign=top>typedef T </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#s0">value_type</a></td></tr> <tr><td nowrap align=right valign=top>typedef T * </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#s1">pointer</a></td></tr> <tr><td nowrap align=right valign=top>typedef const T * </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#s2">const_pointer</a></td></tr> <tr><td nowrap align=right valign=top>typedef uint32 </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#s3">size_type</a></td></tr> <tr><td nowrap align=right valign=top>typedef T & </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#s4">reference</a></td></tr> <tr><td nowrap align=right valign=top>typedef const T & </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#s5">const_reference</a></td></tr> <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> <tr><td nowrap align=right valign=top>virtual </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#a0">~Oscl_TAlloc</a> ()</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOscl__TAlloc.html#s1">pointer</a> </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#a1">allocate_fl</a> (uint32 size, const char *file_name, const int line_num)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOscl__TAlloc.html#s1">pointer</a> </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#a2">allocate</a> (uint32 size)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOscl__TAlloc.html#s1">pointer</a> </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#a3">alloc_and_construct_fl</a> (<a class="el" href="classOscl__TAlloc.html#s5">const_reference</a> val, const char *file_name, const int line_num)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOscl__TAlloc.html#s1">pointer</a> </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#a4">alloc_and_construct</a> (<a class="el" href="classOscl__TAlloc.html#s5">const_reference</a> val)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#a5">deallocate</a> (<a class="el" href="group__osclbase.html#a25">OsclAny</a> *p)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#a6">deallocate</a> (<a class="el" href="group__osclbase.html#a25">OsclAny</a> *p, <a class="el" href="classOscl__TAlloc.html#s3">size_type</a> n)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#a7">destruct_and_dealloc</a> (<a class="el" href="group__osclbase.html#a25">OsclAny</a> *p)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOscl__TAlloc.html#s1">pointer</a> </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#a8">address</a> (<a class="el" href="classOscl__TAlloc.html#s4">reference</a> r)</td></tr> <tr><td nowrap align=right valign=top><a class="el" href="classOscl__TAlloc.html#s2">const_pointer</a> </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#a9">address</a> (<a class="el" href="classOscl__TAlloc.html#s5">const_reference</a> r) const</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#a10">construct</a> (<a class="el" href="classOscl__TAlloc.html#s1">pointer</a> p, <a class="el" href="classOscl__TAlloc.html#s5">const_reference</a> val)</td></tr> <tr><td nowrap align=right valign=top>void </td><td valign=bottom><a class="el" href="classOscl__TAlloc.html#a11">destroy</a> (<a class="el" href="classOscl__TAlloc.html#s1">pointer</a> p)</td></tr> </table> <h3>template<class T, class Alloc><br> class Oscl_TAlloc< T, Alloc ></h3> <hr><h2>Member Typedef Documentation</h2> <a name="s2" doxytag="Oscl_TAlloc::const_pointer"></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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> typedef const T* Oscl_TAlloc< T, Alloc >::const_pointer </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="s5" doxytag="Oscl_TAlloc::const_reference"></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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> typedef const T& Oscl_TAlloc< T, Alloc >::const_reference </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="s1" doxytag="Oscl_TAlloc::pointer"></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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> typedef T* Oscl_TAlloc< T, Alloc >::pointer </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="s4" doxytag="Oscl_TAlloc::reference"></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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> typedef T& Oscl_TAlloc< T, Alloc >::reference </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="s3" doxytag="Oscl_TAlloc::size_type"></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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> typedef uint32 Oscl_TAlloc< T, Alloc >::size_type </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="s0" doxytag="Oscl_TAlloc::value_type"></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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> typedef T Oscl_TAlloc< T, Alloc >::value_type </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a name="a0" doxytag="Oscl_TAlloc::~Oscl_TAlloc"></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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> virtual Oscl_TAlloc< T, Alloc >::~Oscl_TAlloc </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, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a name="a9" doxytag="Oscl_TAlloc::address"></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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOscl__TAlloc.html#s2">const_pointer</a> Oscl_TAlloc< T, Alloc >::address </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOscl__TAlloc.html#s5">const_reference</a> </td> <td class="mdname1" valign="top" nowrap> <em>r</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a8" doxytag="Oscl_TAlloc::address"></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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOscl__TAlloc.html#s1">pointer</a> Oscl_TAlloc< T, Alloc >::address </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOscl__TAlloc.html#s4">reference</a> </td> <td class="mdname1" valign="top" nowrap> <em>r</em> </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> </td> </tr> </table> <a name="a4" doxytag="Oscl_TAlloc::alloc_and_construct"></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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOscl__TAlloc.html#s1">pointer</a> Oscl_TAlloc< T, Alloc >::alloc_and_construct </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOscl__TAlloc.html#s5">const_reference</a> </td> <td class="mdname1" valign="top" nowrap> <em>val</em> </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> </td> </tr> </table> <a name="a3" doxytag="Oscl_TAlloc::alloc_and_construct_fl"></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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOscl__TAlloc.html#s1">pointer</a> Oscl_TAlloc< T, Alloc >::alloc_and_construct_fl </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOscl__TAlloc.html#s5">const_reference</a> </td> <td class="mdname" nowrap> <em>val</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>file_name</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const int </td> <td class="mdname" nowrap> <em>line_num</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a2" doxytag="Oscl_TAlloc::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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOscl__TAlloc.html#s1">pointer</a> Oscl_TAlloc< T, Alloc >::allocate </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">uint32 </td> <td class="mdname1" valign="top" nowrap> <em>size</em> </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> </td> </tr> </table> <a name="a1" doxytag="Oscl_TAlloc::allocate_fl"></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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> <a class="el" href="classOscl__TAlloc.html#s1">pointer</a> Oscl_TAlloc< T, Alloc >::allocate_fl </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">uint32 </td> <td class="mdname" nowrap> <em>size</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const char * </td> <td class="mdname" nowrap> <em>file_name</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>const int </td> <td class="mdname" nowrap> <em>line_num</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a10" doxytag="Oscl_TAlloc::construct"></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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> void Oscl_TAlloc< T, Alloc >::construct </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOscl__TAlloc.html#s1">pointer</a> </td> <td class="mdname" nowrap> <em>p</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOscl__TAlloc.html#s5">const_reference</a> </td> <td class="mdname" nowrap> <em>val</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a6" doxytag="Oscl_TAlloc::deallocate"></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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> void Oscl_TAlloc< T, Alloc >::deallocate </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__osclbase.html#a25">OsclAny</a> * </td> <td class="mdname" nowrap> <em>p</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classOscl__TAlloc.html#s3">size_type</a> </td> <td class="mdname" nowrap> <em>n</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> </td> </tr> </table> <a name="a5" doxytag="Oscl_TAlloc::deallocate"></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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> void Oscl_TAlloc< T, Alloc >::deallocate </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__osclbase.html#a25">OsclAny</a> * </td> <td class="mdname1" valign="top" nowrap> <em>p</em> </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> </td> </tr> </table> <a name="a11" doxytag="Oscl_TAlloc::destroy"></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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> void Oscl_TAlloc< T, Alloc >::destroy </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classOscl__TAlloc.html#s1">pointer</a> </td> <td class="mdname1" valign="top" nowrap> <em>p</em> </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> </td> </tr> </table> <a name="a7" doxytag="Oscl_TAlloc::destruct_and_dealloc"></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" colspan="4"> template<class T, class Alloc> </td> </tr> <tr> <td class="md" nowrap valign="top"> void Oscl_TAlloc< T, Alloc >::destruct_and_dealloc </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="group__osclbase.html#a25">OsclAny</a> * </td> <td class="mdname1" valign="top" nowrap> <em>p</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline, virtual]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td> <p> <p> Implements <a class="el" href="classOsclDestructDealloc.html#a0">OsclDestructDealloc</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="oscl__defalloc_8h-source.html">oscl_defalloc.h</a></ul> <hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> </small></address> </body> </html>