![]() |
ATLAS Offline Software
|
#include <ProxyContainer.h>
Public Types | |
| using | index_t = ElementIndexType |
| using | ContainerNonConst = std::remove_cvref_t<Container> |
| using | ContainerPtr = std::conditional<isConst , const ContainerNonConst *, ContainerNonConst *>::type |
Public Member Functions | |
| ElementProxyBase (const ContainerNonConst *container, const index_t &index) | |
| ElementProxyBase (ContainerNonConst *container, const index_t &index) | |
| ElementProxyBase (const ContainerNonConst *container, index_t &&index) | |
| ElementProxyBase (ContainerNonConst *container, index_t &&index) | |
| template<class OtherContainer> requires (std::is_same_v<ContainerNonConst, typename OtherContainer::ContainerNonConst> && (!OtherContainer::isConst || isConst) ) | |
| ElementProxyBase (const ElementProxyBase< OtherContainer, ElementIndexType > &other) | |
| index_t | index () const |
| const ContainerNonConst & | container () const |
| ContainerNonConst & | container () |
Static Public Attributes | |
| static constexpr bool | isConst = std::is_const_v<Container> |
Protected Member Functions | |
| const ContainerNonConst * | cptr () const |
Protected Attributes | |
| ContainerPtr | m_container |
| index_t | m_index |
Definition at line 113 of file ProxyContainer.h.
| using Utils::ElementProxyBase< Container, ElementIndexType >::ContainerNonConst = std::remove_cvref_t<Container> |
Definition at line 116 of file ProxyContainer.h.
| using Utils::ElementProxyBase< Container, ElementIndexType >::ContainerPtr = std::conditional<isConst , const ContainerNonConst *, ContainerNonConst *>::type |
Definition at line 117 of file ProxyContainer.h.
| using Utils::ElementProxyBase< Container, ElementIndexType >::index_t = ElementIndexType |
Definition at line 115 of file ProxyContainer.h.
|
inline |
Definition at line 120 of file ProxyContainer.h.
|
inline |
Definition at line 124 of file ProxyContainer.h.
|
inline |
Definition at line 127 of file ProxyContainer.h.
|
inline |
Definition at line 131 of file ProxyContainer.h.
|
inline |
Definition at line 135 of file ProxyContainer.h.
|
inline |
Definition at line 156 of file ProxyContainer.h.
|
inline |
Definition at line 152 of file ProxyContainer.h.
|
inlineprotected |
Definition at line 159 of file ProxyContainer.h.
|
inline |
| 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.
|
staticconstexpr |
Definition at line 114 of file ProxyContainer.h.
|
protected |
Definition at line 162 of file ProxyContainer.h.
|
protected |
Definition at line 163 of file ProxyContainer.h.