56 std::set<std::string>& validatedLabels,
57 bool optional)
const {
66 std::placeholders::_1,
76 psetDesc_->validate(*containedPSet);
82 if(psetDesc_)
return true;
99 <<
" description of PSet matching wildcard:";
101 if(!dfh.
brief()) os <<
"\n";
103 std::stringstream
ss;
112 psetDesc_->print(os, new_dfh);
124 return parameterNames.size() == 1U;
162 ~ParameterWildcard() { }
173 std::set<std::string>& validatedLabels,
174 bool optional)
const {
177 validateMatchingNames(parameterNames, validatedLabels, optional);
183 std::placeholders::_1,
193 for(
unsigned i = 0;
i < vpsetEntry->
size(); ++
i) {
200 hasNestedContent_() {
201 if(psetDesc_)
return true;
207 printNestedContent_(std::ostream& os,
216 printSpaces(os, indentation);
218 <<
" description used to validate all PSets which are in the VPSet matching the wildcard:";
220 if(!dfh.
brief()) os <<
"\n";
222 std::stringstream
ss;
231 psetDesc_->print(os, new_dfh);
243 return parameterNames.size() == 1U;
WildcardValidationCriteria
virtual bool exists_(ParameterSet const &pset) const
virtual ~ParameterWildcard()
virtual void validate_(ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const
virtual bool hasNestedContent_()
virtual void printNestedContent_(std::ostream &, bool, DocFormatHelper &)
virtual ParameterDescriptionNode * clone() 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
std::vector< ParameterSet >::size_type size() const
ParameterWildcard(std::string const &pattern, WildcardValidationCriteria criteria, bool isTracked)
ParameterSet & psetInVector(int i)
void validateMatchingNames(std::vector< std::string > const &matchingNames, std::set< std::string > &validatedLabels, bool optional) const
ParameterSet * getPSetForUpdate(std::string const &name, bool &isTracked)