![]() |
ATLAS Offline Software
|
Base class of iterators to iterate over the elements of this proxy container. More...
#include <ProxyContainer.h>
Public Types | |
| using | element_index_t = typename ElementProxy::index_t |
| using | BASE = ElementProxyBase<Container, element_index_t> |
| using | index_t |
| using | ContainerNonConst |
| using | ContainerPtr |
Public Member Functions | |
| ProxyIteratorBase & | operator++ () |
| ProxyIteratorBase & | operator+= (std::size_t offset) |
| auto | operator* () |
| template<class OtherContainer> requires (std::is_same_v<typename BASE::ContainerNonConst, typename ProxyIteratorBase<OtherContainer, T_Derived, ElementProxy>::ContainerNonConst>) | |
| bool | operator== (const ProxyIteratorBase< OtherContainer, T_Derived, ElementProxy > &other) const |
| index_t | index () const |
| const ContainerNonConst & | container () const |
Static Public Member Functions | |
| static auto | createElementProxy (const BASE::ContainerNonConst *ptr, element_index_t &&element_index) |
| Create a proxy for one element of the "container" this proxy represents (read-only access). | |
| static auto | createElementProxy (const BASE::ContainerNonConst *ptr, element_index_t &&element_index) |
| Create a proxy for one element of the "container" this proxy represents (read-only access). | |
| static auto | createElementProxy (BASE::ContainerNonConst *ptr, element_index_t &&element_index) |
| Create a proxy for one element of the "container" this proxy represents (read-write access). | |
Static Public Attributes | |
| static constexpr bool | isConst |
Protected Member Functions | |
| const ContainerNonConst * | cptr () const |
Protected Attributes | |
| ContainerPtr | m_container |
| index_t | m_index |
Base class of iterators to iterate over the elements of this proxy container.
Definition at line 212 of file ProxyContainer.h.
| using Utils::ProxyIteratorBase< Container, T_Derived, ElementProxy >::BASE = ElementProxyBase<Container, element_index_t> |
Definition at line 214 of file ProxyContainer.h.
|
inherited |
Definition at line 116 of file ProxyContainer.h.
|
inherited |
Definition at line 117 of file ProxyContainer.h.
| using Utils::ProxyIteratorBase< Container, T_Derived, ElementProxy >::element_index_t = typename ElementProxy::index_t |
Definition at line 213 of file ProxyContainer.h.
|
inherited |
Definition at line 115 of file ProxyContainer.h.
|
inlineinherited |
Definition at line 152 of file ProxyContainer.h.
|
inlineprotectedinherited |
Definition at line 159 of file ProxyContainer.h.
|
inlinestatic |
Create a proxy for one element of the "container" this proxy represents (read-write access).
| ptr | A pointer to the container which contains the element data |
| element_index | An index which identifies the element in the given container. |
Definition at line 274 of file ProxyContainer.h.
|
inlinestatic |
Create a proxy for one element of the "container" this proxy represents (read-only access).
| ptr | A pointer to the container which contains the element data |
| element_index | An index which identifies the element in the given container. |
Definition at line 252 of file ProxyContainer.h.
|
inlinestatic |
Create a proxy for one element of the "container" this proxy represents (read-only access).
| ptr | A pointer to the container which contains the element data |
| element_index | An index which identifies the element in the given container. |
Definition at line 264 of file ProxyContainer.h.
|
inlineinherited |
| Return | the "index" which identifies the element this proxy refers to within the container returned by container. This may or may not be the index which was used to create this proxy from the parent proxy i.e. in auto child_proxy=parent_proxy[index] it may be that child_proxy.index() != index. To recover "index" use auto index_recover = ParentProxy::getOriginalElementIndex(child_proxy); |
Definition at line 148 of file ProxyContainer.h.
|
inline |
Definition at line 228 of file ProxyContainer.h.
|
inline |
Definition at line 218 of file ProxyContainer.h.
|
inline |
Definition at line 222 of file ProxyContainer.h.
|
inline |
Definition at line 237 of file ProxyContainer.h.
|
staticconstexprinherited |
Definition at line 114 of file ProxyContainer.h.
|
protectedinherited |
Definition at line 162 of file ProxyContainer.h.
|
protectedinherited |
Definition at line 163 of file ProxyContainer.h.