25 std::shared_ptr<Parentage> pPtr)
34 std::vector<ProductID>
const& parents)
77 os <<
"product ID = " <<
productID() <<
'\n';
78 os <<
"product status = " <<
static_cast<int>(
productStatus()) <<
'\n';
80 os <<
"entry description ID = " <<
parentageID() <<
'\n';
ProductID productID() const
std::shared_ptr< Parentage > & parentagePtr() const
ProductStatus const & productStatus() const
void setStatus(ProductStatus status) const
void write(std::ostream &os) const
unsigned char ProductStatus
void setNotPresent() const
ProductProvenance()=default
static collection_type const & get()
Parentage const & parentage() const
ProductStatus productStatus_
bool operator==(Provenance const &a, Provenance const &b)
static auto emplace(value_type const &value)
ProductStatus neverCreated()
ParentageID const & parentageID() const