9 bool const dropMetaDataForDroppedData,
10 std::set<ProductID>& branchesWithStoredHistory)
11 : dropMetaData_{dropMetaData}
39 for (
auto const pid : parents) {
48 auto const* pd = principal.
getForOutput(info->productID(),
false).desc();
49 if (pd && pd->produced()) {
62 <<
"Attempt to set product status for product whose provenance is not "
ProductID productID() const
DropMetaData const dropMetaData_
ProductProvenance const & insert(ProductProvenance const &)
unsigned char ProductStatus
bool const dropMetaDataForDroppedData_
std::vector< ProductID > const & parents() const
ProductProvenance const & emplace(ProductID, ProductStatus)
OutputHandle getForOutput(ProductID const, bool resolveProd) const
Parentage const & parentage() const
BranchMapper const & branchMapper() const
void insertAncestors(ProductProvenance const &iGetParents, Principal const &principal)
KeptProvenance(DropMetaData dropMetaData, bool dropMetaDataForDroppedData, std::set< ProductID > &branchesWithStoredHistory)
std::set< ProductProvenance > provenance_
result_t branchToProductProvenance(ProductID const) const
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
std::set< ProductID > & branchesWithStoredHistory_
void setStatus(ProductProvenance const &, ProductStatus)