LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "FindMany.h"
Public Types | |
using | bColl_t = std::vector< std::vector< ProdB const * >> |
using | value_type = typename bColl_t::value_type |
using | size_type = typename bColl_t::size_type |
using | difference_type = typename bColl_t::difference_type |
using | const_reference = typename bColl_t::const_reference |
using | reference = typename bColl_t::reference |
using | assoc_t = ProdB |
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_v< Handle >> *=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_v< typename ProdAColl::value_type >> *=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_v< typename PtrProdAColl::value_type, art::Ptr< typename PtrProdAColl::value_type::value_type >>> *=nullptr) | |
template<typename ProdA , typename DataContainer , typename Tag > | |
FindMany (std::initializer_list< Ptr< ProdA >> const &ptrs, DataContainer const &dc, Tag const &tag) | |
bool | isValid () const |
size_type | size () const |
const_reference | at (size_type i) const |
size_type | get (size_type i, reference item) const |
bool | operator== (FindMany< ProdB, void > const &other) const |
Protected Member Functions | |
FindMany ()=default | |
bColl_t & | bCollection () |
void | setStoredException (std::shared_ptr< art::Exception const > &&e) |
void | throwIfInvalid () const |
Private Attributes | |
bColl_t | bCollection_ {} |
std::shared_ptr< art::Exception const > | storedException_ {nullptr} |
Definition at line 148 of file FindMany.h.
using art::FindMany< ProdB, void >::assoc_t = ProdB |
Definition at line 162 of file FindMany.h.
using art::FindMany< ProdB, void >::bColl_t = std::vector<std::vector<ProdB const*>> |
Definition at line 154 of file FindMany.h.
using art::FindMany< ProdB, void >::const_reference = typename bColl_t::const_reference |
Definition at line 159 of file FindMany.h.
using art::FindMany< ProdB, void >::difference_type = typename bColl_t::difference_type |
Definition at line 158 of file FindMany.h.
using art::FindMany< ProdB, void >::reference = typename bColl_t::reference |
Definition at line 160 of file FindMany.h.
using art::FindMany< ProdB, void >::size_type = typename bColl_t::size_type |
Definition at line 157 of file FindMany.h.
using art::FindMany< ProdB, void >::value_type = typename bColl_t::value_type |
Definition at line 156 of file FindMany.h.
art::FindMany< ProdB, void >::FindMany | ( | Handle const & | aCollection, |
DataContainer const & | dc, | ||
Tag const & | tag, | ||
std::enable_if_t< detail::is_handle_v< Handle >> * | = nullptr |
||
) |
Definition at line 282 of file FindMany.h.
art::FindMany< ProdB, void >::FindMany | ( | ProdAColl const & | view, |
DataContainer const & | dc, | ||
Tag const & | tag, | ||
std::enable_if_t< std::is_pointer_v< typename ProdAColl::value_type >> * | = nullptr |
||
) |
Definition at line 295 of file FindMany.h.
art::FindMany< ProdB, void >::FindMany | ( | PtrProdAColl const & | aPtrColl, |
DataContainer const & | dc, | ||
Tag const & | tag, | ||
std::enable_if_t< std::is_same_v< typename PtrProdAColl::value_type, art::Ptr< typename PtrProdAColl::value_type::value_type >>> * | = nullptr |
||
) |
Definition at line 309 of file FindMany.h.
art::FindMany< ProdB, void >::FindMany | ( | std::initializer_list< Ptr< ProdA >> const & | ptrs, |
DataContainer const & | dc, | ||
Tag const & | tag | ||
) |
Definition at line 324 of file FindMany.h.
|
protecteddefault |
|
inline |
Definition at line 347 of file FindMany.h.
|
inlineprotected |
Definition at line 205 of file FindMany.h.
References e.
Referenced by art::FindMany< ProdB, Data >::FindMany().
|
inline |
Definition at line 355 of file FindMany.h.
Referenced by art::FindMany< ProdB, Data >::get().
|
inline |
Definition at line 341 of file FindMany.h.
|
inline |
Definition at line 364 of file FindMany.h.
References bCollection_.
Referenced by art::FindMany< ProdB, Data >::operator==().
|
inlineprotected |
Definition at line 371 of file FindMany.h.
References e.
Referenced by art::FindMany< ProdB, Data >::FindMany().
|
inline |
Definition at line 334 of file FindMany.h.
|
inlineprotected |
Definition at line 377 of file FindMany.h.
References art::errors::LogicError.
Referenced by art::FindMany< ProdB, Data >::data().
|
private |
Definition at line 211 of file FindMany.h.
Referenced by operator==().
|
private |
Definition at line 212 of file FindMany.h.