#include <ParameterDescriptionBase.h>
Public Member Functions | |
bool | hasDefault () const |
bool | isTracked () const |
std::string const & | label () const |
virtual ParameterSetDescription const * | parameterSetDescription () const |
virtual ParameterSetDescription * | parameterSetDescription () |
ParameterTypes | type () const |
~ParameterDescriptionBase () override | |
Public Member Functions inherited from edm::ParameterDescriptionNode | |
void | checkAndGetLabelsAndTypes (std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const |
virtual ParameterDescriptionNode * | clone () const =0 |
std::string const & | comment () const |
bool | exists (ParameterSet const &pset) const |
bool | hasNestedContent () const |
int | howManyXORSubNodesExist (ParameterSet const &pset) const |
virtual bool | isWildcard () const |
ParameterDescriptionNode () | |
ParameterDescriptionNode (Comment const &iComment) | |
bool | partiallyExists (ParameterSet const &pset) const |
void | print (std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const |
void | printNestedContent (std::ostream &os, bool optional, DocFormatHelper &dfh) const |
void | setComment (std::string const &value) |
void | setComment (char const *value) |
void | validate (ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const |
void | writeCfi (std::ostream &os, bool optional, bool &startWithComma, int indentation, CfiOptions &options, bool &wroteSomething) const |
virtual | ~ParameterDescriptionNode () |
Protected Member Functions | |
ParameterDescriptionBase (std::string const &iLabel, ParameterTypes iType, bool isTracked, bool hasDefault, Comment const &iComment) | |
ParameterDescriptionBase (char const *iLabel, ParameterTypes iType, bool isTracked, bool hasDefault, Comment const &iComment) | |
void | throwMissingRequiredNoDefault () const |
void | throwParameterWrongTrackiness () const |
void | throwParameterWrongType () const |
Protected Member Functions inherited from edm::ParameterDescriptionNode | |
virtual bool | exists_ (ParameterSet const &pset) const =0 |
virtual bool | hasNestedContent_ () const |
Private Member Functions | |
void | checkAndGetLabelsAndTypes_ (std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const override |
virtual bool | exists_ (ParameterSet const &pset) const=0 |
virtual bool | exists_ (ParameterSet const &pset, bool isTracked) const =0 |
int | howManyXORSubNodesExist_ (ParameterSet const &pset) const override |
virtual void | insertDefault_ (ParameterSet &pset) const =0 |
bool | partiallyExists_ (ParameterSet const &pset) const override |
void | print_ (std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const override |
virtual void | printDefault_ (std::ostream &os, bool writeToCfi, DocFormatHelper &dfh) const |
void | printNestedContent_ (std::ostream &os, bool optional, DocFormatHelper &dfh) const override |
void | validate_ (ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const override |
void | writeCfi_ (std::ostream &os, bool optional, bool &startWithComma, int indentation, CfiOptions &, bool &wroteSomething) const override |
virtual void | writeCfi_ (std::ostream &os, int indentation, CfiOptions &) const =0 |
virtual void | writeDoc_ (std::ostream &os, int indentation) const =0 |
void | writeFullCfi (std::ostream &os, bool optional, bool &startWithComma, int indentation, CfiOptions &, bool &wroteSomething) const |
void | writeLabelValueCfi (std::ostream &os, bool optional, bool &startWithComma, int indentation, CfiOptions &, bool &wroteSomething) const |
Private Attributes | |
bool | hasDefault_ |
bool | isTracked_ |
std::string | label_ |
ParameterTypes | type_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::ParameterDescriptionNode | |
static void | printSpaces (std::ostream &os, int n) |
Protected Attributes inherited from edm::ParameterDescriptionNode | |
std::string | comment_ |
Definition at line 33 of file ParameterDescriptionBase.h.
|
override |
Definition at line 50 of file ParameterDescriptionBase.cc.
|
protected |
Definition at line 24 of file ParameterDescriptionBase.cc.
References Exception, label_, and edm::errors::LogicError.
|
protected |
Definition at line 37 of file ParameterDescriptionBase.cc.
References Exception, label_, and edm::errors::LogicError.
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 91 of file ParameterDescriptionBase.cc.
References label(), and type().
|
private |
|
privatepure virtual |
|
inline |
Definition at line 40 of file ParameterDescriptionBase.h.
References hasDefault_.
Referenced by edm::ParameterDescription< std::vector< std::string > >::hasNestedContent_(), printDefault_(), validate_(), writeFullCfi(), and writeLabelValueCfi().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 335 of file ParameterDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists(), and muonDTDigis_cfi::pset.
|
privatepure virtual |
|
inline |
Definition at line 39 of file ParameterDescriptionBase.h.
References isTracked_.
Referenced by Types.PSet::clone(), Mixins._ParameterTypeBase::configTypeName(), edm::ParameterDescription< std::vector< std::string > >::exists_(), edm::ParameterDescription< ParameterSetDescription >::exists_(), edm::ParameterDescription< std::vector< std::string > >::insertDefault_(), Mixins.UsingBlock::insertInto(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.EventID::insertInto(), Types.LuminosityBlockID::insertInto(), Types.LuminosityBlockRange::insertInto(), Types.EventRange::insertInto(), Types.InputTag::insertInto(), Types.ESInputTag::insertInto(), Types.FileInPath::insertInto(), Types.PSet::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), Types.vstring::insertInto(), Types.VLuminosityBlockID::insertInto(), Types.VInputTag::insertInto(), Types.VESInputTag::insertInto(), Types.VEventID::insertInto(), Types.VLuminosityBlockRange::insertInto(), Types.VEventRange::insertInto(), Types.VPSet::insertInto(), print_(), Mixins._ParameterTypeBase::pythonTypeName(), throwMissingRequiredNoDefault(), throwParameterWrongTrackiness(), throwParameterWrongType(), validate_(), edm::ParameterDescription< ParameterSetDescription >::validate_(), and writeFullCfi().
|
inline |
Definition at line 37 of file ParameterDescriptionBase.h.
References label_.
Referenced by checkAndGetLabelsAndTypes_(), edm::ParameterDescription< std::vector< std::string > >::exists_(), edm::ParameterDescription< ParameterSetDescription >::exists_(), edm::ParameterDescription< std::vector< std::string > >::insertDefault_(), edm::ParameterSwitch< T >::ParameterSwitch(), edm::AllowedLabelsDescriptionBase::print_(), print_(), printNestedContent_(), edm::ParameterDescription< ParameterSetDescription >::printNestedContent_(), edm::AllowedLabelsDescriptionBase::printNestedContentBase_(), throwMissingRequiredNoDefault(), throwParameterWrongTrackiness(), throwParameterWrongType(), edm::AllowedLabelsDescriptionBase::validate_(), validate_(), edm::ParameterDescription< ParameterSetDescription >::validate_(), writeCfi_(), writeFullCfi(), and writeLabelValueCfi().
|
inlinevirtual |
Reimplemented in edm::ParameterDescription< std::vector< ParameterSet > >, and edm::ParameterDescription< ParameterSetDescription >.
Definition at line 42 of file ParameterDescriptionBase.h.
|
inlinevirtual |
Reimplemented in edm::ParameterDescription< std::vector< ParameterSet > >, and edm::ParameterDescription< ParameterSetDescription >.
Definition at line 43 of file ParameterDescriptionBase.h.
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 333 of file ParameterDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists(), and muonDTDigis_cfi::pset.
|
overrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 234 of file ParameterDescriptionBase.cc.
References edm::DocFormatHelper::brief(), edm::DocFormatHelper::column1(), edm::DocFormatHelper::column2(), edm::DocFormatHelper::column3(), edm::ParameterDescriptionNode::comment(), edm::DocFormatHelper::commentWidth(), relativeConstraints::empty, edm::DocFormatHelper::indent(), edm::DocFormatHelper::indent2(), isTracked(), label(), Types::optional, edm::parameterTypeEnumToString(), edm::DocFormatHelper::pass(), printDefault_(), edm::DocFormatHelper::setAtLeast1(), edm::DocFormatHelper::setAtLeast2(), edm::DocFormatHelper::setAtLeast3(), contentValuesCheck::ss, edm::DocFormatHelper::startColumn2(), type(), mitigatedMETSequence_cff::U, and edm::DocFormatHelper::wrapAndPrintText().
|
privatevirtual |
Reimplemented in edm::ParameterDescription< std::vector< ParameterSet > >, and edm::ParameterDescription< ParameterSetDescription >.
Definition at line 298 of file ParameterDescriptionBase.cc.
References edm::DocFormatHelper::brief(), edm::DocFormatHelper::counter(), hasDefault(), edm::ParameterDescriptionNode::hasNestedContent(), edm::DocFormatHelper::indentation(), edm::DocFormatHelper::section(), edm::DocFormatHelper::startColumn2(), and writeDoc_().
Referenced by print_().
|
overrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 319 of file ParameterDescriptionBase.cc.
References edm::DocFormatHelper::brief(), edm::DocFormatHelper::counter(), printContent_cfi::indentation, edm::DocFormatHelper::indentation(), label(), edm::DocFormatHelper::offsetSectionContent(), edm::DocFormatHelper::parent(), edm::ParameterDescriptionNode::printSpaces(), edm::DocFormatHelper::section(), edm::DocFormatHelper::TOP, and writeDoc_().
|
protected |
Definition at line 79 of file ParameterDescriptionBase.cc.
References edm::errors::Configuration, Exception, isTracked(), label(), edm::parameterTypeEnumToString(), AlCaHLTBitMon_QueryRunRegistry::string, and type().
Referenced by validate_().
|
protected |
Definition at line 52 of file ParameterDescriptionBase.cc.
References edm::errors::Configuration, Exception, isTracked(), label(), edm::parameterTypeEnumToString(), AlCaHLTBitMon_QueryRunRegistry::string, and type().
Referenced by validate_(), and edm::ParameterDescription< ParameterSetDescription >::validate_().
|
protected |
Definition at line 67 of file ParameterDescriptionBase.cc.
References edm::errors::Configuration, Exception, isTracked(), label(), edm::parameterTypeEnumToString(), AlCaHLTBitMon_QueryRunRegistry::string, and type().
Referenced by validate_(), and edm::ParameterDescription< ParameterSetDescription >::validate_().
|
inline |
Definition at line 38 of file ParameterDescriptionBase.h.
References type_.
Referenced by checkAndGetLabelsAndTypes_(), print_(), throwMissingRequiredNoDefault(), throwParameterWrongTrackiness(), throwParameterWrongType(), writeFullCfi(), and writeLabelValueCfi().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 98 of file ParameterDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists(), exists_(), hasDefault(), insertDefault_(), isTracked(), label(), Types::optional, muonDTDigis_cfi::pset, throwMissingRequiredNoDefault(), throwParameterWrongTrackiness(), and throwParameterWrongType().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 121 of file ParameterDescriptionBase.cc.
References edm::check(), relativeConstraints::empty, printContent_cfi::indentation, label(), edm::cfi::needToSwitchToTyped(), Types::optional, or, edm::cfi::shouldWriteUntyped(), writeFullCfi(), and writeLabelValueCfi().
Referenced by writeFullCfi(), and writeLabelValueCfi().
|
privatepure virtual |
|
privatepure virtual |
|
private |
Definition at line 201 of file ParameterDescriptionBase.cc.
References hasDefault(), printContent_cfi::indentation, isTracked(), label(), Types::optional, edm::parameterTypeEnumToString(), edm::ParameterDescriptionNode::printSpaces(), type(), and writeCfi_().
Referenced by writeCfi_().
|
private |
Definition at line 142 of file ParameterDescriptionBase.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), hasDefault(), printContent_cfi::indentation, edm::k_ESInputTag, edm::k_EventID, edm::k_EventRange, edm::k_InputTag, edm::k_LuminosityBlockID, edm::k_LuminosityBlockRange, edm::k_PSet, edm::k_vdouble, edm::k_VESInputTag, edm::k_VEventID, edm::k_VEventRange, edm::k_VInputTag, edm::k_vint32, edm::k_vint64, edm::k_VLuminosityBlockID, edm::k_VLuminosityBlockRange, edm::k_VPSet, edm::k_vstringRaw, edm::k_vuint32, edm::k_vuint64, label(), edm::ParameterDescriptionNode::printSpaces(), type(), and writeCfi_().
Referenced by writeCfi_().
|
private |
Definition at line 106 of file ParameterDescriptionBase.h.
Referenced by hasDefault().
|
private |
Definition at line 105 of file ParameterDescriptionBase.h.
Referenced by isTracked().
|
private |
Definition at line 103 of file ParameterDescriptionBase.h.
Referenced by Modules.SwitchProducer::__addParameter(), SequenceTypes.DummyModule::__repr__(), Modules.SwitchProducer::__setattr__(), Mixins._Labelable::_findDependencies(), label(), ParameterDescriptionBase(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 104 of file ParameterDescriptionBase.h.
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), RandomRunSource.RandomRunSource::insertInto(), Modules.Service::insertInto(), ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and type().