73 os <<
"see Section " << newSection <<
"\n";
74 if (!dfh.
brief()) os <<
"\n";
77 os <<
"Section " << newSection
78 <<
" PSet description:\n";
79 if (!dfh.
brief()) os <<
"\n";
86 psetDesc_->print(os, new_dfh);
93 std::set<std::string> & validatedLabels)
const {
95 validatedLabels.insert(allowedLabel);
98 psetDesc_->validate(*containedPSet);
147 printNestedContent_(std::ostream & os,
151 printNestedContentBase_(os, optional, dfh);
158 std::stringstream
ss;
168 os <<
"see Section " << newSection <<
"\n";
169 if (!dfh.
brief()) os <<
"\n";
171 printSpaces(os, indentation);
172 os <<
"Section " << newSection
173 <<
" PSet description used to validate all elements of VPSet's:\n";
174 if (!dfh.
brief()) os <<
"\n";
181 psetDesc_->print(os, new_dfh);
188 std::set<std::string> & validatedLabels)
const {
189 if (pset.
existsAs<std::vector<ParameterSet> >(allowedLabel, isTracked())) {
190 validatedLabels.insert(allowedLabel);
195 for (
unsigned i = 0;
i < vpsetEntry->
size(); ++
i) {
virtual ParameterDescriptionNode * clone() const
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
virtual void validateAllowedLabel_(std::string const &allowedLabel, ParameterSet &pset, std::set< std::string > &validatedLabels) const
VParameterSetEntry * getPSetVectorForUpdate(std::string const &name)
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
virtual void printNestedContent_(std::ostream &os, bool optional, DocFormatHelper &dfh) const
ParameterSet & psetInVector(int i)
ParameterSet * getPSetForUpdate(std::string const &name, bool &isTracked)