![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "FindOneP.h"
Public Types | |
| using | assoc_t = ProdB |
| using | bColl_t = std::vector< Ptr< assoc_t >> |
| 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 > | |
| FindOneP (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 > | |
| FindOneP (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 > | |
| FindOneP (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 > | |
| FindOneP (std::initializer_list< Ptr< ProdA >> const &ptrs, DataContainer const &dc, Tag const &tag) | |
| bool | isValid () const |
| size_type | size () const |
| Ptr< assoc_t > const & | at (size_type i) const |
| void | get (size_type i, Ptr< assoc_t > &item) const |
| bool | operator== (FindOneP< ProdB, void > const &other) const |
Protected Member Functions | |
| FindOneP ()=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_ {} |
Definition at line 143 of file FindOneP.h.
| using art::FindOneP< ProdB, void >::assoc_t = ProdB |
Definition at line 146 of file FindOneP.h.
| using art::FindOneP< ProdB, void >::bColl_t = std::vector<Ptr<assoc_t>> |
Definition at line 149 of file FindOneP.h.
| using art::FindOneP< ProdB, void >::const_reference = typename bColl_t::const_reference |
Definition at line 156 of file FindOneP.h.
| using art::FindOneP< ProdB, void >::difference_type = typename bColl_t::difference_type |
Definition at line 155 of file FindOneP.h.
| using art::FindOneP< ProdB, void >::reference = typename bColl_t::reference |
Definition at line 157 of file FindOneP.h.
| using art::FindOneP< ProdB, void >::size_type = typename bColl_t::size_type |
Definition at line 154 of file FindOneP.h.
| using art::FindOneP< ProdB, void >::value_type = typename bColl_t::value_type |
Definition at line 153 of file FindOneP.h.
| art::FindOneP< ProdB, void >::FindOneP | ( | Handle const & | aCollection, |
| DataContainer const & | dc, | ||
| Tag const & | tag, | ||
| std::enable_if_t< detail::is_handle_v< Handle >> * | = nullptr |
||
| ) |
Definition at line 293 of file FindOneP.h.
| art::FindOneP< ProdB, void >::FindOneP | ( | 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 307 of file FindOneP.h.
| art::FindOneP< ProdB, void >::FindOneP | ( | 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 322 of file FindOneP.h.
| art::FindOneP< ProdB, void >::FindOneP | ( | std::initializer_list< Ptr< ProdA >> const & | ptrs, |
| DataContainer const & | dc, | ||
| Tag const & | tag | ||
| ) |
Definition at line 338 of file FindOneP.h.
|
protecteddefault |
|
inline |
Definition at line 365 of file FindOneP.h.
|
inlineprotected |
Definition at line 207 of file FindOneP.h.
References e.
Referenced by art::FindOneP< ProdB, Data >::FindOneP().
|
inline |
|
inline |
Definition at line 358 of file FindOneP.h.
References art::FindOneP< ProdB, Data >::get().
|
inline |
Definition at line 401 of file FindOneP.h.
References bCollection_.
Referenced by art::FindOneP< ProdB, Data >::operator==().
|
inlineprotected |
Definition at line 410 of file FindOneP.h.
References e.
Referenced by art::FindOneP< ProdB, Data >::FindOneP().
|
inline |
Definition at line 350 of file FindOneP.h.
|
inlineprotected |
Definition at line 418 of file FindOneP.h.
References art::errors::LogicError.
Referenced by art::FindOneP< ProdB, Data >::data().
|
private |
Definition at line 213 of file FindOneP.h.
Referenced by operator==().
|
private |
Definition at line 214 of file FindOneP.h.