77 os <<
"see Section " << newSection <<
"\n";
78 if (!dfh.
brief()) os <<
"\n";
81 os <<
"Section " << newSection
82 <<
" PSet description:\n";
83 if (!dfh.
brief()) os <<
"\n";
90 psetDesc_->print(os, new_dfh);
97 std::set<std::string> & validatedLabels)
const {
99 validatedLabels.insert(allowedLabel);
102 psetDesc_->validate(*containedPSet);
166 std::stringstream ss;
176 os <<
"see Section " << newSection <<
"\n";
177 if (!dfh.
brief()) os <<
"\n";
180 os <<
"Section " << newSection
181 <<
" PSet description used to validate all elements of VPSet's:\n";
182 if (!dfh.
brief()) os <<
"\n";
189 psetDesc_->print(os, new_dfh);
196 std::set<std::string> & validatedLabels)
const {
198 validatedLabels.insert(allowedLabel);
203 for (
unsigned i = 0;
i < vpsetEntry->
size(); ++
i) {
ParameterDescriptionNode * clone() const override
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
void printNestedContent_(std::ostream &os, bool optional, DocFormatHelper &dfh) const override
~AllowedLabelsDescription() override
VParameterSetEntry * getPSetVectorForUpdate(std::string const &name)
void validateAllowedLabel_(std::string const &allowedLabel, ParameterSet &pset, std::set< std::string > &validatedLabels) const override
static void printSpaces(std::ostream &os, int n)
void printNestedContentBase_(std::ostream &os, bool optional, DocFormatHelper &dfh) const
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)