|
ATLAS Offline Software
|
Go to the documentation of this file.
19 #ifndef ATLALLOCATORS_ARENAHANDLEBASET_H
20 #define ATLALLOCATORS_ARENAHANDLEBASET_H
24 #include "boost/iterator/iterator_adaptor.hpp"
36 template <
class T,
class ALLOC>
65 const EventContext& ctx,
95 :
public boost::iterator_adaptor<
97 typename ALLOC::iterator,
99 boost::forward_traversal_tag>
139 :
public boost::iterator_adaptor<
141 typename ALLOC::const_iterator,
143 boost::forward_traversal_tag>
210 const_iterator
end()
const;
246 #endif // not ATLALLOCATORS_ARENAHANDLEBASET_H
JetConstituentVector::iterator iterator
iterator::reference dereference() const
Dereference the iterator.
iterator end()
Ending iterator.
const_iterator begin() const
Starting const iterator.
const_iterator end() const
Ending const iterator.
T * pointer
A pointer to the element type we're allocating.
void free(pointer p)
Free an element.
iterator(const typename ALLOC::iterator &it)
Constructor.
ArenaHandleBaseT(ArenaBase *arena, size_t index)
Constructor, passing in an index, for a specific Arena.
Part of Arena dealing with the list of allocators.
iterator begin()
Starting iterator.
const_iterator::reference dereference() const
Dereference the iterator.
friend class boost::iterator_core_access
const_iterator(const iterator &it)
Constructor from a non-const iterator.
Base class for Handle classes, containing parts that depend only on the Allocator.
Base class for Handle classes, containing parts that depend only on the Allocator....
friend class boost::iterator_core_access
ArenaHandleBaseT(ArenaHeader *header, size_t index)
Constructor, passing in an index.
ArenaHandleBaseT(ArenaHeader *header, const EventContext &ctx, size_t index)
Constructor, passing in an index, for a specific event slot.
void resetTo(pointer p)
Reset pool back to a previous state.
const_iterator(const typename ALLOC::const_iterator &it)
Constructor.
Base class for Handle classes, containing parts that are independent of how the Allocator gets create...
ArenaHandleBaseAllocT< ALLOC > Base
Shorthand for our base class.