ATLAS Offline Software
Loading...
Searching...
No Matches
SG::ArenaHeapSTLAllocator_initParams< T > Class Template Reference

Initializer for pool allocator parameters. More...

#include <ArenaHeapSTLAllocator.h>

Inheritance diagram for SG::ArenaHeapSTLAllocator_initParams< T >:
Collaboration diagram for SG::ArenaHeapSTLAllocator_initParams< T >:

Public Types

typedef ArenaHeapAllocator::initParams< T, false, true, true > Base
 We take defaults from this.

Public Member Functions

 ArenaHeapSTLAllocator_initParams (size_t nblock=1000, const std::string &name="")
 Constructor.
ArenaAllocatorBase::Params params () const
 Return an initialized parameters structure.
 operator ArenaAllocatorBase::Params () const
 Return an initialized parameters structure.

Detailed Description

template<class T>
class SG::ArenaHeapSTLAllocator_initParams< T >

Initializer for pool allocator parameters.

   We override the defaults to disable calling the payload ctor/dtor.

Definition at line 60 of file ArenaHeapSTLAllocator.h.

Member Typedef Documentation

◆ Base

template<class T>
typedef ArenaHeapAllocator::initParams<T, false, true, true> SG::ArenaHeapSTLAllocator_initParams< T >::Base

We take defaults from this.

Definition at line 65 of file ArenaHeapSTLAllocator.h.

Constructor & Destructor Documentation

◆ ArenaHeapSTLAllocator_initParams()

template<class T>
SG::ArenaHeapSTLAllocator_initParams< T >::ArenaHeapSTLAllocator_initParams ( size_t nblock = 1000,
const std::string & name = "" )

Constructor.

Parameters
nblockValue to set in the parameters structure for the number of elements to allocate per block.
nameValue to set in the parameters structure for the allocator name.

Member Function Documentation

◆ operator ArenaAllocatorBase::Params()

template<class T>
SG::ArenaHeapSTLAllocator_initParams< T >::operator ArenaAllocatorBase::Params ( ) const
inline

Return an initialized parameters structure.

Definition at line 82 of file ArenaHeapSTLAllocator.h.

82{ return params(); }
ArenaAllocatorBase::Params params() const
Return an initialized parameters structure.

◆ params()

template<class T>
ArenaAllocatorBase::Params SG::ArenaHeapSTLAllocator_initParams< T >::params ( ) const

Return an initialized parameters structure.


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