51 std::set<std::string>& validatedLabels,
60 std::placeholders::_1,
68 psetDesc_->validate(*containedPSet);
86 os <<
"Section " << dfh.
section() <<
"." << dfh.
counter() <<
" description of PSet matching wildcard:";
100 psetDesc_->print(os, new_dfh);
110 return !parameterNames.
empty();
111 return parameterNames.size() == 1U;
153 std::set<std::string>& validatedLabels,
156 validateMatchingNames(parameterNames, validatedLabels, optional);
162 std::placeholders::_1,
171 for (
unsigned i = 0;
i < vpsetEntry->
size(); ++
i) {
190 printSpaces(os, indentation);
192 <<
" description used to validate all PSets which are in the VPSet matching the wildcard:";
197 std::stringstream
ss;
206 psetDesc_->print(os, new_dfh);
216 return !parameterNames.empty();
217 return parameterNames.size() == 1U;
WildcardValidationCriteria
~ParameterWildcard() override
ParameterDescriptionNode * clone() const override
virtual bool hasNestedContent_() const
virtual void printNestedContent_(std::ostream &, bool, DocFormatHelper &) const
Func for_all(ForwardSequence &s, Func f)
wrapper for std::for_each
std::vector< std::string > getParameterNamesForType(bool trackiness=true) const
VParameterSetEntry * getPSetVectorForUpdate(std::string const &name)
static void printSpaces(std::ostream &os, int n)
WildcardValidationCriteria criteria() const
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
void throwIfInvalidPattern(char const *pattern) const
ParameterWildcard(std::string const &pattern, WildcardValidationCriteria criteria, bool isTracked)
std::vector< ParameterSet >::size_type size() const
ParameterSet & psetInVector(int i)
void validateMatchingNames(std::vector< std::string > const &matchingNames, std::set< std::string > &validatedLabels, bool optional) const
bool exists_(ParameterSet const &pset) const override
void validate_(ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const override
ParameterSet * getPSetForUpdate(std::string const &name, bool &isTracked)