8#ifndef INCLUDED_BDLMA_SEQUENTIALALLOCATOR
9#define INCLUDED_BDLMA_SEQUENTIALALLOCATOR
244#include <bdlscm_version.h>
464: d_sequentialPool(basicAllocator)
472: d_sequentialPool(growthStrategy, basicAllocator)
480: d_sequentialPool(alignmentStrategy, basicAllocator)
489: d_sequentialPool(growthStrategy, alignmentStrategy, basicAllocator)
495SequentialAllocator(
int initialSize)
496: d_sequentialPool(initialSize)
505: d_sequentialPool(initialSize, basicAllocator)
515: d_sequentialPool(initialSize, growthStrategy, basicAllocator)
525: d_sequentialPool(initialSize, alignmentStrategy, basicAllocator)
536: d_sequentialPool(initialSize,
549: d_sequentialPool(initialSize, maxBufferSize, basicAllocator)
561: d_sequentialPool(initialSize, maxBufferSize, growthStrategy, basicAllocator)
573: d_sequentialPool(initialSize,
589: d_sequentialPool(initialSize,
603 return d_sequentialPool.
allocate(size);
632 d_sequentialPool.
rewind();
641 return d_sequentialPool.
truncate(address, originalSize, newSize);
Definition bdlma_managedallocator.h:391
Definition bdlma_sequentialallocator.h:279
~SequentialAllocator() BSLS_KEYWORD_OVERRIDE
void release() BSLS_KEYWORD_OVERRIDE
Definition bdlma_sequentialallocator.h:618
bsls::Types::size_type truncate(void *address, bsls::Types::size_type originalSize, bsls::Types::size_type newSize)
Definition bdlma_sequentialallocator.h:636
void * allocate(bsls::Types::size_type size) BSLS_KEYWORD_OVERRIDE
Definition bdlma_sequentialallocator.h:601
void * allocateAndExpand(bsls::Types::size_type *size)
Definition bdlma_sequentialallocator.h:607
void reserveCapacity(bsls::Types::size_type numBytes)
Definition bdlma_sequentialallocator.h:624
void deallocate(void *address) BSLS_KEYWORD_OVERRIDE
Definition bdlma_sequentialallocator.h:613
virtual void rewind()
Definition bdlma_sequentialallocator.h:630
Definition bdlma_sequentialpool.h:378
void reserveCapacity(bsls::Types::size_type numBytes)
void * allocate(bsls::Types::size_type size)
Definition bdlma_sequentialpool.h:756
bsls::Types::size_type truncate(void *address, bsls::Types::size_type originalSize, bsls::Types::size_type newSize)
Definition bdlma_sequentialpool.h:800
void * allocateAndExpand(bsls::Types::size_type *size)
Definition bdlma_sequentialpool.h:767
Definition bslma_allocator.h:457
std::size_t size_type
Definition bslma_allocator.h:499
#define BSLS_ASSERT(X)
Definition bsls_assert.h:1804
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
#define BSLS_KEYWORD_OVERRIDE
Definition bsls_keyword.h:653
Definition bdlma_alignedallocator.h:276
Definition balxml_encoderoptions.h:68
Definition bdlt_iso8601util.h:691
Strategy
Types of alignment strategy.
Definition bsls_alignment.h:239
Strategy
Definition bsls_blockgrowth.h:169
std::size_t size_type
Definition bsls_types.h:124