BloombergLP::bdlbb::BlobBufferFactory

This class defines a base-level protocol for a BlobBuffer factory.

Synopsis

Declared in <bdlbb_blob.h>

class BlobBufferFactory;

Member Functions

NameDescription
~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.

Derived Classes

NameDescription
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.