Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
ReusableArenaBlock< ObjectType, SizeType > Class Template Reference
Inheritance diagram for ReusableArenaBlock< ObjectType, SizeType >:
ArenaBlockBase< ObjectType, SizeType >

Classes

struct  NextBlock
 

Public Types

typedef ArenaBlockBase
< ObjectType, SizeType > 
BaseClassType
 
typedef BaseClassType::size_type size_type
 
typedef ReusableArenaBlock
< ObjectType, SizeType > 
ThisType
 
- Public Types inherited from ArenaBlockBase< ObjectType, SizeType >
typedef ArenaBlockBase
< ObjectType, SizeType > 
ThisType
 
typedef XalanAllocator
< ObjectType > 
AllocatorType
 
typedef SizeType size_type
 

Public Member Functions

 ReusableArenaBlock (MemoryManagerType &theManager, size_type theBlockSize)
 
 ~ReusableArenaBlock ()
 
ObjectType * allocateBlock ()
 
void commitAllocation (ObjectType *)
 
void destroyObject (ObjectType *theObject)
 
bool ownsObject (const ObjectType *theObject) const
 
- Public Member Functions inherited from ArenaBlockBase< ObjectType, SizeType >
MemoryManagerTypegetMemoryManager ()
 
bool blockAvailable () const
 
bool isEmpty () const
 
size_type getCountAllocated () const
 
size_type getBlockSize () const
 
bool ownsBlock (const ObjectType *theObject) const
 

Static Public Member Functions

static ThisTypecreate (MemoryManagerType &theManager, size_type theBlockSize)
 

Protected Member Functions

bool shouldDestroyBlock (const ObjectType *theObject) const
 
bool isOccupiedBlock (const NextBlock *block) const
 
- Protected Member Functions inherited from ArenaBlockBase< ObjectType, SizeType >
 ArenaBlockBase (MemoryManagerType &theManager, size_type theBlockSize)
 
 ~ArenaBlockBase ()
 
bool isInBorders (const ObjectType *theObject, size_type rightBoundary) const
 
size_type getBlockOffset (const ObjectType *theObject) const
 
ObjectType * getBlockAddress (size_type theOffset) const
 

Additional Inherited Members

- Protected Attributes inherited from ArenaBlockBase< ObjectType, SizeType >
AllocatorType m_allocator
 
size_type m_objectCount
 
const size_type m_blockSize
 
ObjectType * m_objectBlock
 

Member Typedef Documentation

template<class ObjectType, class SizeType = unsigned short>
typedef ArenaBlockBase<ObjectType, SizeType> ReusableArenaBlock< ObjectType, SizeType >::BaseClassType
template<class ObjectType, class SizeType = unsigned short>
typedef BaseClassType::size_type ReusableArenaBlock< ObjectType, SizeType >::size_type
template<class ObjectType, class SizeType = unsigned short>
typedef ReusableArenaBlock<ObjectType, SizeType> ReusableArenaBlock< ObjectType, SizeType >::ThisType

Constructor & Destructor Documentation

template<class ObjectType, class SizeType = unsigned short>
ReusableArenaBlock< ObjectType, SizeType >::ReusableArenaBlock ( MemoryManagerType theManager,
size_type  theBlockSize 
)
template<class ObjectType, class SizeType = unsigned short>
ReusableArenaBlock< ObjectType, SizeType >::~ReusableArenaBlock ( )

Member Function Documentation

template<class ObjectType, class SizeType = unsigned short>
ObjectType* ReusableArenaBlock< ObjectType, SizeType >::allocateBlock ( )
template<class ObjectType, class SizeType = unsigned short>
void ReusableArenaBlock< ObjectType, SizeType >::commitAllocation ( ObjectType *  )
template<class ObjectType, class SizeType = unsigned short>
static ThisType* ReusableArenaBlock< ObjectType, SizeType >::create ( MemoryManagerType theManager,
size_type  theBlockSize 
)
static
template<class ObjectType, class SizeType = unsigned short>
void ReusableArenaBlock< ObjectType, SizeType >::destroyObject ( ObjectType *  theObject)
template<class ObjectType, class SizeType = unsigned short>
bool ReusableArenaBlock< ObjectType, SizeType >::isOccupiedBlock ( const NextBlock block) const
protected
template<class ObjectType, class SizeType = unsigned short>
bool ReusableArenaBlock< ObjectType, SizeType >::ownsObject ( const ObjectType *  theObject) const
template<class ObjectType, class SizeType = unsigned short>
bool ReusableArenaBlock< ObjectType, SizeType >::shouldDestroyBlock ( const ObjectType *  theObject) const
protected

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