8#ifndef INCLUDED_BDLMA_SEQUENTIALALLOCATOR
9#define INCLUDED_BDLMA_SEQUENTIALALLOCATOR
247#include <bdlscm_version.h>
475: d_sequentialPool(basicAllocator)
483: d_sequentialPool(growthStrategy, basicAllocator)
491: d_sequentialPool(alignmentStrategy, basicAllocator)
500: d_sequentialPool(growthStrategy, alignmentStrategy, basicAllocator)
506SequentialAllocator(
int initialSize)
507: d_sequentialPool(initialSize)
516: d_sequentialPool(initialSize, basicAllocator)
526: d_sequentialPool(initialSize, growthStrategy, basicAllocator)
536: d_sequentialPool(initialSize, alignmentStrategy, basicAllocator)
547: d_sequentialPool(initialSize,
560: d_sequentialPool(initialSize, maxBufferSize, basicAllocator)
572: d_sequentialPool(initialSize, maxBufferSize, growthStrategy, basicAllocator)
584: d_sequentialPool(initialSize,
600: d_sequentialPool(initialSize,
614 return d_sequentialPool.
allocate(size);
643 d_sequentialPool.
rewind();
652 return d_sequentialPool.
truncate(address, originalSize, newSize);
Definition bdlma_managedallocator.h:392
Definition bdlma_sequentialallocator.h:282
~SequentialAllocator() BSLS_KEYWORD_OVERRIDE
void release() BSLS_KEYWORD_OVERRIDE
Definition bdlma_sequentialallocator.h:629
bsls::Types::size_type truncate(void *address, bsls::Types::size_type originalSize, bsls::Types::size_type newSize)
Definition bdlma_sequentialallocator.h:647
void * allocate(bsls::Types::size_type size) BSLS_KEYWORD_OVERRIDE
Definition bdlma_sequentialallocator.h:612
void * allocateAndExpand(bsls::Types::size_type *size)
Definition bdlma_sequentialallocator.h:618
void reserveCapacity(bsls::Types::size_type numBytes)
Definition bdlma_sequentialallocator.h:635
void deallocate(void *address) BSLS_KEYWORD_OVERRIDE
Definition bdlma_sequentialallocator.h:624
virtual void rewind()
Definition bdlma_sequentialallocator.h:641
Definition bdlma_sequentialpool.h:383
void reserveCapacity(bsls::Types::size_type numBytes)
void * allocate(bsls::Types::size_type size)
Definition bdlma_sequentialpool.h:777
bsls::Types::size_type truncate(void *address, bsls::Types::size_type originalSize, bsls::Types::size_type newSize)
Definition bdlma_sequentialpool.h:821
void * allocateAndExpand(bsls::Types::size_type *size)
Definition bdlma_sequentialpool.h:788
Definition bslma_allocator.h:545
std::size_t size_type
Definition bslma_allocator.h:593
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1976
#define BSLS_IDENT(str)
BSLS_IDENT() - insert string into .comment binary segment (if supported)
Definition bsls_ident.h:238
#define BSLS_KEYWORD_OVERRIDE
Definition bsls_keyword.h:695
Definition bdlma_alignedallocator.h:278
Definition baljsn_encoder_testtypes.h:76
Definition bdlt_iso8601util.h:707
Strategy
Types of alignment strategy.
Definition bsls_alignment.h:241
Strategy
Definition bsls_blockgrowth.h:172
std::size_t size_type
Definition bsls_types.h:126