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