This class defines a base-level protocol for a BlobBuffer factory.
Declared in <bdlbb_blob.h>
class BlobBufferFactory;
| Name | Description |
|---|---|
~BlobBufferFactory [destructor] [virtual] | Destroy this blob buffer factory. |
allocate [virtual] | Allocate a blob buffer from this blob buffer factory, and load it into the specified buffer. |
| Name | Description |
|---|---|
PooledBlobBufferFactory | This class implements the BlobBufferFactory protocol and provides a mechanism for allocating BlobBuffer objects of a fixed size passed at construction. |
SimpleBlobBufferFactory | 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. |