19 #if !defined(ARENABLOCK_INCLUDE_GUARD_1357924680)
20 #define ARENABLOCK_INCLUDE_GUARD_1357924680
29 XALAN_CPP_NAMESPACE_BEGIN
32 template<
class ObjectType,
33 #if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS)
36 class SizeType =
size_t>
56 MemoryManager& theManager,
74 MemoryManager& theManager,
115 commitAllocation(ObjectType* )
117 commitAllocation(ObjectType* theBlock)
155 XALAN_CPP_NAMESPACE_END
159 #endif // !defined(ARENABLOCK_INCLUDE_GUARD_1357924680)
ArenaBlockBase< ObjectType, SizeType > BaseClassType
ArenaBlock< ObjectType, SizeType > ThisType
ObjectType * m_objectBlock
ObjectType * allocateBlock()
ArenaBlock(MemoryManager &theManager, size_type theBlockSize)
void XalanDestroy(Type &theArg)
BaseClassType::size_type size_type
static ThisType * create(MemoryManager &theManager, size_type theBlockSize)
bool isInBorders(const ObjectType *theObject, size_type rightBoundary) const
const size_type m_blockSize
Type * XalanConstruct(MemoryManager &theMemoryManager, Type *&theInstance)
assert(this->m_objectCount< this->m_blockSize)
bool ownsObject(const ObjectType *theObject) const