LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "Handle.h"
Classes | |
class | HandleTag |
Public Types | |
typedef T | element_type |
Public Member Functions | |
ValidHandle ()=delete | |
ValidHandle (T const *prod, Provenance prov) | |
ValidHandle (ValidHandle const &)=default | |
ValidHandle & | operator= (ValidHandle const &)&=default |
operator T const * () const | |
T const & | operator* () const |
T const * | operator-> () const |
T const * | product () const |
bool | isValid () const |
bool | failedToGet () const |
Provenance const * | provenance () const |
ProductID | id () const |
std::shared_ptr< art::Exception const > | whyFailed () const |
void | swap (ValidHandle< T > &other) |
Private Attributes | |
T const * | prod_ |
Provenance | prov_ |
typedef T art::ValidHandle< T >::element_type |
|
delete |
|
explicit |
Definition at line 293 of file Handle.h.
References art::errors::NullPointerError, and art::ValidHandle< T >::prov_.
|
default |
|
inline |
|
inline |
Definition at line 349 of file Handle.h.
References art::Provenance::productID(), and art::ValidHandle< T >::prov_.
|
inline |
|
inline |
Definition at line 302 of file Handle.h.
References art::ValidHandle< T >::prod_.
|
inline |
Definition at line 308 of file Handle.h.
References art::ValidHandle< T >::prod_.
|
inline |
Definition at line 314 of file Handle.h.
References art::ValidHandle< T >::prod_.
|
default |
|
inline |
Definition at line 321 of file Handle.h.
References art::ValidHandle< T >::prod_.
Referenced by sim::DumpMCTruth::analyze(), and sim::DumpGTruth::analyze().
|
inline |
Definition at line 342 of file Handle.h.
References art::ValidHandle< T >::prov_.
Referenced by art::DataViewImpl::getValidHandle().
|
inline |
Definition at line 363 of file Handle.h.
References art::disjoint_ranges(), art::overlapping_ranges(), art::range_of_validity(), art::same_ranges(), art::swap(), art::detail::throw_if_invalid(), and fhicl::detail::atom::value().
|
inline |
|
private |
Definition at line 288 of file Handle.h.
Referenced by art::ValidHandle< T >::operator T const *(), art::ValidHandle< T >::operator*(), art::ValidHandle< T >::operator->(), and art::ValidHandle< T >::product().
|
private |
Definition at line 289 of file Handle.h.
Referenced by art::ValidHandle< T >::id(), art::ValidHandle< T >::provenance(), and art::ValidHandle< T >::ValidHandle().