This class declares an implementation of BlobBufferFactory where each segment loaded to a BlobBuffer is created with a separate calls to the allocator specified at construction, or the default allocator is no allocator was specified.
Declared in <bdlbb_simpleblobbufferfactory.h>
class SimpleBlobBufferFactory
: public BlobBufferFactory
| Name | Description |
|---|---|
BlobBufferFactory | This class defines a base-level protocol for a BlobBuffer factory. |
| Name | Description |
|---|---|
SimpleBlobBufferFactory [constructor] | Create a SimpleBlobBufferFactory object that will create blob buffers of specified length bufferSize. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. |
~SimpleBlobBufferFactory [destructor] [virtual] | Destroy this SimpleBlobBufferFactory object. |
allocate | Allocate a blob buffer from this blob buffer factory, and load it into the specified buffer. |
bufferSize | Return the current size with which this factory will allocate buffers. |
setBufferSize | Set the buffer size for future buffers created by this factory to the specified bufferSize. |
operator BloombergLP::bslmf::NestedTraitDeclaration<SimpleBlobBufferFactory, UsesBslmaAllocator> | Declare that this type is bitwise moveable. |