LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "FindOne.h"
Public Types | |
using | assoc_t = ProdB |
using | bColl_t = 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 |
Public Member Functions | |
template<typename Handle , typename DataContainer , typename Tag > | |
FindOne (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 > | |
FindOne (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 > | |
FindOne (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 > | |
FindOne (std::initializer_list< Ptr< ProdA > > const &ptrs, DataContainer const &dc, Tag const &tag) | |
bool | isValid () const |
size_type | size () const |
cet::maybe_ref< assoc_t const > | at (size_type i) const |
void | get (size_type i, cet::maybe_ref< assoc_t const > &item) const |
bool | operator== (FindOne< ProdB, void > const &other) const |
Protected Member Functions | |
FindOne ()=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_ {} |
using art::FindOne< ProdB, void >::assoc_t = ProdB |
using art::FindOne< ProdB, void >::bColl_t = std::vector<ProdB const*> |
using art::FindOne< ProdB, void >::const_reference = typename bColl_t::const_reference |
using art::FindOne< ProdB, void >::difference_type = typename bColl_t::difference_type |
using art::FindOne< ProdB, void >::reference = typename bColl_t::reference |
using art::FindOne< ProdB, void >::size_type = typename bColl_t::size_type |
using art::FindOne< ProdB, void >::value_type = typename bColl_t::value_type |
art::FindOne< ProdB, void >::FindOne | ( | Handle const & | aCollection, |
DataContainer const & | dc, | ||
Tag const & | tag, | ||
std::enable_if_t< detail::is_handle< Handle >::value > * | = nullptr |
||
) |
Definition at line 281 of file FindOne.h.
References art::FindOne< ProdB, Data >::FindOne(), and art::detail::input_tag().
art::FindOne< ProdB, void >::FindOne | ( | 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 294 of file FindOne.h.
References art::FindOne< ProdB, Data >::FindOne(), and art::detail::input_tag().
art::FindOne< ProdB, void >::FindOne | ( | 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 307 of file FindOne.h.
References art::FindOne< ProdB, Data >::FindOne(), and art::detail::input_tag().
art::FindOne< ProdB, void >::FindOne | ( | std::initializer_list< Ptr< ProdA > > const & | ptrs, |
DataContainer const & | dc, | ||
Tag const & | tag | ||
) |
Definition at line 321 of file FindOne.h.
References art::detail::input_tag().
|
protecteddefault |
|
inline |
|
inlineprotected |
Definition at line 201 of file FindOne.h.
References e.
Referenced by art::FindOne< ProdB, Data >::FindOne().
|
inline |
Definition at line 373 of file FindOne.h.
References art::FindOne< ProdB, Data >::operator==().
Referenced by art::FindOne< ProdB, Data >::get().
|
inline |
Definition at line 344 of file FindOne.h.
References art::FindOne< ProdB, Data >::get().
|
inline |
Definition at line 393 of file FindOne.h.
References bCollection_.
Referenced by art::FindOne< ProdB, Data >::operator==().
|
inlineprotected |
Definition at line 403 of file FindOne.h.
References e.
Referenced by art::FindOne< ProdB, Data >::FindOne().
|
inline |
|
inlineprotected |
Definition at line 412 of file FindOne.h.
References art::FindOne< ProdB, Data >::FindOne(), and art::errors::LogicError.
Referenced by art::FindOne< ProdB, Data >::data().
|
private |
Definition at line 207 of file FindOne.h.
Referenced by operator==().
|
private |