casacore
Classes | Static Private Member Functions | Friends | List of all members
casacore::Allocator_private Class Reference

#include <Allocator.h>

Classes

struct  AllocSpec
 Allocator specifier. More...
 
struct  BulkAllocator
 
struct  BulkAllocatorImpl
 

Static Private Member Functions

template<typename Allocator >
static BulkAllocator< typename Allocator::value_type > * get_allocator ()
 
template<typename Allocator >
static BulkAllocatorImpl< Allocator > * get_allocator_raw ()
 

Friends

template<typename T >
class AbstractAllocator
 
template<typename T , typename Sub >
class BaseAllocator
 
template<typename T >
class Block
 

Detailed Description

Definition at line 212 of file Allocator.h.

Member Function Documentation

◆ get_allocator()

template<typename Allocator >
static BulkAllocator<typename Allocator::value_type>* casacore::Allocator_private::get_allocator ( )
inlinestaticprivate

Definition at line 302 of file Allocator.h.

Referenced by casacore::Block< T >::get_allocator().

◆ get_allocator_raw()

template<typename Allocator >
static BulkAllocatorImpl<Allocator>* casacore::Allocator_private::get_allocator_raw ( )
inlinestaticprivate

Because this function gets called from destructors of statically allocated objects that get destructed after the program finishes, the allocator is constructed in a static storage space and is never destructed.

Definition at line 307 of file Allocator.h.

Friends And Related Function Documentation

◆ AbstractAllocator

template<typename T >
friend class AbstractAllocator
friend

Definition at line 213 of file Allocator.h.

◆ BaseAllocator

template<typename T , typename Sub >
friend class BaseAllocator
friend

Definition at line 214 of file Allocator.h.

◆ Block

template<typename T >
friend class Block
friend

Definition at line 215 of file Allocator.h.


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