aimsalgo  5.0.5
Neuroimaging image processing
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

◆ pointer

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

Definition at line 17 of file geodesic_memory.h.

Constructor & Destructor Documentation

◆ SimlpeMemoryAllocator()

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.

◆ ~SimlpeMemoryAllocator()

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

Definition at line 26 of file geodesic_memory.h.

Member Function Documentation

◆ allocate()

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

Definition at line 42 of file geodesic_memory.h.

◆ reset()


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