![]() |
ATLAS Offline Software
|
Base class of a container proxy. More...
#include <ProxyContainer.h>
Classes | |
| struct | ContainerPtrBase |
| struct | ElementProxyBase |
Public Types | |
| using | element_index_t = ElementIndexType |
| using | ContainerPtr = ContainerPtrBase<AccessPolicy::ReadWrite> |
| using | ConstContainerPtr = ContainerPtrBase<AccessPolicy::ReadOnly> |
Public Member Functions | |
| ContainerProxyBase (const Container *container) | |
| ContainerProxyBase (Container *container) | |
| const Container & | container () const |
| return a const pointer of the container which contains the elements this proxy refers to. | |
| Container & | container () |
| Return a non const pointer of the container which contains the elements this proxy refers to provided the access policy permits read-write access. | |
Public Attributes | |
| ContainerPtrBase< accessPolicy > | m_container |
Base class of a container proxy.
| Container | the container type this proxy refers to e.g. CellData |
| ElementIndexType | the index type to refer to an element of the container proxy e.g. unsigned int, but it could be an object with associated data e.g. an index to the parent element or on index offset for its child elements The base class provides an access controlled pointer to the container this proxy is referring to. |
Definition at line 98 of file ProxyContainer.h.
| using Utils::ContainerProxyBase< Container, ElementIndexType, accessPolicy >::ConstContainerPtr = ContainerPtrBase<AccessPolicy::ReadOnly> |
Definition at line 181 of file ProxyContainer.h.
| using Utils::ContainerProxyBase< Container, ElementIndexType, accessPolicy >::ContainerPtr = ContainerPtrBase<AccessPolicy::ReadWrite> |
Definition at line 180 of file ProxyContainer.h.
| using Utils::ContainerProxyBase< Container, ElementIndexType, accessPolicy >::element_index_t = ElementIndexType |
Definition at line 99 of file ProxyContainer.h.
|
inline |
Definition at line 184 of file ProxyContainer.h.
|
inline |
Definition at line 185 of file ProxyContainer.h.
|
inline |
Return a non const pointer of the container which contains the elements this proxy refers to provided the access policy permits read-write access.
Definition at line 244 of file ProxyContainer.h.
|
inline |
return a const pointer of the container which contains the elements this proxy refers to.
Definition at line 241 of file ProxyContainer.h.
| ContainerPtrBase<accessPolicy> Utils::ContainerProxyBase< Container, ElementIndexType, accessPolicy >::m_container |
Definition at line 182 of file ProxyContainer.h.