3 #include "boost/json.hpp" 19 detail::OldToNew
const oldToNew{};
21 maybeTranslate(vector<string>
names)
29 search_translated_all(vector<string>
const&
s,
string const&
md)
35 FileCatalogMetadata::FileCatalogMetadata(
40 if (
auto appFam =
config().applicationFamily()) {
43 if (
auto appVer =
config().applicationVersion()) {
57 if (
auto grp =
config().group()) {
81 string checkString(
"{ ");
83 boost::json::error_code ec;
85 auto const n_parsed_chars = p.write_some(checkString, ec);
88 <<
"FileCatalogMetadata::addMetadata() JSON " << ec.message() <<
":\n" 89 <<
"Faulty key/value clause:\n" 90 << checkString <<
"\n" 91 << (n_parsed_chars ?
string(n_parsed_chars,
'-') :
"") <<
"^\n";
94 std::lock_guard sentry{
mutex_};
95 md_.emplace_back(key, value);
105 std::lock_guard sentry{
mutex_};
109 imd_->check_values(mdFromInput);
119 std::lock_guard sentry{
mutex_};
void sort_all(RandCont &)
bool search_all(FwdCont const &, Datum const &)
auto transform_all(Container &, OutputIt, UnaryOp)
cet::coded_exception< errors::ErrorCodes, ExceptionDetail::translate > Exception
auto copy_all(FwdCont &, FwdIter)
bool canonical_string(std::string const &str, std::string &result)
static std::vector< std::string > const names