0.9.8.10
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Namespaces | Functions
Allocator.h File Reference

Memory Allocator base class. More...

#include "Error.h"
#include <utility>
Include dependency graph for Allocator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  Hypertable::AllocatorBase< T >
 Base classes for all Allocator classes. More...
 
struct  Hypertable::AllocatorBase< void >
 Disallow AllocatorBase for the type 'void' by generating a compiler error if it's used. More...
 
class  Hypertable::ArenaAllocatorBase< T, ArenaT >
 Specialized Allocator class using a Memory Arena which manages the allocated memory; see PageArenaAllocator.h for an actual implementation. More...
 

Namespaces

 Hypertable
 Hypertable definitions
 

Functions

void Hypertable::destruct (char *)
 helper functions which call the destructor of an object; destructor is not called on POD types (using template specialization) More...
 
void Hypertable::destruct (unsigned char *)
 
void Hypertable::destruct (short *)
 
void Hypertable::destruct (unsigned short *)
 
void Hypertable::destruct (int *)
 
void Hypertable::destruct (unsigned int *)
 
void Hypertable::destruct (long *)
 
void Hypertable::destruct (unsigned long *)
 
void Hypertable::destruct (long long *)
 
void Hypertable::destruct (unsigned long long *)
 
void Hypertable::destruct (float *)
 
void Hypertable::destruct (double *)
 
void Hypertable::destruct (long double *)
 
template<typename T >
void Hypertable::destruct (T *p)
 
size_t Hypertable::get_align_offset (void *p)
 Convenience function returning a size aligned to 8 or 4 bytes, depending on the system's architecture. More...
 

Detailed Description

Memory Allocator base class.

This file contains a base class for a memory allocator. It's derived in PageArenaAllocator.h and others.

Definition in file Allocator.h.