#include <itk_alloc.h>
Public Types | |
enum | { chunk = sizeof(value_type)/sizeof(alloc_value_type)+(sizeof(value_type)sizeof(alloc_value_type)>0) } |
typedef Alloc::value_type | alloc_value_type |
typedef T | value_type |
Static Public Member Functions | |
static value_type * | allocate (void) |
static value_type * | allocate (vcl_size_t n) |
static void | deallocate (value_type *p) |
static void | deallocate (value_type *p, vcl_size_t n) |
Definition at line 22 of file itk_alloc.h.
typedef Alloc::value_type itk_simple_alloc< T, Alloc >::alloc_value_type |
Definition at line 25 of file itk_alloc.h.
typedef T itk_simple_alloc< T, Alloc >::value_type |
Definition at line 26 of file itk_alloc.h.
anonymous enum |
Definition at line 29 of file itk_alloc.h.
static value_type* itk_simple_alloc< T, Alloc >::allocate | ( | void | ) | [inline, static] |
Definition at line 39 of file itk_alloc.h.
References itk_simple_alloc< T, Alloc >::chunk.
Referenced by itk::hashtable_base< std::pair< const Key, T >, Alloc >::new_node().
static value_type* itk_simple_alloc< T, Alloc >::allocate | ( | vcl_size_t | n | ) | [inline, static] |
Definition at line 37 of file itk_alloc.h.
References itk_simple_alloc< T, Alloc >::chunk.
static void itk_simple_alloc< T, Alloc >::deallocate | ( | value_type * | p | ) | [inline, static] |
Definition at line 43 of file itk_alloc.h.
References itk_simple_alloc< T, Alloc >::chunk.
static void itk_simple_alloc< T, Alloc >::deallocate | ( | value_type * | p, | |
vcl_size_t | n | |||
) | [inline, static] |
Definition at line 41 of file itk_alloc.h.
References itk_simple_alloc< T, Alloc >::chunk.
Referenced by itk::hashtable_base< std::pair< const Key, T >, Alloc >::delete_node(), and itk::hashtable_base< std::pair< const Key, T >, Alloc >::new_node().