![]() |
ATLAS Offline Software
|
Helper class to represent the top level proxy which provides per module proxy objects which provide the hit element proxies. More...
#include <PhaseIIInDetRawDataContainer.h>
Public Types | |
| using | value_type |
| using | index_t |
| using | element_index_t |
| using | ElementProxyBase |
| using | iterator |
| using | const_iterator |
| using | ContainerPtr |
| using | ConstContainerPtr |
Public Member Functions | |
| const index_t & | index () const |
| The index of this proxy container which identifies this proxy container within the parent container. | |
| element_index_t | computeChildElementIndex (const ContainerProxyAdapter< T_RawDataContainerCollection, T_RawDataProxy, AccessPolicy::ReadOnly > &element_proxy) const |
| Compute the "index" of the given element which can be used to recover this element via the access operator []. | |
| iterator | begin () |
| Get the begin iterator of this proxy container for read write element access provided the access policy permits it. | |
| iterator | end () |
| Get the end iterator of this proxy container for read write element access provided the access policy permits it. | |
| auto | operator[] (std::size_t element_count) const |
| Element access operator (read-only access) | |
| auto | front () const |
| Get a proxy for the first child element (read-only) The operation is undefined if there are no child elements. | |
| auto | back () const |
| Get a proxy for the last child element (read-only). | |
| std::size_t | size () const |
| Default implementation to compute the number of elements this proxy container contains/refers to The default implementation simply computes the differences between the end index and begin index, thus the IndexType has to implement the subtraction operator. | |
| std::size_t | empty () const |
| Default implementation to test whether the container does not contain elements. | |
| const T_RawDataContainerCollection & | container () const |
| return a const pointer of the container which contains the elements this proxy refers to. | |
Static Public Member Functions | |
| static auto | createElementProxy (const T_RawDataContainerCollection *ptr, element_index_t &&element_index) |
| Create a proxy for one element of the "container" this proxy represents (read-only access). | |
| static element_index_t | beginIndex (const T_RawDataContainerCollection *container, const index_t &this_index) |
| Default implementation to get the index of the first element of this proxy container For a full range container proxy e.g. | |
| static element_index_t | endIndex (const T_RawDataContainerCollection *container, const index_t &this_index) |
| Default implementation to get the index after the last element of this proxy container For a full range container proxy e.g. | |
| static element_index_t | nextElementIndex (const T_RawDataContainerCollection *container, element_index_t &&element_index) |
| static element_index_t | elementIndexAt (const T_RawDataContainerCollection *container, const index_t &this_index, std::size_t element_counter) |
| Default implementation to get the full index of a certain element. | |
Public Attributes | |
| index_t | m_index |
| ContainerPtrBase< accessPolicy > | m_container |
Private Types | |
| using | BASE |
Helper class to represent the top level proxy which provides per module proxy objects which provide the hit element proxies.
Definition at line 475 of file PhaseIIInDetRawDataContainer.h.
|
private |
Definition at line 480 of file PhaseIIInDetRawDataContainer.h.
|
inherited |
Definition at line 364 of file ProxyContainer.h.
|
inherited |
Definition at line 181 of file ProxyContainer.h.
|
inherited |
Definition at line 180 of file ProxyContainer.h.
|
inherited |
Definition at line 270 of file ProxyContainer.h.
|
inherited |
Definition at line 332 of file ProxyContainer.h.
|
inherited |
Definition at line 269 of file ProxyContainer.h.
|
inherited |
Definition at line 362 of file ProxyContainer.h.
|
inherited |
Definition at line 268 of file ProxyContainer.h.
|
inlineinherited |
Get a proxy for the last child element (read-only).
The operation is undefined if there are no child elements.
Definition at line 434 of file ProxyContainer.h.
|
inlineinherited |
Get the begin iterator of this proxy container for read write element access provided the access policy permits it.
Definition at line 391 of file ProxyContainer.h.
|
inlinestaticinherited |
Default implementation to get the index of the first element of this proxy container For a full range container proxy e.g.
the root proxy container. this requires that the first element this proxy container refers to is identified by a simple integer index of 0u
Definition at line 451 of file ProxyContainer.h.
|
inlineinherited |
Compute the "index" of the given element which can be used to recover this element via the access operator [].
Definition at line 374 of file ProxyContainer.h.
|
inlineinherited |
return a const pointer of the container which contains the elements this proxy refers to.
Definition at line 241 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 308 of file ProxyContainer.h.
|
inlinestaticinherited |
Default implementation to get the full index of a certain element.
| container | The container which contains the element data, |
| this_index | The index of this proxy. |
| element_counter | the number of iterations from the first element to reach this element. |
Definition at line 479 of file ProxyContainer.h.
|
inlineinherited |
Default implementation to test whether the container does not contain elements.
The default implementation simply tests whether the begin and end index are identical.
Definition at line 497 of file ProxyContainer.h.
|
inlineinherited |
Get the end iterator of this proxy container for read write element access provided the access policy permits it.
Definition at line 395 of file ProxyContainer.h.
|
inlinestaticinherited |
Default implementation to get the index after the last element of this proxy container For a full range container proxy e.g.
the root proxy container. this requires that the last element this proxy container refers to is identified by a simple integer index which is provided by the size method of the container this proxy container refers to.
Definition at line 460 of file ProxyContainer.h.
|
inlineinherited |
Get a proxy for the first child element (read-only) The operation is undefined if there are no child elements.
Definition at line 423 of file ProxyContainer.h.
|
inlineinherited |
The index of this proxy container which identifies this proxy container within the parent container.
For the top-level proxy container the index will be the empty RootNodeIndex struct. The index is not necessarily an index that can be used as argument for the element access operator of the parent proxy to recover this proxy i.e. parent_proxy[index] is not necessarily this proxy. For the latter use computeChildElementIndex.
Definition at line 371 of file ProxyContainer.h.
|
inlinestaticinherited |
Definition at line 468 of file ProxyContainer.h.
|
inlineinherited |
Element access operator (read-only access)
| element_count | is the "child_index", a consecutive number which is 0 for the first element and size()-1 for the last element |
Definition at line 411 of file ProxyContainer.h.
|
inlineinherited |
Default implementation to compute the number of elements this proxy container contains/refers to The default implementation simply computes the differences between the end index and begin index, thus the IndexType has to implement the subtraction operator.
Definition at line 487 of file ProxyContainer.h.
|
inherited |
Definition at line 182 of file ProxyContainer.h.
|
inherited |
Definition at line 271 of file ProxyContainer.h.