#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 50 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 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().
Referenced by parameterSetDescription().
|
privatepure virtual |
|
inline |
Definition at line 40 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 243 of file ParameterDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists().
Referenced by parameterSetDescription().
|
privatepure virtual |
|
inline |
Definition at line 39 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 37 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 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.
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 241 of file ParameterDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists().
Referenced by parameterSetDescription().
|
overrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 144 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().
|
privatevirtual |
Reimplemented in edm::ParameterDescription< std::vector< ParameterSet > >, and edm::ParameterDescription< ParameterSetDescription >.
Definition at line 208 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 parameterSetDescription(), and print_().
|
overrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 227 of file ParameterDescriptionBase.cc.
References edm::DocFormatHelper::brief(), edm::DocFormatHelper::counter(), edm::DocFormatHelper::indentation(), label(), edm::DocFormatHelper::offsetSectionContent(), edm::DocFormatHelper::parent(), edm::ParameterDescriptionNode::printSpaces(), edm::DocFormatHelper::section(), edm::DocFormatHelper::TOP, and writeDoc_().
Referenced by parameterSetDescription().
|
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 parameterSetDescription(), validate_(), and edm::ParameterDescription< std::vector< ParameterSet > >::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 parameterSetDescription(), validate_(), edm::ParameterDescription< ParameterSetDescription >::validate_(), and edm::ParameterDescription< std::vector< ParameterSet > >::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 parameterSetDescription(), validate_(), edm::ParameterDescription< ParameterSetDescription >::validate_(), and edm::ParameterDescription< std::vector< ParameterSet > >::validate_().
|
inline |
Definition at line 38 of file ParameterDescriptionBase.h.
References type_.
Referenced by checkAndGetLabelsAndTypes_(), print_(), throwMissingRequiredNoDefault(), throwParameterWrongTrackiness(), throwParameterWrongType(), and writeCfi_().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 98 of file ParameterDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists(), edm::ParameterSet::exists(), exists_(), hasDefault(), insertDefault_(), isTracked(), label(), throwMissingRequiredNoDefault(), throwParameterWrongTrackiness(), and throwParameterWrongType().
Referenced by parameterSetDescription().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 121 of file ParameterDescriptionBase.cc.
References hasDefault(), isTracked(), label(), edm::parameterTypeEnumToString(), edm::ParameterDescriptionNode::printSpaces(), and type().
Referenced by parameterSetDescription().
|
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 87 of file ParameterDescriptionBase.h.
Referenced by hasDefault().
|
private |
Definition at line 86 of file ParameterDescriptionBase.h.
Referenced by isTracked().
|
private |
Definition at line 84 of file ParameterDescriptionBase.h.
Referenced by SequenceTypes.DummyModule::__repr__(), Mixins._Labelable::_findDependencies(), label(), ParameterDescriptionBase(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 85 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().