LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "FindManyP.h"
Public Types | |
using | bColl_t = std::vector< std::vector< Ptr< ProdB > > > |
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 > | |
FindManyP (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 > | |
FindManyP (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 > | |
FindManyP (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 > | |
FindManyP (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== (FindManyP< ProdB, void > const &other) const |
Protected Member Functions | |
FindManyP ()=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 149 of file FindManyP.h.
using art::FindManyP< ProdB, void >::assoc_t = ProdB |
Definition at line 162 of file FindManyP.h.
using art::FindManyP< ProdB, void >::bColl_t = std::vector<std::vector<Ptr<ProdB> > > |
Definition at line 152 of file FindManyP.h.
using art::FindManyP< ProdB, void >::const_reference = typename bColl_t::const_reference |
Definition at line 159 of file FindManyP.h.
using art::FindManyP< ProdB, void >::difference_type = typename bColl_t::difference_type |
Definition at line 158 of file FindManyP.h.
using art::FindManyP< ProdB, void >::reference = typename bColl_t::reference |
Definition at line 160 of file FindManyP.h.
using art::FindManyP< ProdB, void >::size_type = typename bColl_t::size_type |
Definition at line 157 of file FindManyP.h.
using art::FindManyP< ProdB, void >::value_type = typename bColl_t::value_type |
Definition at line 156 of file FindManyP.h.
art::FindManyP< ProdB, void >::FindManyP | ( | Handle const & | aCollection, |
DataContainer const & | dc, | ||
Tag const & | tag, | ||
std::enable_if_t< detail::is_handle< Handle >::value > * | = nullptr |
||
) |
Definition at line 278 of file FindManyP.h.
References art::FindManyP< ProdB, Data >::FindManyP(), and art::detail::input_tag().
art::FindManyP< ProdB, void >::FindManyP | ( | 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 291 of file FindManyP.h.
References art::FindManyP< ProdB, Data >::FindManyP(), and art::detail::input_tag().
art::FindManyP< ProdB, void >::FindManyP | ( | 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 304 of file FindManyP.h.
References art::FindManyP< ProdB, Data >::FindManyP(), and art::detail::input_tag().
art::FindManyP< ProdB, void >::FindManyP | ( | std::initializer_list< Ptr< ProdA > > const & | ptrs, |
DataContainer const & | dc, | ||
Tag const & | tag | ||
) |
Definition at line 318 of file FindManyP.h.
References art::detail::input_tag().
|
protecteddefault |
|
inline |
Definition at line 350 of file FindManyP.h.
References art::FindManyP< ProdB, Data >::get().
|
inlineprotected |
Definition at line 203 of file FindManyP.h.
References e.
Referenced by art::FindManyP< ProdB, Data >::FindManyP().
|
inline |
Definition at line 361 of file FindManyP.h.
References art::FindManyP< ProdB, Data >::operator==().
Referenced by art::FindManyP< ProdB, Data >::get().
|
inline |
Definition at line 341 of file FindManyP.h.
|
inline |
Definition at line 374 of file FindManyP.h.
References bCollection_.
Referenced by art::FindManyP< ProdB, Data >::operator==().
|
inlineprotected |
Definition at line 384 of file FindManyP.h.
References e.
Referenced by art::FindManyP< ProdB, Data >::FindManyP().
|
inline |
Definition at line 330 of file FindManyP.h.
|
inlineprotected |
Definition at line 393 of file FindManyP.h.
References art::FindManyP< ProdB, Data >::FindManyP(), and art::errors::LogicError.
Referenced by art::FindManyP< ProdB, Data >::data().
|
private |
Definition at line 209 of file FindManyP.h.
Referenced by operator==().
|
private |
Definition at line 210 of file FindManyP.h.