ATLAS Offline Software
Loading...
Searching...
No Matches
DataPool< VALUE, CLEAR >::const_iterator Class Reference

#include <DataPool.h>

Inheritance diagram for DataPool< VALUE, CLEAR >::const_iterator:
Collaboration diagram for DataPool< VALUE, CLEAR >::const_iterator:

Public Member Functions

 const_iterator (const typename handle_t::const_iterator &it)
 const_iterator (const iterator &it)

Private Member Functions

const_iterator::reference dereference () const

Friends

class boost::iterator_core_access

Detailed Description

template<typename VALUE, typename CLEAR = SG::DataPoolNullClear<VALUE>>
class DataPool< VALUE, CLEAR >::const_iterator

Definition at line 97 of file DataPool.h.

Constructor & Destructor Documentation

◆ const_iterator() [1/2]

template<typename VALUE, typename CLEAR = SG::DataPoolNullClear<VALUE>>
DataPool< VALUE, CLEAR >::const_iterator::const_iterator ( const typename handle_t::const_iterator & it)
inline

Definition at line 106 of file DataPool.h.

108 {
109 }
a typed memory pool that saves time spent allocation small object.
Definition DataPool.h:63

◆ const_iterator() [2/2]

template<typename VALUE, typename CLEAR = SG::DataPoolNullClear<VALUE>>
DataPool< VALUE, CLEAR >::const_iterator::const_iterator ( const iterator & it)
inline

Definition at line 111 of file DataPool.h.

112 : const_iterator::iterator_adaptor_ (it.base_reference())
113 {
114 }

Member Function Documentation

◆ dereference()

template<typename VALUE, typename CLEAR = SG::DataPoolNullClear<VALUE>>
const_iterator::reference DataPool< VALUE, CLEAR >::const_iterator::dereference ( ) const
inlineprivate

Definition at line 119 of file DataPool.h.

120 { return &*this->base_reference(); }

◆ boost::iterator_core_access

template<typename VALUE, typename CLEAR = SG::DataPoolNullClear<VALUE>>
friend class boost::iterator_core_access
friend

Definition at line 117 of file DataPool.h.


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