Main Page Modules Class Hierarchy Data Structures File List Data Fields Globals Related Pages

# HeapBase Class Reference
[OSCL Memory]

`#include <oscl_mem.h>`

Inheritance diagram for HeapBase:

## Public Methods
| HeapBase ()
virtual | ~HeapBase ()

## Detailed Description

HeapBase is the base class for all classes that allocates memory.

HeapBase has overloaded new and delete operators.

Derived from _OsclHeapBase providing CBase* alike pointer and virtual destructor for cleanupstack to Push and Pop for cleanup when leave occurs.

HeapBase has a virtual destructor which calls the destructor of all the derived classes.

## Constructor & Destructor Documentation

HeapBase::HeapBase | ( |  | ) | `[inline]`

virtual HeapBase::~HeapBase | ( |  | ) | `[inline, virtual]`

The documentation for this class was generated from the following file:

- oscl_mem.h