51 os <<
"see Section " << newSection <<
"\n";
56 os <<
"Section " << newSection <<
" PSet description:\n";
65 psetDesc_->print(os, new_dfh);
71 validatedLabels.insert(allowedLabel);
74 psetDesc_->validate(*containedPSet);
107 printNestedContentBase_(os, optional, dfh);
114 std::stringstream
ss;
123 os <<
"see Section " << newSection <<
"\n";
127 printSpaces(os, indentation);
128 os <<
"Section " << newSection <<
" PSet description used to validate all elements of VPSet's:\n";
137 psetDesc_->print(os, new_dfh);
142 if (pset.
existsAs<std::vector<ParameterSet> >(allowedLabel, isTracked())) {
143 validatedLabels.insert(allowedLabel);
148 for (
unsigned i = 0;
i < vpsetEntry->
size(); ++
i) {
void validateAllowedLabel_(std::string const &allowedLabel, ParameterSet &pset, std::set< std::string > &validatedLabels) const override
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
ParameterDescriptionNode * clone() const override
~AllowedLabelsDescription() override
VParameterSetEntry * getPSetVectorForUpdate(std::string const &name)
void printNestedContent_(std::ostream &os, bool optional, DocFormatHelper &dfh) const override
static void printSpaces(std::ostream &os, int n)
void printNestedContentBase_(std::ostream &os, bool optional, DocFormatHelper &dfh) const
TEveGeoShape * clone(const TEveElement *element, TEveElement *parent)
AllowedLabelsDescription(std::string const &label, bool isTracked)
std::vector< ParameterSet >::size_type size() const
ParameterSet & psetInVector(int i)
ParameterSet * getPSetForUpdate(std::string const &name, bool &isTracked)