![]() |
ATLAS Offline Software
|
Helper to initialize a parameters structure. More...
#include <ArenaAllocatorBase.h>
Public Member Functions | |
| initParams (size_t nblock=1000, const std::string &name="") | |
| Constructor. | |
| Params | params () const |
| Return an initialized parameters structure. | |
| operator Params () const | |
| Return an initialized parameters structure. | |
Private Attributes | |
| size_t | m_nblock |
| Saved value of the number of elements to allocate per block. | |
| std::string | m_name |
| Saved value of the allocator name. | |
Helper to initialize a parameters structure.
This creates a Params class appropriately initialized for class T. Assumptions made:
clear is true.canReclear is true and mustClear is false.If these are not appropriate, you can derive from this class and make the appropriate changes.
Definition at line 316 of file ArenaAllocatorBase.h.
| SG::ArenaAllocatorBase::initParams< T, clear, no_ctor, no_dtor >::initParams | ( | size_t | nblock = 1000, |
| const std::string & | name = "" ) |
|
inline |
Return an initialized parameters structure.
Definition at line 336 of file ArenaAllocatorBase.h.
| Params SG::ArenaAllocatorBase::initParams< T, clear, no_ctor, no_dtor >::params | ( | ) | const |
Return an initialized parameters structure.
|
private |
Saved value of the allocator name.
Definition at line 344 of file ArenaAllocatorBase.h.
|
private |
Saved value of the number of elements to allocate per block.
Definition at line 341 of file ArenaAllocatorBase.h.