#include <AssociatedData.h>
Public Member Functions | |
assns_node_iterator (base_iterator_t const &from) | |
Constructor from a base iterator (explicitly allowed). More... | |
AssnsNode_t const & | info () const |
Returns the full information the iterator points to. More... | |
AssnsNode_t const & | operator() () const |
Returns the full information the iterator points to. More... | |
Public Member Functions inherited from proxy::details::IteratorWrapperBase< assns_node_iterator< ArtAssnsIter >, ArtAssnsIter, AssnsIterTraits< ArtAssnsIter >::node_t > | |
IteratorWrapperBase ()=default | |
Default constructor: default-constructs the underlying iterator. More... | |
IteratorWrapperBase (data_iterator_t const &from) | |
Copy-from-base constructor. More... | |
iterator & | operator++ () |
Prefix increment operator. More... | |
bool | operator!= (data_iterator_t const &other) const |
Comparison with a data iterator (makes unnecessary to wrap end iterators). More... | |
bool | operator!= (iterator const &other) const |
Comparison with another iterator. More... | |
auto | operator[] (std::size_t index) const -> decltype(auto) |
auto | operator* () const -> decltype(auto) |
Dereference operator; need to be redefined by derived classes. More... | |
auto | operator-> () const -> decltype(auto) |
Dereference operator; need to be redefined by derived classes. More... | |
Static Public Member Functions | |
static AssnsNode_t const & | transform (art_assns_iter_t const &v) |
Private Types | |
using | base_iterator_t = IteratorWrapperBase< assns_node_iterator< ArtAssnsIter >, ArtAssnsIter, typename AssnsIterTraits< ArtAssnsIter >::node_t > |
using | art_assns_iter_t = ArtAssnsIter |
using | traits_t = AssnsIterTraits< art_assns_iter_t > |
using | AssnsNode_t = typename traits_t::node_t |
Type of node for this association iterator. More... | |
using | ArtAssnsNode_t = typename traits_t::art_node_t |
Access to the full association information | |
using | main_t = typename AssnsNode_t::main_t |
using | value_t = typename AssnsNode_t::value_t |
using | data_t = typename AssnsNode_t::data_t |
using | mainptr_t = typename AssnsNode_t::mainptr_t |
using | valueptr_t = typename AssnsNode_t::valueptr_t |
using | dataptr_t = typename AssnsNode_t::dataptr_t |
valueptr_t | valuePtr () const |
Returns the art pointer to the associated value. More... | |
value_t const & | value () const |
Returns the art pointer to the associated value. More... | |
mainptr_t | mainPtr () const |
Returns the art pointer to the main value, key of the association. More... | |
main_t const & | main () const |
Returns the main value, key of the association. More... | |
template<typename ArtNode = ArtAssnsNode_t> | |
std::enable_if_t< hasMetadata< ArtNode >), dataptr_t > | dataPtr () const |
Returns the pointer to the metadata on this association node. More... | |
template<typename ArtNode = ArtAssnsNode_t> | |
std::enable_if_t< hasMetadata< ArtNode >), typename lar::util::assns_traits< ArtNode >::data_t const & > | data () const |
Returns a reference to the metadata on this association node. More... | |
template<typename Node = AssnsNode_t> | |
static constexpr bool | hasMetadata () |
Returns whether this node type supports metadata. More... | |
Modified iterator returning a association node interface. The basic iterator interface is to the associated (right) art pointer.
Definition at line 397 of file AssociatedData.h.
|
private |
Definition at line 410 of file AssociatedData.h.
|
private |
Definition at line 415 of file AssociatedData.h.
|
private |
Type of node for this association iterator.
Definition at line 414 of file AssociatedData.h.
|
private |
Definition at line 408 of file AssociatedData.h.
using proxy::details::assns_node_iterator< ArtAssnsIter >::data_t = typename AssnsNode_t::data_t |
Definition at line 437 of file AssociatedData.h.
using proxy::details::assns_node_iterator< ArtAssnsIter >::dataptr_t = typename AssnsNode_t::dataptr_t |
Definition at line 440 of file AssociatedData.h.
using proxy::details::assns_node_iterator< ArtAssnsIter >::main_t = typename AssnsNode_t::main_t |
Definition at line 435 of file AssociatedData.h.
using proxy::details::assns_node_iterator< ArtAssnsIter >::mainptr_t = typename AssnsNode_t::mainptr_t |
Definition at line 438 of file AssociatedData.h.
|
private |
Definition at line 411 of file AssociatedData.h.
using proxy::details::assns_node_iterator< ArtAssnsIter >::value_t = typename AssnsNode_t::value_t |
Definition at line 436 of file AssociatedData.h.
using proxy::details::assns_node_iterator< ArtAssnsIter >::valueptr_t = typename AssnsNode_t::valueptr_t |
Definition at line 439 of file AssociatedData.h.
|
inline |
Constructor from a base iterator (explicitly allowed).
Definition at line 421 of file AssociatedData.h.
|
inline |
Returns a reference to the metadata on this association node.
Definition at line 471 of file AssociatedData.h.
|
inline |
Returns the pointer to the metadata on this association node.
Definition at line 462 of file AssociatedData.h.
|
inlinestatic |
Returns whether this node type supports metadata.
Definition at line 457 of file AssociatedData.h.
|
inline |
Returns the full information the iterator points to.
Definition at line 425 of file AssociatedData.h.
|
inline |
Returns the main value, key of the association.
Definition at line 452 of file AssociatedData.h.
|
inline |
Returns the art pointer to the main value, key of the association.
Definition at line 449 of file AssociatedData.h.
|
inline |
Returns the full information the iterator points to.
Definition at line 428 of file AssociatedData.h.
|
inlinestatic |
Definition at line 494 of file AssociatedData.h.
|
inline |
Returns the art pointer to the associated value.
Definition at line 446 of file AssociatedData.h.
|
inline |
Returns the art pointer to the associated value.
Definition at line 443 of file AssociatedData.h.