BloombergLP::bslma::SequentialPool::SequentialPool

Constructors

Synopses

Declared in <bslma_sequentialpool.h>

Create a sequential pool using an internal buffer.

explicit
SequentialPool(Allocator* basicAllocator = 0);
» more...

Create a sequential pool using an internal buffer and the specified alignment strategy.

explicit
SequentialPool(
    BufferAllocator::AlignmentStrategy strategy,
    Allocator* basicAllocator = 0);
» more...

Create a sequential pool using an internal buffer of the specified initialSize.

explicit
SequentialPool(
    int initialSize,
    Allocator* basicAllocator = 0);
» more...

Create a sequential pool using an internal buffer of the specified initialSize and alignment strategy.

SequentialPool(
    int initialSize,
    BufferAllocator::AlignmentStrategy strategy,
    Allocator* basicAllocator = 0);
» more...

Create a sequential pool using an internal buffer with a maximum buffer size.

SequentialPool(
    int initialSize,
    int maxBufferSize,
    Allocator* basicAllocator = 0);
» more...

Create a sequential pool using the specified external buffer.

SequentialPool(
    char* buffer,
    int bufferSize,
    Allocator* basicAllocator = 0);
» more...

Create a sequential pool using an internal buffer with a maximum buffer size and the specified alignment strategy.

SequentialPool(
    int initialSize,
    int maxBufferSize,
    BufferAllocator::AlignmentStrategy strategy,
    Allocator* basicAllocator = 0);
» more...

Create a sequential pool using the specified external buffer and alignment strategy.

SequentialPool(
    char* buffer,
    int bufferSize,
    BufferAllocator::AlignmentStrategy strategy,
    Allocator* basicAllocator = 0);
» more...

Create a sequential pool using the specified external buffer with a maximum buffer size.

SequentialPool(
    char* buffer,
    int bufferSize,
    int maxBufferSize,
    Allocator* basicAllocator = 0);
» more...

Create a sequential pool using the specified external buffer, maximum buffer size, and alignment strategy.

SequentialPool(
    char* buffer,
    int bufferSize,
    int maxBufferSize,
    BufferAllocator::AlignmentStrategy strategy,
    Allocator* basicAllocator = 0);
» more...

Parameters

NameDescription
basicAllocatorThe allocator used to supply memory.
strategyThe alignment strategy used for allocations.
initialSizeThe initial internal buffer size (in bytes).
maxBufferSizeThe maximum internal buffer size (in bytes).
bufferThe external buffer used for initial allocations.
bufferSizeThe size (in bytes) of buffer.