casacore::casacore_allocator< T, ALIGNMENT > Struct Template Reference

#include <Allocator.h>

Inheritance diagram for casacore::casacore_allocator< T, ALIGNMENT >:
casacore::std11_allocator< T >

List of all members.

Classes

struct  rebind

Public Types

enum  { alignment }
typedef std11_allocator< T > Super
typedef Super::size_type size_type
typedef Super::difference_type difference_type
typedef Super::pointer pointer
typedef Super::const_pointer const_pointer
typedef Super::reference reference
typedef Super::const_reference const_reference
typedef Super::value_type value_type

Public Member Functions

 casacore_allocator () throw ()
 casacore_allocator (const casacore_allocator &other) noexcept
template<typename TOther >
 casacore_allocator (const casacore_allocator< TOther > &) noexcept
 ~casacore_allocator () noexcept
pointer allocate (size_type elements, const void *=0)
void deallocate (pointer ptr, size_type)

Detailed Description

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
struct casacore::casacore_allocator< T, ALIGNMENT >

Definition at line 116 of file Allocator.h.


Member Typedef Documentation

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
typedef Super::const_pointer casacore::casacore_allocator< T, ALIGNMENT >::const_pointer

Reimplemented from casacore::std11_allocator< T >.

Definition at line 121 of file Allocator.h.

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
typedef Super::const_reference casacore::casacore_allocator< T, ALIGNMENT >::const_reference

Reimplemented from casacore::std11_allocator< T >.

Definition at line 123 of file Allocator.h.

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
typedef Super::difference_type casacore::casacore_allocator< T, ALIGNMENT >::difference_type

Reimplemented from casacore::std11_allocator< T >.

Definition at line 119 of file Allocator.h.

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
typedef Super::pointer casacore::casacore_allocator< T, ALIGNMENT >::pointer

Reimplemented from casacore::std11_allocator< T >.

Definition at line 120 of file Allocator.h.

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
typedef Super::reference casacore::casacore_allocator< T, ALIGNMENT >::reference

Reimplemented from casacore::std11_allocator< T >.

Definition at line 122 of file Allocator.h.

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
typedef Super::size_type casacore::casacore_allocator< T, ALIGNMENT >::size_type

Reimplemented from casacore::std11_allocator< T >.

Definition at line 118 of file Allocator.h.

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
typedef std11_allocator<T> casacore::casacore_allocator< T, ALIGNMENT >::Super

Reimplemented from casacore::std11_allocator< T >.

Definition at line 117 of file Allocator.h.

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
typedef Super::value_type casacore::casacore_allocator< T, ALIGNMENT >::value_type

Reimplemented from casacore::std11_allocator< T >.

Definition at line 124 of file Allocator.h.


Member Enumeration Documentation

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
anonymous enum
Enumerator:
alignment 

Definition at line 126 of file Allocator.h.


Constructor & Destructor Documentation

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
casacore::casacore_allocator< T, ALIGNMENT >::casacore_allocator (  )  throw () [inline]

Definition at line 135 of file Allocator.h.

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
casacore::casacore_allocator< T, ALIGNMENT >::casacore_allocator ( const casacore_allocator< T, ALIGNMENT > &  other  )  [inline]

Definition at line 138 of file Allocator.h.

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
template<typename TOther >
casacore::casacore_allocator< T, ALIGNMENT >::casacore_allocator ( const casacore_allocator< TOther > &   )  [inline]

Definition at line 143 of file Allocator.h.

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
casacore::casacore_allocator< T, ALIGNMENT >::~casacore_allocator (  )  [inline]

Definition at line 146 of file Allocator.h.


Member Function Documentation

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
pointer casacore::casacore_allocator< T, ALIGNMENT >::allocate ( size_type  elements,
const void *  = 0 
) [inline]

Definition at line 149 of file Allocator.h.

template<typename T, size_t ALIGNMENT = CASA_DEFAULT_ALIGNMENT>
void casacore::casacore_allocator< T, ALIGNMENT >::deallocate ( pointer  ptr,
size_type   
) [inline]

Definition at line 161 of file Allocator.h.

References free().


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1