casacore
Public Types | Public Member Functions | Static Private Attributes | List of all members
casacore::Allocator_private::BulkAllocatorImpl< Allocator > Struct Template Reference

Public Types

typedef Allocator::size_type size_type
 
typedef Allocator::pointer pointer
 
typedef Allocator::const_pointer const_pointer
 
typedef Allocator::value_type value_type
 
- Public Types inherited from casacore::Allocator_private::BulkAllocator< Allocator::value_type >
typedef std::allocator< Allocator::value_type >::size_type size_type
 
typedef std::allocator< Allocator::value_type >::pointer pointer
 
typedef std::allocator< Allocator::value_type >::const_pointer const_pointer
 
typedef std::allocator< Allocator::value_type >::value_type value_type
 

Public Member Functions

virtual pointer allocate (size_type elements, const void *ptr=0)
 
virtual void deallocate (pointer ptr, size_type size)
 
virtual void construct (pointer ptr, size_type n, const_pointer src)
 
virtual void construct (pointer ptr, size_type n, value_type const &initial_value)
 
virtual void construct (pointer ptr, size_type n)
 
virtual void destroy (pointer ptr, size_type n)
 
virtual std::type_info const & allocator_typeid () const
 
virtual ~BulkAllocatorImpl ()
 
- Public Member Functions inherited from casacore::Allocator_private::BulkAllocator< Allocator::value_type >
virtual pointer allocate (size_type elements, const void *ptr=0)=0
 
virtual void deallocate (pointer ptr, size_type size)=0
 
virtual void construct (pointer ptr, size_type n, const_pointer src)=0
 
virtual void construct (pointer ptr, size_type n, value_type const &initial_value)=0
 
virtual void construct (pointer ptr, size_type n)=0
 
virtual void destroy (pointer ptr, size_type n)=0
 
virtual ~BulkAllocator ()
 

Static Private Attributes

static Allocator allocator
 

Detailed Description

template<typename Allocator>
struct casacore::Allocator_private::BulkAllocatorImpl< Allocator >

Definition at line 283 of file Allocator.h.

Member Typedef Documentation

template<typename Allocator>
typedef Allocator::const_pointer casacore::Allocator_private::BulkAllocatorImpl< Allocator >::const_pointer

Definition at line 286 of file Allocator.h.

template<typename Allocator>
typedef Allocator::pointer casacore::Allocator_private::BulkAllocatorImpl< Allocator >::pointer

Definition at line 285 of file Allocator.h.

template<typename Allocator>
typedef Allocator::size_type casacore::Allocator_private::BulkAllocatorImpl< Allocator >::size_type

Definition at line 284 of file Allocator.h.

template<typename Allocator>
typedef Allocator::value_type casacore::Allocator_private::BulkAllocatorImpl< Allocator >::value_type

Definition at line 287 of file Allocator.h.

Constructor & Destructor Documentation

template<typename Allocator>
virtual casacore::Allocator_private::BulkAllocatorImpl< Allocator >::~BulkAllocatorImpl ( )
inlinevirtual

Definition at line 342 of file Allocator.h.

Member Function Documentation

template<typename Allocator>
virtual pointer casacore::Allocator_private::BulkAllocatorImpl< Allocator >::allocate ( size_type  elements,
const void *  ptr = 0 
)
inlinevirtual

Definition at line 288 of file Allocator.h.

template<typename Allocator>
virtual std::type_info const& casacore::Allocator_private::BulkAllocatorImpl< Allocator >::allocator_typeid ( ) const
inlinevirtual
template<typename Allocator>
virtual void casacore::Allocator_private::BulkAllocatorImpl< Allocator >::construct ( pointer  ptr,
size_type  n,
const_pointer  src 
)
inlinevirtual

Definition at line 295 of file Allocator.h.

template<typename Allocator>
virtual void casacore::Allocator_private::BulkAllocatorImpl< Allocator >::construct ( pointer  ptr,
size_type  n,
value_type const &  initial_value 
)
inlinevirtual

Definition at line 306 of file Allocator.h.

template<typename Allocator>
virtual void casacore::Allocator_private::BulkAllocatorImpl< Allocator >::construct ( pointer  ptr,
size_type  n 
)
inlinevirtual

Definition at line 318 of file Allocator.h.

template<typename Allocator>
virtual void casacore::Allocator_private::BulkAllocatorImpl< Allocator >::deallocate ( pointer  ptr,
size_type  size 
)
inlinevirtual

Definition at line 291 of file Allocator.h.

template<typename Allocator>
virtual void casacore::Allocator_private::BulkAllocatorImpl< Allocator >::destroy ( pointer  ptr,
size_type  n 
)
inlinevirtual

Destructor should not raise any exception.

Definition at line 329 of file Allocator.h.

Member Data Documentation

template<typename Allocator>
Allocator casacore::Allocator_private::BulkAllocatorImpl< Allocator >::allocator
staticprivate

Definition at line 345 of file Allocator.h.


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