Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Classes | Public Types | Public Member Functions | List of all members
XalanDiagnosticMemoryManager Class Reference
Inheritance diagram for XalanDiagnosticMemoryManager:

Classes

struct  Data
 
class  LockException
 

Public Types

enum  { defaultBytesToDump = 20u }
 
typedef unsigned int int_type
 
typedef std::ostream StreamType
 
typedef size_t size_type
 
typedef XalanMap< void *, DataMapType
 
typedef MapType::const_iterator const_iterator
 

Public Member Functions

 XalanDiagnosticMemoryManager (MemoryManager &theMemoryManager, bool fAssertErrors=false, StreamType *theStream=0)
 
virtual ~XalanDiagnosticMemoryManager ()
 
virtual void * allocate (size_type size)
 
virtual void deallocate (void *pointer)
 
bool getAssertErrors () const
 
void setAssertErrors (bool fFlag)
 
size_type getHighWaterMark () const
 
size_type getAllocated () const
 
size_type getAllocations () const
 
const_iterator getAllocationsIterator () const
 
void lock ()
 
void unlock ()
 
void dumpStatistics (StreamType *theStream=0, size_type theBytesToDump=defaultBytesToDump)
 

Member Typedef Documentation

Member Enumeration Documentation

anonymous enum
Enumerator
defaultBytesToDump 

Constructor & Destructor Documentation

XalanDiagnosticMemoryManager::XalanDiagnosticMemoryManager ( MemoryManager &  theMemoryManager,
bool  fAssertErrors = false,
StreamType theStream = 0 
)
virtual XalanDiagnosticMemoryManager::~XalanDiagnosticMemoryManager ( )
virtual

Member Function Documentation

virtual void* XalanDiagnosticMemoryManager::allocate ( size_type  size)
virtual
virtual void XalanDiagnosticMemoryManager::deallocate ( void *  pointer)
virtual
void XalanDiagnosticMemoryManager::dumpStatistics ( StreamType theStream = 0,
size_type  theBytesToDump = defaultBytesToDump 
)
size_type XalanDiagnosticMemoryManager::getAllocated ( ) const
size_type XalanDiagnosticMemoryManager::getAllocations ( ) const
const_iterator XalanDiagnosticMemoryManager::getAllocationsIterator ( ) const
bool XalanDiagnosticMemoryManager::getAssertErrors ( ) const
size_type XalanDiagnosticMemoryManager::getHighWaterMark ( ) const
void XalanDiagnosticMemoryManager::lock ( )
void XalanDiagnosticMemoryManager::setAssertErrors ( bool  fFlag)
void XalanDiagnosticMemoryManager::unlock ( )

The documentation for this class was generated from the following file:

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo