ATLAS Offline Software
Public Member Functions | Private Member Functions | Friends | List of all members
SG::ArenaHandleBaseT< T, ALLOC >::iterator Class Reference

Non-const iterator. More...

#include <ArenaHandleBaseT.h>

Inheritance diagram for SG::ArenaHandleBaseT< T, ALLOC >::iterator:
Collaboration diagram for SG::ArenaHandleBaseT< T, ALLOC >::iterator:

Public Member Functions

 iterator (const typename ALLOC::iterator &it)
 Constructor. More...
 

Private Member Functions

iterator::reference dereference () const
 Dereference the iterator. More...
 

Friends

class const_iterator
 
class boost::iterator_core_access
 

Detailed Description

template<class T, class ALLOC>
class SG::ArenaHandleBaseT< T, ALLOC >::iterator

Non-const iterator.

It iterates over all unallocated blocks in the current Allocator (in unspecified order). It will be at least a forward_iterator.

Note that this is only supported if the underlying Allocator supports it. If it does not, you will not be able to instantiate this type.

This uses boost::iterator_adaptor to handle casting the element pointers to the proper type.

Definition at line 94 of file ArenaHandleBaseT.h.

Constructor & Destructor Documentation

◆ iterator()

template<class T , class ALLOC >
SG::ArenaHandleBaseT< T, ALLOC >::iterator::iterator ( const typename ALLOC::iterator &  it)

Constructor.

Parameters
itThe base iterator.

Member Function Documentation

◆ dereference()

template<class T , class ALLOC >
iterator::reference SG::ArenaHandleBaseT< T, ALLOC >::iterator::dereference ( ) const
private

Dereference the iterator.

Friends And Related Function Documentation

◆ boost::iterator_core_access

template<class T , class ALLOC >
friend class boost::iterator_core_access
friend

Definition at line 115 of file ArenaHandleBaseT.h.

◆ const_iterator

template<class T , class ALLOC >
friend class const_iterator
friend

Definition at line 110 of file ArenaHandleBaseT.h.


The documentation for this class was generated from the following file: