#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 |
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 &startWithComma, int indentation, 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, 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 &startWithComma, int indentation, bool &wroteSomething) const override |
virtual void | writeCfi_ (std::ostream &os, int indentation) const =0 |
virtual void | writeDoc_ (std::ostream &os, int indentation) const =0 |
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 58 of file ParameterDescriptionBase.cc.
|
protected |
Definition at line 24 of file ParameterDescriptionBase.cc.
References Exception, label_, and edm::errors::LogicError.
Referenced by parameterSetDescription().
|
protected |
Definition at line 41 of file ParameterDescriptionBase.cc.
References Exception, label_, and edm::errors::LogicError.
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 102 of file ParameterDescriptionBase.cc.
References label(), type(), and validate_().
Referenced by parameterSetDescription(), and throwMissingRequiredNoDefault().
|
privatepure virtual |
|
inline |
Definition at line 41 of file ParameterDescriptionBase.h.
References hasDefault_.
Referenced by parameterSetDescription(), printDefault_(), edm::ParameterDescription< std::vector< ParameterSet > >::printNestedContent_(), validate_(), edm::ParameterDescription< std::vector< ParameterSet > >::validate_(), and writeCfi_().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 280 of file ParameterDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists().
Referenced by parameterSetDescription(), and partiallyExists_().
|
privatepure virtual |
|
inline |
Definition at line 40 of file ParameterDescriptionBase.h.
References isTracked_.
Referenced by Types.PSet::clone(), Mixins._ParameterTypeBase::configTypeName(), edm::ParameterDescription< ParameterSetDescription >::exists_(), edm::ParameterDescription< std::vector< ParameterSet > >::exists_(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Mixins.UsingBlock::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(), parameterSetDescription(), print_(), Mixins._ParameterTypeBase::pythonTypeName(), throwMissingRequiredNoDefault(), throwParameterWrongTrackiness(), throwParameterWrongType(), validate_(), edm::ParameterDescription< ParameterSetDescription >::validate_(), edm::ParameterDescription< std::vector< ParameterSet > >::validate_(), and writeCfi_().
|
inline |
Definition at line 38 of file ParameterDescriptionBase.h.
References label_.
Referenced by checkAndGetLabelsAndTypes_(), edm::ParameterDescription< ParameterSetDescription >::exists_(), edm::ParameterDescription< std::vector< ParameterSet > >::exists_(), edm::ParameterSwitch< T >::ParameterSwitch(), edm::AllowedLabelsDescriptionBase::print_(), print_(), printNestedContent_(), edm::ParameterDescription< ParameterSetDescription >::printNestedContent_(), edm::ParameterDescription< std::vector< ParameterSet > >::printNestedContent_(), edm::AllowedLabelsDescriptionBase::printNestedContentBase_(), throwMissingRequiredNoDefault(), throwParameterWrongTrackiness(), throwParameterWrongType(), edm::AllowedLabelsDescriptionBase::validate_(), validate_(), edm::ParameterDescription< ParameterSetDescription >::validate_(), edm::ParameterDescription< std::vector< ParameterSet > >::validate_(), and writeCfi_().
|
inlinevirtual |
Reimplemented in edm::ParameterDescription< std::vector< ParameterSet > >, and edm::ParameterDescription< ParameterSetDescription >.
Definition at line 43 of file ParameterDescriptionBase.h.
Referenced by edm::ParameterDescription< ParameterSetDescription >::exists_(), edm::ParameterDescription< ParameterSetDescription >::parameterSetDescription(), edm::ParameterDescription< std::vector< ParameterSet > >::parameterSetDescription(), and edm::ParameterDescription< std::vector< ParameterSet > >::~ParameterDescription().
|
inlinevirtual |
Reimplemented in edm::ParameterDescription< std::vector< ParameterSet > >, and edm::ParameterDescription< ParameterSetDescription >.
Definition at line 44 of file ParameterDescriptionBase.h.
References checkAndGetLabelsAndTypes_(), exists_(), edm::ParameterDescriptionNode::exists_(), hasDefault(), howManyXORSubNodesExist_(), insertDefault_(), isTracked(), ParameterDescriptionBase(), partiallyExists_(), print_(), printDefault_(), printNestedContent_(), muonDTDigis_cfi::pset, AlCaHLTBitMon_QueryRunRegistry::string, throwMissingRequiredNoDefault(), throwParameterWrongTrackiness(), throwParameterWrongType(), validate_(), writeCfi_(), and writeDoc_().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 274 of file ParameterDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists(), and howManyXORSubNodesExist_().
Referenced by parameterSetDescription(), and printNestedContent_().
|
overrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 162 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(), edm::parameterTypeEnumToString(), edm::DocFormatHelper::pass(), printDefault_(), edm::DocFormatHelper::setAtLeast1(), edm::DocFormatHelper::setAtLeast2(), edm::DocFormatHelper::setAtLeast3(), findQualityFiles::size, edm::DocFormatHelper::startColumn2(), type(), mitigatedMETSequence_cff::U, and edm::DocFormatHelper::wrapAndPrintText().
Referenced by parameterSetDescription(), and writeCfi_().
|
privatevirtual |
Reimplemented in edm::ParameterDescription< std::vector< ParameterSet > >, and edm::ParameterDescription< ParameterSetDescription >.
Definition at line 233 of file ParameterDescriptionBase.cc.
References edm::DocFormatHelper::brief(), edm::DocFormatHelper::counter(), hasDefault(), edm::ParameterDescriptionNode::hasNestedContent(), edm::DocFormatHelper::indentation(), printNestedContent_(), edm::DocFormatHelper::section(), edm::DocFormatHelper::startColumn2(), and writeDoc_().
Referenced by parameterSetDescription(), print_(), edm::ParameterDescription< ParameterSetDescription >::validate_(), and edm::ParameterDescription< std::vector< ParameterSet > >::validate_().
|
overrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 256 of file ParameterDescriptionBase.cc.
References edm::DocFormatHelper::brief(), edm::DocFormatHelper::counter(), edm::DocFormatHelper::indentation(), label(), edm::DocFormatHelper::offsetSectionContent(), edm::DocFormatHelper::parent(), partiallyExists_(), edm::ParameterDescriptionNode::printSpaces(), edm::DocFormatHelper::section(), edm::DocFormatHelper::TOP, and writeDoc_().
Referenced by edm::ParameterDescription< ParameterSetDescription >::hasNestedContent_(), edm::ParameterDescription< std::vector< ParameterSet > >::hasNestedContent_(), parameterSetDescription(), and printDefault_().
|
protected |
Definition at line 87 of file ParameterDescriptionBase.cc.
References checkAndGetLabelsAndTypes_(), edm::errors::Configuration, Exception, isTracked(), label(), edm::parameterTypeEnumToString(), AlCaHLTBitMon_QueryRunRegistry::string, and type().
Referenced by parameterSetDescription(), validate_(), and edm::ParameterDescription< std::vector< ParameterSet > >::validate_().
|
protected |
Definition at line 61 of file ParameterDescriptionBase.cc.
References edm::errors::Configuration, Exception, isTracked(), label(), edm::parameterTypeEnumToString(), AlCaHLTBitMon_QueryRunRegistry::string, and type().
Referenced by parameterSetDescription(), validate_(), edm::ParameterDescription< ParameterSetDescription >::validate_(), and edm::ParameterDescription< std::vector< ParameterSet > >::validate_().
|
protected |
Definition at line 76 of file ParameterDescriptionBase.cc.
References edm::errors::Configuration, Exception, isTracked(), label(), edm::parameterTypeEnumToString(), AlCaHLTBitMon_QueryRunRegistry::string, and type().
Referenced by parameterSetDescription(), validate_(), edm::ParameterDescription< ParameterSetDescription >::validate_(), and edm::ParameterDescription< std::vector< ParameterSet > >::validate_().
|
inline |
Definition at line 39 of file ParameterDescriptionBase.h.
References type_.
Referenced by checkAndGetLabelsAndTypes_(), print_(), throwMissingRequiredNoDefault(), throwParameterWrongTrackiness(), throwParameterWrongType(), and writeCfi_().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 111 of file ParameterDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists(), edm::ParameterSet::exists(), exists_(), hasDefault(), insertDefault_(), isTracked(), label(), throwMissingRequiredNoDefault(), throwParameterWrongTrackiness(), throwParameterWrongType(), and writeCfi_().
Referenced by checkAndGetLabelsAndTypes_(), parameterSetDescription(), edm::ParameterDescription< std::vector< ParameterSet > >::parameterSetDescription(), and edm::ParameterDescription< ParameterSetDescription >::~ParameterDescription().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 137 of file ParameterDescriptionBase.cc.
References hasDefault(), isTracked(), label(), edm::parameterTypeEnumToString(), print_(), edm::ParameterDescriptionNode::printSpaces(), and type().
Referenced by parameterSetDescription(), and validate_().
|
privatepure virtual |
|
privatepure virtual |
Implemented in edm::ParameterDescription< std::vector< ParameterSet > >, edm::ParameterDescription< ParameterSetDescription >, edm::ParameterDescription< T >, and edm::ParameterDescription< std::vector< std::string > >.
Referenced by parameterSetDescription(), printDefault_(), and printNestedContent_().
|
private |
Definition at line 109 of file ParameterDescriptionBase.h.
Referenced by hasDefault().
|
private |
Definition at line 108 of file ParameterDescriptionBase.h.
Referenced by isTracked().
|
private |
Definition at line 106 of file ParameterDescriptionBase.h.
Referenced by SequenceTypes.DummyModule::__repr__(), Mixins._Labelable::_findDependencies(), label(), ParameterDescriptionBase(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 107 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(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and type().