13 return lhs.id == rhs.id &&
14 lhs.file_id == rhs.file_id &&
15 lhs.await_interval == rhs.await_interval &&
16 lhs.dp_name_prefix == rhs.dp_name_prefix &&
17 lhs.process_name == rhs.process_name &&
18 lhs.keywords == rhs.keywords &&
19 lhs.meta_sources == rhs.meta_sources &&
20 lhs.prim_sources == rhs.prim_sources &&
21 lhs.results == rhs.results &&
22 lhs.specification == rhs.specification;
26 return lhs.name == rhs.name && lhs.rr_uri == rhs.rr_uri;
30 if (keywords.empty()) {
38 copy(parts.begin(), parts.end(), std::back_inserter(ctx.
results));
Contains declaration of daq::Context.
std::vector< KeywordVariant > KeywordVector
Vector of keywords.
void UpdateKeywords(KeywordVector &to, KeywordVector const &from, ConflictPolicy policy=ConflictPolicy::Replace)
Updates to with keywords from from.
void UpdateKeywords(DaqContext &ctx, fits::KeywordVector const &keywords)
Updates (adds or replaces) primary HDU keywords.
void AddDpParts(DaqContext &ctx, std::vector< DpPart > const &parts)
bool operator==(DaqContext const &lhs, DaqContext const &rhs) noexcept
Structure carrying context needed to start a Data Acquisition and construct a Data Product Specificat...
DpParts results
Results from Data Acquisition (FITS files and keywords).
std::vector< daq::fits::KeywordVariant > keywords
Keyword list provided by OCM to Data Product.