15 std::string_view pattern,
19 std::map<std::string, ParameterSetDescription> exceptions)
29 std::set<std::string>& validatedLabels,
34 for (
auto const&
name : parameterNames) {
39 if (
std::find(parameterNames.begin(), parameterNames.end(),
v.first) == parameterNames.end()) {
45 validatedLabels.
insert(
v.first);
55 itFound->second.validate(*containedPSet);
72 os <<
"Section " << dfh.
section() <<
"." << dfh.
counter() <<
" description of PSet matching wildcard:";
97 return !parameterNames.
empty();
98 return parameterNames.size() == 1U;
WildcardValidationCriteria
void printNestedContent_(std::ostream &os, bool optional, DocFormatHelper &dfh) const override
bool exists_(ParameterSet const &pset) const override
void validate(ParameterSet &pset) const
void insert(bool ok_to_replace, char const *, Entry const &)
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
ParameterDescriptionNode * clone() const override
std::vector< std::string > getParameterNamesForType(bool trackiness=true) const
std::map< std::string, ParameterSetDescription > exceptions_
void addParameter(std::string const &name, T const &value)
ParameterWildcardWithSpecifics(std::string_view, WildcardValidationCriteria criteria, bool isTracked, ParameterSetDescription const &desc, std::map< std::string, ParameterSetDescription > exceptions)
void print(std::ostream &os, DocFormatHelper &dfh) const
void validateDescription(std::string const ¶meterName, ParameterSet &pset) const
void validate_(ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const override
bool hasNestedContent_() const override
static void printSpaces(std::ostream &os, int n)
ParameterSetDescription wildcardDesc_
WildcardValidationCriteria criteria() const
void addUntrackedParameter(std::string const &name, T const &value)
void throwIfInvalidPattern(char const *pattern) const
void validateMatchingNames(std::vector< std::string > const &matchingNames, std::set< std::string > &validatedLabels, bool optional) const
ParameterSet * getPSetForUpdate(std::string const &name, bool &isTracked)