1 #ifndef FWCore_ParameterSet_ParameterDescription_h
2 #define FWCore_ParameterSet_ParameterDescription_h
36 class LuminosityBlockID;
42 class DocFormatHelper;
44 namespace writeParameterValue {
57 std::vector<unsigned long long>
const& value_,
71 std::vector<LuminosityBlockRange>
const& value_,
109 template <
typename T>
175 void writeCfi_(std::ostream& os,
int indentation)
const override {
179 void writeDoc_(std::ostream& os,
int indentation)
const override {
229 void writeCfi_(std::ostream& os,
int indentation)
const override;
231 void writeDoc_(std::ostream& os,
int indentation)
const override;
246 std::vector<ParameterSet>
const& vPset,
252 std::vector<ParameterSet>
const& vPset,
285 void writeCfi_(std::ostream& os,
int indentation)
const override;
287 void writeDoc_(std::ostream& os,
int indentation)
const override;
296 bool& nextOneStartsWithAComma);
ParameterDescriptionNode * clone() const override
bool existsAs(std::string const ¶meterName, bool trackiness=true) const
checks if a parameter exists as a given type
bool exists_(ParameterSet const &pset, bool isTracked) const override
ParameterDescriptionNode * clone() const override
void validate_(ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const override
virtual void printDefault_(std::ostream &os, bool writeToCfi, DocFormatHelper &dfh) const
T getDefaultValue() const
value_ptr< ParameterSetDescription > psetDesc_
void writeCfi_(std::ostream &os, int indentation) const override
bool exists_(ParameterSet const &pset) const override
void addParameter(std::string const &name, T const &value)
bool partOfDefaultOfVPSet_
~ParameterDescription() override
bool hasNestedContent_() const override
value_ptr< ParameterSetDescription > psetDesc_
ParameterDescriptionNode * clone() const override
void addUntrackedParameter(std::string const &name, T const &value)
virtual ParameterSetDescription const * parameterSetDescription() const
void writeValue(std::ostream &os, int indentation, int const &value_, ValueFormat format)
ParameterDescriptionBase(std::string const &iLabel, ParameterTypes iType, bool isTracked, bool hasDefault, Comment const &iComment)
void writeDoc_(std::ostream &os, int indentation) const override
bool hasNestedContent(int const &value)
std::vector< ParameterSet > vPset_
void setPartOfDefaultOfVPSet(bool value)
void insertDefault_(ParameterSet &pset) const override
void printNestedContent_(std::ostream &os, bool optional, DocFormatHelper &dfh) const override
std::string const & label() const