Go to the documentation of this file.
24 std::set<ParameterTypes>& parameterTypes,
25 std::set<ParameterTypes>& wildcardTypes)
const {
30 std::set<std::string>& validatedLabels,
34 std::vector<std::string> allowedLabels;
43 std::placeholders::_1,
45 std::ref(validatedLabels)));
50 std::ostream& os,
bool optional,
bool& startWithComma,
int indentation,
bool& wroteSomething)
const {
58 if (dfh.
pass() == 1) {
67 os <<
" (do not write to cfi)";
69 os <<
" see Section " << dfh.
section() <<
"." << dfh.
counter() <<
"\n";
79 os <<
" (do not write to cfi)";
85 os <<
"see Section " << dfh.
section() <<
"." << dfh.
counter() <<
"\n";
113 <<
" - allowed labels description\n";
115 os <<
"The following parameter contains a list of parameter labels\n";
117 os <<
"which are allowed to be in the PSet\n";
126 os <<
"type of allowed parameters:";
void print(std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const
bool exists(ParameterSet const &pset) const
std::string const & label() const
void writeCfi_(std::ostream &os, bool optional, bool &startWithComma, int indentation, bool &wroteSomething) const override
void validate_(ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const override
~AllowedLabelsDescriptionBase() override
void validate(ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const
AllowedLabelsDescriptionBase(std::string const &label, ParameterTypes iType, bool isTracked)
std::string parameterTypeEnumToString(ParameterTypes iType)
bool exists_(ParameterSet const &pset) const override
Func for_all(ForwardSequence &s, Func f)
wrapper for std::for_each
void print_(std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const override
int howManyXORSubNodesExist_(ParameterSet const &pset) const override
void printNestedContentBase_(std::ostream &os, bool optional, DocFormatHelper &dfh) const
void printNestedContent_(std::ostream &os, bool optional, DocFormatHelper &dfh) const override
bool partiallyExists_(ParameterSet const &pset) const override
virtual void validateAllowedLabel_(std::string const &allowedLabel, ParameterSet &pset, std::set< std::string > &validatedLabels) const =0
ParameterTypes type() const
void checkAndGetLabelsAndTypes(std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const
ParameterDescription< std::vector< std::string > > parameterHoldingLabels_
static void printSpaces(std::ostream &os, int n)
std::string const & comment() const
bool hasNestedContent_() const override
void checkAndGetLabelsAndTypes_(std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const override
void writeCfi(std::ostream &os, bool optional, bool &startWithComma, int indentation, bool &wroteSomething) const