2 #ifndef FWCore_ParameterSet_ParameterDescriptionBase_h 3 #define FWCore_ParameterSet_ParameterDescriptionBase_h 31 class DocFormatHelper;
58 std::set<ParameterTypes>& parameterTypes,
59 std::set<ParameterTypes>& wildcardTypes)
const override;
68 bool& wroteSomething)
const override;
75 bool& wroteSomething)
const;
82 bool& wroteSomething)
const;
std::string const & label() const
bool partiallyExists_(ParameterSet const &pset) const override
int howManyXORSubNodesExist_(ParameterSet const &pset) const override
virtual ParameterSetDescription const * parameterSetDescription() const
void validate_(ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const override
~ParameterDescriptionBase() override
void writeLabelValueCfi(std::ostream &os, bool optional, bool &startWithComma, int indentation, CfiOptions &, bool &wroteSomething) const
void writeFullCfi(std::ostream &os, bool optional, bool &startWithComma, int indentation, CfiOptions &, bool &wroteSomething) const
void throwMissingRequiredNoDefault() const
void writeCfi_(std::ostream &os, bool optional, bool &startWithComma, int indentation, CfiOptions &, bool &wroteSomething) const override
void throwParameterWrongTrackiness() const
virtual ParameterSetDescription * parameterSetDescription()
void print_(std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const override
virtual bool exists_(ParameterSet const &pset, bool isTracked) const =0
void throwParameterWrongType() const
virtual void insertDefault_(ParameterSet &pset) const =0
ParameterTypes type() 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
virtual void printDefault_(std::ostream &os, bool writeToCfi, DocFormatHelper &dfh) const
virtual bool exists_(ParameterSet const &pset) const =0
void printNestedContent_(std::ostream &os, bool optional, DocFormatHelper &dfh) const override
cfi::CfiOptions CfiOptions
void checkAndGetLabelsAndTypes_(std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const override