Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef ATHCONTAINERS_TOOLS_ELEMENTPROXY_H
14 #define ATHCONTAINERS_TOOLS_ELEMENTPROXY_H
19 #include <RootMetaSelection.h>
23 namespace ROOT {
namespace Meta {
namespace Selection {
95 template <
bool = true>
118 operator typename DVL::value_type
const()
const;
159 namespace ROOT {
namespace Meta {
namespace Selection {
163 template <
class DVL>
class ElementProxy :
public SelectNoInstance
167 ROOT::Meta::Selection::MemberAttributes< kTransient >
m_proxied;
168 ROOT::Meta::Selection::MemberAttributes< kTransient >
m_container;
178 #endif // not ATHCONTAINERS_TOOLS_ELEMENTPROXY_H
DVL * container()
Return the container holding the element that this object proxies.
JetConstituentVector::iterator iterator
const DVL * container() const
Return the container holding the element that this object proxies.
DVL::BaseContainer::iterator m_proxied
Iterator pointing at the proxied element.
ElementProxy(typename DVL::BaseContainer::iterator i, DVL *container)
Constructor.
requires(!DVL::must_own) ElementProxy< DVL > &operator
Assignment operator, from a pointer.
ElementProxy & operator=(const ElementProxy &rhs)
Assignment operator, from an Element proxy.
ElementProxy(const ElementProxy &)=default
Default copy.
DVL * m_container
The container that it references.
Proxy for lvalue access to DataVector/DataList elements.
DVL::value_type const operator->() const
Conversion to a (const) pointer.
Selection rules: declare transient members.