LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "FindMany.h"
Public Types | |
using | dataColl_t = std::vector< std::vector< Data const * > > |
using | value_type = typename base::value_type |
using | size_type = typename base::size_type |
using | difference_type = typename base::difference_type |
using | const_reference = typename base::const_reference |
using | reference = typename base::reference |
using | assoc_t = typename base::assoc_t |
using | data_const_pointer = typename dataColl_t::const_pointer |
using | data_const_reference = typename dataColl_t::const_reference |
using | data_reference = typename dataColl_t::reference |
using | data_t = Data |
Public Member Functions | |
template<typename Handle , typename DataContainer , typename Tag > | |
FindMany (Handle const &aCollection, DataContainer const &dc, Tag const &tag, std::enable_if_t< detail::is_handle< Handle >::value > *=nullptr) | |
template<typename ProdAColl , typename DataContainer , typename Tag > | |
FindMany (ProdAColl const &view, DataContainer const &dc, Tag const &tag, std::enable_if_t< std::is_pointer< typename ProdAColl::value_type >::value > *=nullptr) | |
template<typename PtrProdAColl , typename DataContainer , typename Tag > | |
FindMany (PtrProdAColl const &aPtrColl, DataContainer const &dc, Tag const &tag, std::enable_if_t< std::is_same< typename PtrProdAColl::value_type, art::Ptr< typename PtrProdAColl::value_type::value_type > >::value > *=nullptr) | |
template<typename ProdA , typename DataContainer , typename Tag > | |
FindMany (std::initializer_list< Ptr< ProdA > > const &ptrs, DataContainer const &dc, Tag const &tag) | |
data_const_reference | data (size_type i) const |
size_type | get (size_type i, reference item, data_reference data) const |
bool | operator== (FindMany< ProdB, Data > const &other) const |
Private Types | |
using | base = FindMany< ProdB, void > |
Private Attributes | |
dataColl_t | dataCollection_ {} |
Definition at line 139 of file FindMany.h.
using art::FindMany< ProdB, Data >::assoc_t = typename base::assoc_t |
Definition at line 224 of file FindMany.h.
|
private |
Definition at line 216 of file FindMany.h.
using art::FindMany< ProdB, Data >::const_reference = typename base::const_reference |
Definition at line 222 of file FindMany.h.
using art::FindMany< ProdB, Data >::data_const_pointer = typename dataColl_t::const_pointer |
Definition at line 226 of file FindMany.h.
using art::FindMany< ProdB, Data >::data_const_reference = typename dataColl_t::const_reference |
Definition at line 227 of file FindMany.h.
using art::FindMany< ProdB, Data >::data_reference = typename dataColl_t::reference |
Definition at line 228 of file FindMany.h.
using art::FindMany< ProdB, Data >::data_t = Data |
Definition at line 230 of file FindMany.h.
using art::FindMany< ProdB, Data >::dataColl_t = std::vector<std::vector<Data const*> > |
Definition at line 218 of file FindMany.h.
using art::FindMany< ProdB, Data >::difference_type = typename base::difference_type |
Definition at line 221 of file FindMany.h.
using art::FindMany< ProdB, Data >::reference = typename base::reference |
Definition at line 223 of file FindMany.h.
using art::FindMany< ProdB, Data >::size_type = typename base::size_type |
Definition at line 220 of file FindMany.h.
using art::FindMany< ProdB, Data >::value_type = typename base::value_type |
Definition at line 219 of file FindMany.h.
art::FindMany< ProdB, Data >::FindMany | ( | Handle const & | aCollection, |
DataContainer const & | dc, | ||
Tag const & | tag, | ||
std::enable_if_t< detail::is_handle< Handle >::value > * | = nullptr |
||
) |
Definition at line 406 of file FindMany.h.
References art::FindMany< ProdB, void >::bCollection(), art::FindMany< ProdB, Data >::dataCollection_, art::detail::input_tag(), and art::FindMany< ProdB, void >::setStoredException().
Referenced by art::FindMany< ProdB, void >::FindMany(), art::FindMany< ProdB, Data >::FindMany(), and art::FindMany< ProdB, void >::throwIfInvalid().
art::FindMany< ProdB, Data >::FindMany | ( | ProdAColl const & | view, |
DataContainer const & | dc, | ||
Tag const & | tag, | ||
std::enable_if_t< std::is_pointer< typename ProdAColl::value_type >::value > * | = nullptr |
||
) |
Definition at line 419 of file FindMany.h.
References art::FindMany< ProdB, void >::bCollection(), art::FindMany< ProdB, Data >::dataCollection_, art::FindMany< ProdB, Data >::FindMany(), art::detail::input_tag(), and art::FindMany< ProdB, void >::setStoredException().
art::FindMany< ProdB, Data >::FindMany | ( | PtrProdAColl const & | aPtrColl, |
DataContainer const & | dc, | ||
Tag const & | tag, | ||
std::enable_if_t< std::is_same< typename PtrProdAColl::value_type, art::Ptr< typename PtrProdAColl::value_type::value_type > >::value > * | = nullptr |
||
) |
Definition at line 432 of file FindMany.h.
References art::FindMany< ProdB, void >::bCollection(), art::FindMany< ProdB, Data >::dataCollection_, art::FindMany< ProdB, Data >::FindMany(), art::detail::input_tag(), and art::FindMany< ProdB, void >::setStoredException().
art::FindMany< ProdB, Data >::FindMany | ( | std::initializer_list< Ptr< ProdA > > const & | ptrs, |
DataContainer const & | dc, | ||
Tag const & | tag | ||
) |
Definition at line 446 of file FindMany.h.
References art::FindMany< ProdB, void >::bCollection(), art::FindMany< ProdB, Data >::data(), art::FindMany< ProdB, Data >::dataCollection_, art::detail::input_tag(), and art::FindMany< ProdB, void >::setStoredException().
|
inline |
Definition at line 458 of file FindMany.h.
References art::FindMany< ProdB, Data >::dataCollection_, art::FindMany< ProdB, Data >::get(), and art::FindMany< ProdB, void >::throwIfInvalid().
Referenced by art::FindMany< ProdB, Data >::FindMany(), and art::FindMany< ProdB, Data >::get().
|
inline |
Definition at line 469 of file FindMany.h.
References art::FindMany< ProdB, Data >::data(), art::FindMany< ProdB, Data >::dataCollection_, art::FindMany< ProdB, void >::get(), and art::FindMany< ProdB, Data >::operator==().
Referenced by art::FindMany< ProdB, void >::at(), and art::FindMany< ProdB, Data >::data().
|
inline |
Definition at line 482 of file FindMany.h.
References art::FindMany< ProdB, Data >::dataCollection_, and art::FindMany< ProdB, void >::operator==().
Referenced by art::FindMany< ProdB, void >::get(), and art::FindMany< ProdB, Data >::get().
|
private |
Definition at line 270 of file FindMany.h.
Referenced by art::FindMany< ProdB, Data >::data(), art::FindMany< ProdB, Data >::FindMany(), art::FindMany< ProdB, Data >::get(), and art::FindMany< ProdB, Data >::operator==().