2 #ifndef FWCore_ParameterSet_ParameterDescriptionBase_h 3 #define FWCore_ParameterSet_ParameterDescriptionBase_h 31 class DocFormatHelper;
68 std::set<ParameterTypes> & parameterTypes,
69 std::set<ParameterTypes> & wildcardTypes)
const override;
72 std::set<std::string> & validatedLabels,
73 bool optional)
const override;
76 bool & startWithComma,
78 bool & wroteSomething)
const override;
84 virtual void writeCfi_(std::ostream & os,
int indentation)
const = 0;
86 virtual void writeDoc_(std::ostream & os,
int indentation)
const = 0;
88 void print_(std::ostream & os,
void writeCfi_(std::ostream &os, bool &startWithComma, int indentation, bool &wroteSomething) const override
void printNestedContent_(std::ostream &os, bool optional, DocFormatHelper &dfh) const override
virtual void printDefault_(std::ostream &os, bool writeToCfi, DocFormatHelper &dfh) const
~ParameterDescriptionBase() override
bool partiallyExists_(ParameterSet const &pset) const override
virtual bool exists_(ParameterSet const &pset) const =0
void print_(std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const override
void throwMissingRequiredNoDefault() const
int howManyXORSubNodesExist_(ParameterSet const &pset) const override
void throwParameterWrongType() const
virtual bool exists_(ParameterSet const &pset, bool isTracked) const =0
void checkAndGetLabelsAndTypes_(std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const override
virtual ParameterSetDescription * parameterSetDescription()
ParameterTypes type() const
void validate_(ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const override
virtual void insertDefault_(ParameterSet &pset) const =0
void throwParameterWrongTrackiness() const
virtual ParameterSetDescription const * parameterSetDescription() const
ParameterDescriptionBase(std::string const &iLabel, ParameterTypes iType, bool isTracked, bool hasDefault, Comment const &iComment)
virtual void writeDoc_(std::ostream &os, int indentation) const =0
std::string const & label() const