Concrete BlobBufferFactory that creates fixed‐size blob buffers.

Synopsis

Declared in <bdlbb_simpleblobbufferfactory.h>

class SimpleBlobBufferFactory
    : public BlobBufferFactory

Description

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.

Base Classes

Name

Description

BlobBufferFactory

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

Member Functions

Name

Description

SimpleBlobBufferFactory [constructor]

Create a factory that produces blob buffers of the specified size.

~SimpleBlobBufferFactory [destructor] [virtual]

Destroy this SimpleBlobBufferFactory object.

allocate

allocate overloads

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.

Created with MrDocs