![]() |
ATLAS Offline Software
|
#include <ProxyContainer.h>
Classes | |
| struct | diff_type_helper |
Public Types | |
| using | BASE = ProxyIteratorBase<Container,T_Derived, ElementProxy> |
| using | value_type = decltype( std::declval<BASE>().operator *()) |
| using | difference_type |
| using | element_index_t = typename ElementProxy::index_t |
| using | index_t |
| using | ContainerNonConst |
| using | ContainerPtr |
Public Member Functions | |
| ProxyIterator () | |
| ProxyIterator & | operator++ () |
| ProxyIterator & | operator+= (std::size_t offset) |
| ProxyIterator | operator++ (int) |
| 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 |
| 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 |
Definition at line 290 of file ProxyContainer.h.
| using Utils::ProxyIterator< Container, T_Derived, ElementProxy >::BASE = ProxyIteratorBase<Container,T_Derived, ElementProxy> |
Definition at line 292 of file ProxyContainer.h.
|
inherited |
Definition at line 116 of file ProxyContainer.h.
|
inherited |
Definition at line 117 of file ProxyContainer.h.
| using Utils::ProxyIterator< Container, T_Derived, ElementProxy >::difference_type |
Definition at line 344 of file ProxyContainer.h.
|
inherited |
Definition at line 213 of file ProxyContainer.h.
|
inherited |
Definition at line 115 of file ProxyContainer.h.
| using Utils::ProxyIterator< Container, T_Derived, ElementProxy >::value_type = decltype( std::declval<BASE>().operator *()) |
Definition at line 322 of file ProxyContainer.h.
|
inline |
Definition at line 296 of file ProxyContainer.h.
|
inlineinherited |
Definition at line 152 of file ProxyContainer.h.
|
inlineprotectedinherited |
Definition at line 159 of file ProxyContainer.h.
|
inlinestaticinherited |
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.
|
inlinestaticinherited |
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.
|
inlinestaticinherited |
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 315 of file ProxyContainer.h.
|
inlineinherited |
Definition at line 228 of file ProxyContainer.h.
|
inline |
Definition at line 298 of file ProxyContainer.h.
|
inline |
Definition at line 308 of file ProxyContainer.h.
|
inline |
Definition at line 302 of file ProxyContainer.h.
|
inlineinherited |
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.