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 286 of file BlockWipedAllocator.h.

Member Function Documentation

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

Definition at line 296 of file BlockWipedAllocator.h.

296  {
297  static BlockWipedAllocator & local = blockWipedAllocator<sizeof(T)>();
298  return local;
299  }
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 288 of file BlockWipedAllocator.h.

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

288  {
289  return allocator().alloc();
290  }
static BlockWipedAllocator & allocator()
template<typename T >
static BlockWipedAllocator::Stat SizeBlockWipedAllocated< T >::stat ( )
inlinestatic

Definition at line 302 of file BlockWipedAllocator.h.

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

302  {
303  return allocator().stat();
304  }
static BlockWipedAllocator & allocator()