19 #if !defined(ARENAALLOCATOR_INCLUDE_GUARD_1357924680) 20 #define ARENAALLOCATOR_INCLUDE_GUARD_1357924680 37 XALAN_CPP_NAMESPACE_BEGIN
41 template<
class ObjectType,
42 #if defined(XALAN_NO_DEFAULT_TEMPLATE_ARGUMENTS) 63 MemoryManager& theManager,
64 size_type theBlockSize) :
138 ArenaBlockType::create(
171 bool fResult =
false;
176 const const_reverse_iterator theEnd = this->
m_blocks.
rend();
184 if ((*i)->ownsObject(theObject) ==
true)
202 XALAN_STD_QUALIFIER for_each(
231 XALAN_CPP_NAMESPACE_END
235 #endif // !defined(ARENAALLOCATOR_INCLUDE_GUARD_1357924680) const_reverse_iterator_ const_reverse_iterator
ArenaAllocator(MemoryManager &theManager, size_type theBlockSize)
MemoryManager & getMemoryManager()
const MemoryManager & getMemoryManager() const
size_type getBlockSize() const
ArenaBlockListType m_blocks
Functor to delete objects, used in STL iteration algorithms.
XALAN_CPP_NAMESPACE_BEGIN typedef size_t size_type
XalanList< ArenaBlockType * > ArenaBlockListType
void push_back(const value_type &data)
virtual ~ArenaAllocator()
virtual bool ownsObject(const ObjectType *theObject) const
ArenaAllocator< ObjectType, ArenaBlockType > ThisType
MemoryManager & getMemoryManager()
virtual void commitAllocation(ObjectType *theObject)
virtual ObjectType * allocateBlock()
reverse_iterator rbegin()
size_type getBlockCount() const
void setBlockSize(size_type theSize)
ArenaBlockType::size_type size_type