CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Static Public Member Functions
SizeBlockWipedAllocated< T > Class Template Reference

#include <BlockWipedAllocator.h>

Static Public Member Functions

static BlockWipedAllocatorallocator ()
 
static void operator delete (void *p)
 
static void * operator new (size_t)
 
static BlockWipedAllocator::Stat stat ()
 

Detailed Description

template<typename T>
class SizeBlockWipedAllocated< T >

Definition at line 212 of file BlockWipedAllocator.h.

Member Function Documentation

template<typename T >
static BlockWipedAllocator& SizeBlockWipedAllocated< T >::allocator ( )
inlinestatic

Definition at line 222 of file BlockWipedAllocator.h.

Referenced by SizeBlockWipedAllocated< T >::operator delete(), SizeBlockWipedAllocated< T >::operator new(), and SizeBlockWipedAllocated< T >::stat().

222  {
223  static BlockWipedAllocator & local = blockWipedAllocator<sizeof(T)>();
224  return local;
225  }
template<typename T >
static void SizeBlockWipedAllocated< T >::operator delete ( void *  p)
inlinestatic
template<typename T >
static void* SizeBlockWipedAllocated< T >::operator new ( size_t  )
inlinestatic

Definition at line 214 of file BlockWipedAllocator.h.

References BlockWipedAllocator::alloc(), and SizeBlockWipedAllocated< T >::allocator().

214  {
215  return allocator().alloc();
216  }
static BlockWipedAllocator & allocator()
template<typename T >
static BlockWipedAllocator::Stat SizeBlockWipedAllocated< T >::stat ( )
inlinestatic

Definition at line 228 of file BlockWipedAllocator.h.

References SizeBlockWipedAllocated< T >::allocator(), and BlockWipedAllocator::stat().

228  {
229  return allocator().stat();
230  }
static BlockWipedAllocator & allocator()