8#ifndef INCLUDED_BSLMA_TESTALLOCATORMONITOR
9#define INCLUDED_BSLMA_TESTALLOCATORMONITOR
451#include <bslscm_version.h>
575TestAllocatorMonitor::validateArgument(
const TestAllocator *allocator)
589 d_testAllocator_p = testAllocator;
602TestAllocatorMonitor::TestAllocatorMonitor(
const TestAllocator *testAllocator)
603: d_testAllocator_p(testAllocator)
648 return d_initialMax == d_testAllocator_p->
numBlocksMax();
654 return d_testAllocator_p->
numBlocksMax() != d_initialMax;
678 return d_testAllocator_p->
numBlocksMax() - d_initialMax;
689#ifndef BDE_OPENSOURCE_PUBLICATION
Definition bslma_testallocatormonitor.h:471
bool isMaxSame() const
Definition bslma_testallocatormonitor.h:646
bool isMaxUp() const
Definition bslma_testallocatormonitor.h:652
bool isTotalUp() const
Definition bslma_testallocatormonitor.h:664
bool isTotalSame() const
Definition bslma_testallocatormonitor.h:658
bsls::Types::Int64 numBlocksMaxChange() const
Definition bslma_testallocatormonitor.h:676
bsls::Types::Int64 numBlocksInUseChange() const
Definition bslma_testallocatormonitor.h:670
bool isInUseDown() const
Definition bslma_testallocatormonitor.h:628
bool isInUseUp() const
Definition bslma_testallocatormonitor.h:640
~TestAllocatorMonitor()
Destroy this object.
Definition bslma_testallocatormonitor.h:615
bool isInUseSame() const
Definition bslma_testallocatormonitor.h:634
void reset(const bslma::TestAllocator *testAllocator=0)
Definition bslma_testallocatormonitor.h:584
bsls::Types::Int64 numBlocksTotalChange() const
Definition bslma_testallocatormonitor.h:682
Definition bslma_testallocator.h:384
bsls::Types::Int64 numBlocksInUse() const
Definition bslma_testallocator.h:1087
bsls::Types::Int64 numBlocksMax() const
Definition bslma_testallocator.h:1093
bsls::Types::Int64 numBlocksTotal() const
Definition bslma_testallocator.h:1099
bslma::TestAllocatorMonitor bslma_TestAllocatorMonitor
This alias is defined for backward compatibility.
Definition bslma_testallocatormonitor.h:695
#define BSLS_ASSERT_SAFE(X)
Definition bsls_assert.h:1762
#define BSLS_IDENT(str)
Definition bsls_ident.h:195
Definition balxml_encoderoptions.h:68
long long Int64
Definition bsls_types.h:132