215#ifndef ATLALLOCATORS_ARENA_H
216#define ATLALLOCATORS_ARENA_H
Common base class for arena allocator classes. See Arena.h for an overview of the arena-based memory ...
Provide an interface for creating an arena Allocator. See Arena.h for an overview of the arena-based ...
Part of Arena dealing with the list of allocators. Broken out from Arena to avoid a dependency loop w...
Part of Arena dealing with the list of allocators.
ArenaBase(const std::string &name="")
Constructor.
const std::string & name() const
Return this Arena's name.
ArenaBase * m_prev
The previously-current arena.
ArenaHeader * m_header
The ArenaHeader for the stack we're managing.
Push(Arena &a)
Constructor.
ArenaHeader * header()
Return the ArenaHeader with which this Arena is associated.
ArenaBase * makeCurrent()
Make this Arena the current one for its ArenaHeader.
Arena(const std::string &name, ArenaHeader *header=0)
Constructor.
ArenaHeader * m_header
The ArenaHeader with which we're associated.