Definition at line 84 of file FileCatalogMetadata.h.
art::FileCatalogMetadata::InheritedMetadata::InheritedMetadata |
( |
std::vector< std::string > const & |
sortedMdToInherit, |
|
|
collection_type const & |
coll |
|
) |
| |
|
inline |
Definition at line 86 of file FileCatalogMetadata.h.
89 detail::OldToNew
const translator;
90 for (
auto const& pr : coll) {
91 if (cet::search_all(sortedMdToInherit, translator(pr.first))) {
void art::FileCatalogMetadata::InheritedMetadata::check_values |
( |
collection_type const & |
fromInput | ) |
const |
|
inline |
Definition at line 105 of file FileCatalogMetadata.h.
References util::cend(), art::errors::LogicError, art::errors::MismatchedInputFiles, and value.
107 for (
auto const& [key,
value] : fromInput) {
111 <<
"Metadata key " << key
112 <<
" missing from list of metadata to inherit from input " 114 }
else if (it->second !=
value) {
116 <<
"The value for '" << key
117 <<
"' for the current file is: " <<
value 118 <<
", which conflicts with the value from the first input file " 120 << it->second <<
"\").\n";
decltype(auto) constexpr cend(T &&obj)
ADL-aware version of std::cend.
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
auto const& art::FileCatalogMetadata::InheritedMetadata::entries |
( |
| ) |
const |
|
inline |
std::unordered_map<std::string, std::string> art::FileCatalogMetadata::InheritedMetadata::inputmd_ |
|
private |
The documentation for this class was generated from the following file: