#include <AllowedLabelsDescriptionBase.h>
Public Member Functions | |
bool | isTracked () const |
ParameterTypes | type () const |
~AllowedLabelsDescriptionBase () 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 optional, bool &startWithComma, int indentation, bool &wroteSomething) const |
virtual | ~ParameterDescriptionNode () |
Protected Member Functions | |
AllowedLabelsDescriptionBase (std::string const &label, ParameterTypes iType, bool isTracked) | |
AllowedLabelsDescriptionBase (char const *label, ParameterTypes iType, bool isTracked) | |
void | printNestedContentBase_ (std::ostream &os, bool optional, DocFormatHelper &dfh) const |
Private Member Functions | |
void | checkAndGetLabelsAndTypes_ (std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const override |
bool | exists_ (ParameterSet const &pset) const override |
bool | hasNestedContent_ () const override |
int | howManyXORSubNodesExist_ (ParameterSet const &pset) const override |
bool | partiallyExists_ (ParameterSet const &pset) const override |
void | print_ (std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const override |
void | printNestedContent_ (std::ostream &os, bool optional, DocFormatHelper &dfh) const override |
void | validate_ (ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const override |
virtual void | validateAllowedLabel_ (std::string const &allowedLabel, ParameterSet &pset, std::set< std::string > &validatedLabels) const =0 |
void | writeCfi_ (std::ostream &os, bool optional, bool &startWithComma, int indentation, bool &wroteSomething) const override |
Private Attributes | |
bool | isTracked_ |
ParameterDescription< std::vector< std::string > > | parameterHoldingLabels_ |
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 16 of file AllowedLabelsDescriptionBase.h.
|
override |
Definition at line 13 of file AllowedLabelsDescriptionBase.cc.
|
protected |
Definition at line 15 of file AllowedLabelsDescriptionBase.cc.
|
protected |
Definition at line 20 of file AllowedLabelsDescriptionBase.cc.
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 23 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::checkAndGetLabelsAndTypes(), and parameterHoldingLabels_.
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 138 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists(), parameterHoldingLabels_, and muonDTDigis_cfi::pset.
|
overrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 95 of file AllowedLabelsDescriptionBase.cc.
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 144 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists(), and muonDTDigis_cfi::pset.
|
inline |
Definition at line 21 of file AllowedLabelsDescriptionBase.h.
References isTracked_.
Referenced by Types.PSet::clone(), Mixins._ParameterTypeBase::configTypeName(), 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(), printNestedContentBase_(), Mixins._ParameterTypeBase::pythonTypeName(), validate_(), edm::AllowedLabelsDescription< T >::validateAllowedLabel_(), and edm::AllowedLabelsDescription< ParameterSetDescription >::validateAllowedLabel_().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 142 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists(), and muonDTDigis_cfi::pset.
|
overrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 54 of file AllowedLabelsDescriptionBase.cc.
References edm::DocFormatHelper::brief(), edm::ParameterDescriptionNode::comment(), edm::DocFormatHelper::commentWidth(), edm::DocFormatHelper::counter(), relativeConstraints::empty, edm::DocFormatHelper::indent(), edm::DocFormatHelper::indent2(), edm::ParameterDescriptionBase::label(), Types::optional, parameterHoldingLabels_, edm::DocFormatHelper::pass(), edm::DocFormatHelper::section(), edm::DocFormatHelper::startColumn2(), and edm::DocFormatHelper::wrapAndPrintText().
|
overrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 97 of file AllowedLabelsDescriptionBase.cc.
References edm::DocFormatHelper::brief(), Types::optional, and printNestedContentBase_().
|
protected |
Definition at line 103 of file AllowedLabelsDescriptionBase.cc.
References edm::DocFormatHelper::brief(), edm::DocFormatHelper::counter(), edm::DocFormatHelper::indent(), edm::DocFormatHelper::indent2(), printContent_cfi::indentation, edm::DocFormatHelper::indentation(), edm::DocFormatHelper::init(), isTracked(), edm::ParameterDescriptionBase::label(), edm::DocFormatHelper::offsetSectionContent(), Types::optional, parameterHoldingLabels_, edm::parameterTypeEnumToString(), edm::DocFormatHelper::parent(), edm::ParameterDescriptionNode::print(), edm::ParameterDescriptionNode::printSpaces(), edm::DocFormatHelper::section(), edm::DocFormatHelper::setPass(), edm::DocFormatHelper::TOP, and type().
Referenced by printNestedContent_(), and edm::AllowedLabelsDescription< ParameterSetDescription >::printNestedContent_().
|
inline |
Definition at line 20 of file AllowedLabelsDescriptionBase.h.
References type_.
Referenced by printNestedContentBase_().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 29 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists(), edm::for_all(), isTracked(), edm::ParameterDescriptionBase::label(), Types::optional, parameterHoldingLabels_, muonDTDigis_cfi::pset, edm::ParameterDescriptionNode::validate(), and validateAllowedLabel_().
|
privatepure virtual |
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 49 of file AllowedLabelsDescriptionBase.cc.
References printContent_cfi::indentation, Types::optional, parameterHoldingLabels_, and edm::ParameterDescriptionNode::writeCfi().
|
private |
Definition at line 58 of file AllowedLabelsDescriptionBase.h.
Referenced by isTracked().
|
private |
Definition at line 56 of file AllowedLabelsDescriptionBase.h.
Referenced by checkAndGetLabelsAndTypes_(), exists_(), print_(), printNestedContentBase_(), validate_(), and writeCfi_().
|
private |
Definition at line 57 of file AllowedLabelsDescriptionBase.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().