Constructors
Synopses
Declared in <bdlbb_pooledblobbufferfactory.h>
Create a pooled factory for allocating BlobBuffer objects of the specified bufferSize.
PooledBlobBufferFactory(
int bufferSize,
bslma::Allocator* basicAllocator = 0);
See the overload above for contract.
PooledBlobBufferFactory(
int bufferSize,
bsls::BlockGrowth::Strategy growthStrategy,
bslma::Allocator* basicAllocator = 0);
See the overload above for contract.
PooledBlobBufferFactory(
int bufferSize,
bsls::BlockGrowth::Strategy growthStrategy,
int maxBlocksPerChunk,
bslma::Allocator* basicAllocator = 0);
Parameters
Name |
Description |
bufferSize |
size of each allocated blob buffer |
basicAllocator |
memory allocator; null uses the default |
growthStrategy |
strategy controlling growth of internal chunks |
maxBlocksPerChunk |
maximum blocks allocated when replenishing |
Created with MrDocs