A.I.M.S algorithms


geodesic::SimlpeMemoryAllocator< T > Class Template Reference

#include <aims/geodesicpath/geodesic_memory.h>

Inheritance diagram for geodesic::SimlpeMemoryAllocator< T >:

Public Types

typedef T * pointer
 

Public Member Functions

 SimlpeMemoryAllocator (unsigned block_size=0, unsigned max_number_of_blocks=0)
 
 ~SimlpeMemoryAllocator ()
 
void reset (unsigned block_size, unsigned max_number_of_blocks)
 
pointer allocate (unsigned const n)
 

Detailed Description

template<class T>
class geodesic::SimlpeMemoryAllocator< T >

Definition at line 14 of file geodesic_memory.h.

Member Typedef Documentation

template<class T>
typedef T* geodesic::SimlpeMemoryAllocator< T >::pointer

Definition at line 17 of file geodesic_memory.h.

Constructor & Destructor Documentation

template<class T>
geodesic::SimlpeMemoryAllocator< T >::SimlpeMemoryAllocator ( unsigned  block_size = 0,
unsigned  max_number_of_blocks = 0 
)
inline

Definition at line 19 of file geodesic_memory.h.

template<class T>
geodesic::SimlpeMemoryAllocator< T >::~SimlpeMemoryAllocator ( )
inline

Definition at line 26 of file geodesic_memory.h.

Member Function Documentation

template<class T>
pointer geodesic::SimlpeMemoryAllocator< T >::allocate ( unsigned const  n)
inline

Definition at line 42 of file geodesic_memory.h.

template<class T>
void geodesic::SimlpeMemoryAllocator< T >::reset ( unsigned  block_size,
unsigned  max_number_of_blocks 
)
inline

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