LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "ProductProvenance.h"
Classes | |
struct | Transients |
Public Member Functions | |
ProductProvenance ()=default | |
ProductProvenance (ProductID pid) | |
ProductProvenance (ProductID pid, ProductStatus status) | |
ProductProvenance (ProductID pid, ProductStatus status, std::shared_ptr< Parentage > parentagePtr) | |
ProductProvenance (ProductID pid, ProductStatus status, ParentageID const &id) | |
ProductProvenance (ProductID pid, ProductStatus status, std::vector< ProductID > const &parents) | |
void | write (std::ostream &os) const |
ProductID | productID () const |
ProductStatus const & | productStatus () const |
ParentageID const & | parentageID () const |
Parentage const & | parentage () const |
void | setStatus (ProductStatus status) const |
void | setPresent () const |
void | setNotPresent () const |
bool | noParentage () const |
Private Member Functions | |
std::shared_ptr< Parentage > & | parentagePtr () const |
Private Attributes | |
ProductID | productID_ {} |
ProductStatus | productStatus_ {productstatus::uninitialized()} |
ParentageID | parentageID_ {} |
Transient< Transients > | transients_ {} |
Definition at line 31 of file ProductProvenance.h.
|
default |
|
explicit |
Definition at line 10 of file ProductProvenance.cc.
art::ProductProvenance::ProductProvenance | ( | ProductID | pid, |
ProductStatus | status | ||
) |
Definition at line 12 of file ProductProvenance.cc.
References productStatus_.
art::ProductProvenance::ProductProvenance | ( | ProductID | pid, |
ProductStatus | status, | ||
std::shared_ptr< Parentage > | parentagePtr | ||
) |
Definition at line 23 of file ProductProvenance.cc.
References art::thread_safe_registry_via_id< K, M >::emplace(), parentageID_, parentagePtr(), and productStatus_.
art::ProductProvenance::ProductProvenance | ( | ProductID | pid, |
ProductStatus | status, | ||
ParentageID const & | id | ||
) |
Definition at line 17 of file ProductProvenance.cc.
References parentageID_, and productStatus_.
art::ProductProvenance::ProductProvenance | ( | ProductID | pid, |
ProductStatus | status, | ||
std::vector< ProductID > const & | parents | ||
) |
Definition at line 32 of file ProductProvenance.cc.
References art::thread_safe_registry_via_id< K, M >::emplace(), parentageID_, parentagePtr(), and productStatus_.
|
inline |
Definition at line 77 of file ProductProvenance.h.
References transients_.
Referenced by art::operator==(), and write().
Parentage const & art::ProductProvenance::parentage | ( | ) | const |
Definition at line 44 of file ProductProvenance.cc.
References art::thread_safe_registry_via_id< K, M >::get(), parentageID_, and parentagePtr().
Referenced by art::detail::KeptProvenance::insertAncestors(), art::markAncestors(), art::Provenance::parentage(), and parentageID().
|
inline |
Definition at line 63 of file ProductProvenance.h.
References parentage(), and parentageID_.
Referenced by art::operator==(), and write().
|
inlineprivate |
Definition at line 90 of file ProductProvenance.h.
References transients_.
Referenced by parentage(), and ProductProvenance().
|
inline |
Definition at line 53 of file ProductProvenance.h.
References productID_.
Referenced by art::operator<(), art::operator==(), art::detail::KeptProvenance::setStatus(), and write().
|
inline |
Definition at line 58 of file ProductProvenance.h.
References productStatus_.
Referenced by art::operator==(), art::Provenance::productStatus(), setNotPresent(), setPresent(), and write().
void art::ProductProvenance::setNotPresent | ( | ) | const |
Definition at line 64 of file ProductProvenance.cc.
References art::productstatus::dropped(), art::productstatus::neverCreated(), productStatus(), setStatus(), and art::productstatus::unknown().
Referenced by setStatus().
void art::ProductProvenance::setPresent | ( | ) | const |
Definition at line 55 of file ProductProvenance.cc.
References art::productstatus::present(), productStatus(), setStatus(), and art::productstatus::unknown().
Referenced by setStatus().
|
inline |
Definition at line 69 of file ProductProvenance.h.
References productStatus_, setNotPresent(), and setPresent().
Referenced by setNotPresent(), and setPresent().
void art::ProductProvenance::write | ( | std::ostream & | os | ) | const |
Definition at line 75 of file ProductProvenance.cc.
References noParentage(), parentageID(), productID(), and productStatus().
Referenced by art::operator<<(), and art::Provenance::write().
|
private |
Definition at line 97 of file ProductProvenance.h.
Referenced by parentage(), parentageID(), and ProductProvenance().
|
private |
Definition at line 95 of file ProductProvenance.h.
Referenced by productID().
|
mutableprivate |
Definition at line 96 of file ProductProvenance.h.
Referenced by ProductProvenance(), productStatus(), and setStatus().
|
mutableprivate |
Definition at line 98 of file ProductProvenance.h.
Referenced by noParentage(), and parentagePtr().