Skip to content

Class HL::SizeHeap

template <class SuperHeap>

ClassList > HL > SizeHeap

Allocates extra room for the size of an object.

  • #include <sizeheap.h>

Inherits the following classes: SuperHeap

Public Types

Type Name
enum SizeHeap

Public Functions

Type Name
void free (void * ptr)
void * malloc (size_t sz)
virtual ~SizeHeap (void)

Public Static Functions

Type Name
size_t getSize (const void * ptr)

Public Types Documentation

enum SizeHeap [2/2]

enum HL::SizeHeap::SizeHeap {
    Alignment = gcd<(int) SuperHeap::Alignment,
       (int) sizeof(freeObject)>::value
};

Public Functions Documentation

function free

inline void HL::SizeHeap::free (
    void * ptr
) 

function malloc

inline void * HL::SizeHeap::malloc (
    size_t sz
) 

function ~SizeHeap

inline virtual HL::SizeHeap::~SizeHeap (
    void
) 

Public Static Functions Documentation

function getSize

static inline size_t HL::SizeHeap::getSize (
    const  void * ptr
) 


The documentation for this class was generated from the following file cubrid/src/heaplayers/heaps/objectrep/sizeheap.h