[#BloombergLP-bdlbb-BlobBufferFactory] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlbb.adoc[bdlbb]::BlobBufferFactory :relfileprefix: ../../ :mrdocs: This class defines a base‐level protocol for a `BlobBuffer` factory. == Synopsis Declared in `<bdlbb_blob.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class BlobBufferFactory; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlbb/BlobBufferFactory/2destructor.adoc[`~BlobBufferFactory`] [.small]#[destructor]# [.small]#[virtual]# | Destroy this blob buffer factory. | xref:BloombergLP/bdlbb/BlobBufferFactory/allocate.adoc[`allocate`] [.small]#[virtual]# | Allocate a blob buffer from this blob buffer factory, and load it into the specified `buffer`. |=== == Derived Classes [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bdlbb/PooledBlobBufferFactory.adoc[`PooledBlobBufferFactory`] | This class implements the `BlobBufferFactory` protocol and provides a mechanism for allocating `BlobBuffer` objects of a fixed size passed at construction. | xref:BloombergLP/bdlbb/SimpleBlobBufferFactory.adoc[`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. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#