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;
63 void writeCfi_(std::ostream& os,
bool& startWithComma,
int indentation,
bool& wroteSomething)
const override;
69 virtual void writeCfi_(std::ostream& os,
int indentation)
const = 0;
71 virtual void writeDoc_(std::ostream& os,
int indentation)
const = 0;
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