LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
Object presenting a proxy as parallel data for another one. More...
#include "ProxyAsParallelData.h"
Public Types | |
using | tag = Tag |
Tag of this association proxy. More... | |
using | auxiliary_data_t = decltype(util::makeTagged< tag >(std::declval< aux_element_t >())) |
Type returned when accessing auxiliary data. More... | |
Public Member Functions | |
ProxyAsParallelData (AuxProxyColl &&proxy) | |
Steals and wraps collection proxy . More... | |
auto | begin () const -> decltype(auto) |
Returns an iterator pointing to the first data element. More... | |
auto | end () const -> decltype(auto) |
Returns an iterator pointing past the last data element. More... | |
auto | operator[] (std::size_t index) const -> decltype(auto) |
Returns the element with the specified index (no check performed). More... | |
parallel_data_t const * | data () const |
Returns a pointer to the whole data collection. More... | |
parallel_data_t const & | dataRef () const |
Returns a reference to the whole data collection. More... | |
Static Public Member Functions | |
static constexpr bool | hasTag () |
Returns whether this data is labeled with the specified tag. More... | |
Object presenting a proxy as parallel data for another one.
AuxProxyColl | type of the parallel data collection |
Aux | type of the associated object |
Tag | tag this data is labeled with |
This object inherits its interface from proxy::ParallelData
. In addition, it owns the proxy it wraps.
Definition at line 32 of file ProxyAsParallelData.h.
|
inherited |
Type returned when accessing auxiliary data.
Definition at line 101 of file ParallelData.h.
|
inherited |
Tag of this association proxy.
Definition at line 97 of file ParallelData.h.
|
inline |
Steals and wraps collection proxy
.
Definition at line 89 of file ProxyAsParallelData.h.
|
inlineinherited |
Returns an iterator pointing to the first data element.
Definition at line 109 of file ParallelData.h.
References proxy::details::ParallelData< AuxColl, Aux, Tag >::fData.
|
inlineinherited |
Returns a pointer to the whole data collection.
Definition at line 131 of file ParallelData.h.
References proxy::details::ParallelData< AuxColl, Aux, Tag >::fData.
|
inlineinherited |
Returns a reference to the whole data collection.
Definition at line 134 of file ParallelData.h.
References proxy::details::ParallelData< AuxColl, Aux, Tag >::data().
|
inlineinherited |
Returns an iterator pointing past the last data element.
Definition at line 113 of file ParallelData.h.
References proxy::details::ParallelData< AuxColl, Aux, Tag >::fData.
|
inlinestaticinherited |
Returns whether this data is labeled with the specified tag.
Definition at line 128 of file ParallelData.h.
|
inlineinherited |
Returns the element with the specified index (no check performed).
Definition at line 117 of file ParallelData.h.
References proxy::details::ParallelData< AuxColl, Aux, Tag >::getElement().