| <!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>Oscl_Opaque_Type_Alloc_LL 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_Opaque_Type_Alloc_LL Class Reference<br> |
| <small> |
| [<a class="el" href="group__osclbase.html">OSCL Base</a>]</small> |
| </h1><code>#include <<a class="el" href="oscl__opaque__type_8h-source.html">oscl_opaque_type.h</a>></code> |
| <p> |
| <p>Inheritance diagram for Oscl_Opaque_Type_Alloc_LL: |
| <p><center><img src="classOscl__Opaque__Type__Alloc__LL.png" usemap="#Oscl_Opaque_Type_Alloc_LL_map" border="0" alt=""></center> |
| <map name="Oscl_Opaque_Type_Alloc_LL_map"> |
| <area href="classOscl__Linked__List.html" alt="Oscl_Linked_List< LLClass, Alloc >" shape="rect" coords="0,56,215,80"> |
| </map> |
| <table border=0 cellpadding=0 cellspacing=0> |
| <tr><td></td></tr> |
| <tr><td colspan=2><br><h2>Public Methods</h2></td></tr> |
| <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classOscl__Opaque__Type__Alloc__LL.html#a0">construct</a> (<a class="el" href="group__osclbase.html#a25">OsclAny</a> *p, const <a class="el" href="group__osclbase.html#a25">OsclAny</a> *init_val)=0</td></tr> |
| <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classOscl__Opaque__Type__Alloc__LL.html#a1">destroy</a> (<a class="el" href="group__osclbase.html#a25">OsclAny</a> *p)=0</td></tr> |
| <tr><td nowrap align=right valign=top>virtual <a class="el" href="group__osclbase.html#a25">OsclAny</a> * </td><td valign=bottom><a class="el" href="classOscl__Opaque__Type__Alloc__LL.html#a2">allocate</a> (const uint32 size)=0</td></tr> |
| <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classOscl__Opaque__Type__Alloc__LL.html#a3">deallocate</a> (<a class="el" href="group__osclbase.html#a25">OsclAny</a> *p)=0</td></tr> |
| <tr><td nowrap align=right valign=top>virtual <a class="el" href="group__osclbase.html#a25">OsclAny</a> * </td><td valign=bottom><a class="el" href="classOscl__Opaque__Type__Alloc__LL.html#a4">get_next</a> (const <a class="el" href="group__osclbase.html#a25">OsclAny</a> *elem) const=0</td></tr> |
| <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classOscl__Opaque__Type__Alloc__LL.html#a5">set_next</a> (<a class="el" href="group__osclbase.html#a25">OsclAny</a> *elem, const <a class="el" href="group__osclbase.html#a25">OsclAny</a> *nextelem)=0</td></tr> |
| <tr><td nowrap align=right valign=top>virtual void </td><td valign=bottom><a class="el" href="classOscl__Opaque__Type__Alloc__LL.html#a6">get_data</a> (<a class="el" href="group__osclbase.html#a25">OsclAny</a> *elem, <a class="el" href="group__osclbase.html#a25">OsclAny</a> *data_val)=0</td></tr> |
| <tr><td nowrap align=right valign=top>virtual bool </td><td valign=bottom><a class="el" href="classOscl__Opaque__Type__Alloc__LL.html#a7">compare_data</a> (const <a class="el" href="group__osclbase.html#a25">OsclAny</a> *elem, const <a class="el" href="group__osclbase.html#a25">OsclAny</a> *data_val) const=0</td></tr> |
| </table> |
| <hr><a name="_details"></a><h2>Detailed Description</h2> |
| This class combines opaque type operations with memory allocation operations and linked list support |
| <p> |
| <hr><h2>Member Function Documentation</h2> |
| <a name="a2" doxytag="Oscl_Opaque_Type_Alloc_LL::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"> virtual <a class="el" href="group__osclbase.html#a25">OsclAny</a>* Oscl_Opaque_Type_Alloc_LL::allocate </td> |
| <td class="md" valign="top">( </td> |
| <td class="md" nowrap valign="top">const uint32 </td> |
| <td class="mdname1" valign="top" nowrap> <em>size</em> </td> |
| <td class="md" valign="top">) </td> |
| <td class="md" nowrap><code> [pure virtual]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Allocate "size" bytes </td> |
| </tr> |
| </table> |
| <a name="a7" doxytag="Oscl_Opaque_Type_Alloc_LL::compare_data"></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"> virtual bool Oscl_Opaque_Type_Alloc_LL::compare_data </td> |
| <td class="md" valign="top">( </td> |
| <td class="md" nowrap valign="top">const <a class="el" href="group__osclbase.html#a25">OsclAny</a> * </td> |
| <td class="mdname" nowrap> <em>elem</em>, </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td></td> |
| <td class="md" nowrap>const <a class="el" href="group__osclbase.html#a25">OsclAny</a> * </td> |
| <td class="mdname" nowrap> <em>data_val</em></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td class="md">) </td> |
| <td class="md" colspan="2"> const<code> [pure virtual]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Compare data. </td> |
| </tr> |
| </table> |
| <a name="a0" doxytag="Oscl_Opaque_Type_Alloc_LL::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" nowrap valign="top"> virtual void Oscl_Opaque_Type_Alloc_LL::construct </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>const <a class="el" href="group__osclbase.html#a25">OsclAny</a> * </td> |
| <td class="mdname" nowrap> <em>init_val</em></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td class="md">) </td> |
| <td class="md" colspan="2"><code> [pure virtual]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Construct element at p using element at init_val as the initial value. Both pointers must be non-NULL. </td> |
| </tr> |
| </table> |
| <a name="a3" doxytag="Oscl_Opaque_Type_Alloc_LL::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" nowrap valign="top"> virtual void Oscl_Opaque_Type_Alloc_LL::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> [pure virtual]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Deallocate memory previously allocated with "allocate" </td> |
| </tr> |
| </table> |
| <a name="a1" doxytag="Oscl_Opaque_Type_Alloc_LL::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" nowrap valign="top"> virtual void Oscl_Opaque_Type_Alloc_LL::destroy </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> [pure virtual]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Destroy element at p. </td> |
| </tr> |
| </table> |
| <a name="a6" doxytag="Oscl_Opaque_Type_Alloc_LL::get_data"></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"> virtual void Oscl_Opaque_Type_Alloc_LL::get_data </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>elem</em>, </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td></td> |
| <td class="md" nowrap><a class="el" href="group__osclbase.html#a25">OsclAny</a> * </td> |
| <td class="mdname" nowrap> <em>data_val</em></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td class="md">) </td> |
| <td class="md" colspan="2"><code> [pure virtual]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Get data </td> |
| </tr> |
| </table> |
| <a name="a4" doxytag="Oscl_Opaque_Type_Alloc_LL::get_next"></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"> virtual <a class="el" href="group__osclbase.html#a25">OsclAny</a>* Oscl_Opaque_Type_Alloc_LL::get_next </td> |
| <td class="md" valign="top">( </td> |
| <td class="md" nowrap valign="top">const <a class="el" href="group__osclbase.html#a25">OsclAny</a> * </td> |
| <td class="mdname1" valign="top" nowrap> <em>elem</em> </td> |
| <td class="md" valign="top">) </td> |
| <td class="md" nowrap> const<code> [pure virtual]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Get next element in linked list. </td> |
| </tr> |
| </table> |
| <a name="a5" doxytag="Oscl_Opaque_Type_Alloc_LL::set_next"></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"> virtual void Oscl_Opaque_Type_Alloc_LL::set_next </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>elem</em>, </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td></td> |
| <td class="md" nowrap>const <a class="el" href="group__osclbase.html#a25">OsclAny</a> * </td> |
| <td class="mdname" nowrap> <em>nextelem</em></td> |
| </tr> |
| <tr> |
| <td></td> |
| <td class="md">) </td> |
| <td class="md" colspan="2"><code> [pure virtual]</code></td> |
| </tr> |
| |
| </table> |
| </td> |
| </tr> |
| </table> |
| <table cellspacing=5 cellpadding=0 border=0> |
| <tr> |
| <td> |
| |
| </td> |
| <td> |
| |
| <p> |
| Set next element in linked list. </td> |
| </tr> |
| </table> |
| <hr>The documentation for this class was generated from the following file:<ul> |
| <li><a class="el" href="oscl__opaque__type_8h-source.html">oscl_opaque_type.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> |