12 DDSpecPar::strValue(
const char*
key)
const {
13 auto const& item = spars.find(key);
14 if(item ==
end(spars))
16 return *
begin(item->second);
20 DDSpecPar::hasValue(
const char*
key)
const {
21 if(numpars.find(key) !=
end(numpars))
28 DDSpecPar::dblValue(
const char*
key)
const {
29 auto const& item = numpars.find(key);
30 if(item ==
end(numpars))
32 return *
begin(item->second);
37 string_view attribute, string_view
value)
const {
40 for_each(
begin(specpars),
end(specpars), [&refs, &attribute,
41 &value, &found](
const auto&
k) {
43 for_each(
begin(
k.second.spars),
end(
k.second.spars), [&](
const auto&
l) {
44 if(l.first == attribute) {
45 for_each(begin(l.second), end(l.second), [&](const auto& m) {
52 refs.emplace_back(&
k.second);
Namespace of DDCMS conversion namespace.
std::vector< const DDSpecPar * > DDSpecParRefs