18#if !defined(XALAN_DIAGNOSTICMEMORYMANAGER_HEADER_GUARD_1357924680)
19#define XALAN_DIAGNOSTICMEMORYMANAGER_HEADER_GUARD_1357924680
65 MemoryManager& theMemoryManager,
66 bool fAssertErrors =
false,
78 virtual MemoryManager*
84 return m_assertErrors;
90 m_assertErrors = fFlag;
98 return m_highWaterMark;
105 return m_currentAllocated;
112 return m_allocations.size();
127 m_sequence(theSequence)
143 return m_allocations.begin();
160 defaultBytesToDump = 20u
166 size_type theBytesToDump = defaultBytesToDump);
175 MemoryManager& m_memoryManager;
#define XALAN_HARNESS_EXPORT
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
void dumpStatistics(StreamType *theStream=0, size_type theBytesToDump=defaultBytesToDump)
bool getAssertErrors() const
XalanDiagnosticMemoryManager(MemoryManager &theMemoryManager, bool fAssertErrors=false, StreamType *theStream=0)
virtual void * allocate(size_type size)
size_type getAllocated() const
virtual ~XalanDiagnosticMemoryManager()
void setAssertErrors(bool fFlag)
size_type getHighWaterMark() const
XalanMap< void *, Data > MapType
size_type getAllocations() const
const_iterator getAllocationsIterator() const
virtual MemoryManager * getExceptionMemoryManager()
virtual void deallocate(void *pointer)
MapType::const_iterator const_iterator
Xalan implementation of a hashtable.
Data(size_type theSize, size_type theSequence)