#include <AllowedLabelsDescriptionBase.h>
Public Member Functions | |
bool | isTracked () const |
ParameterTypes | type () const |
virtual | ~AllowedLabelsDescriptionBase () |
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 |
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 | |
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 | |
virtual void | checkAndGetLabelsAndTypes_ (std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const |
virtual bool | exists_ (ParameterSet const &pset) const |
virtual bool | hasNestedContent_ () const |
virtual int | howManyXORSubNodesExist_ (ParameterSet const &pset) const |
virtual bool | partiallyExists_ (ParameterSet const &pset) const |
virtual void | print_ (std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const |
virtual void | printNestedContent_ (std::ostream &os, bool optional, DocFormatHelper &dfh) const |
virtual void | validate_ (ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const |
virtual void | validateAllowedLabel_ (std::string const &allowedLabel, ParameterSet &pset, std::set< std::string > &validatedLabels) const =0 |
virtual void | writeCfi_ (std::ostream &os, bool &startWithComma, int indentation, bool &wroteSomething) const |
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.
|
virtual |
Definition at line 13 of file AllowedLabelsDescriptionBase.cc.
References AllowedLabelsDescriptionBase().
|
protected |
Definition at line 16 of file AllowedLabelsDescriptionBase.cc.
Referenced by isTracked(), and ~AllowedLabelsDescriptionBase().
|
protected |
Definition at line 23 of file AllowedLabelsDescriptionBase.cc.
References checkAndGetLabelsAndTypes_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 32 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::checkAndGetLabelsAndTypes(), parameterHoldingLabels_, and validate_().
Referenced by AllowedLabelsDescriptionBase(), and isTracked().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 171 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists(), parameterHoldingLabels_, and partiallyExists_().
Referenced by isTracked(), and printNestedContentBase_().
|
privatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 119 of file AllowedLabelsDescriptionBase.cc.
References printNestedContent_().
Referenced by isTracked(), and print_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 183 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists().
Referenced by isTracked(), and partiallyExists_().
|
inline |
Definition at line 22 of file AllowedLabelsDescriptionBase.h.
References AllowedLabelsDescriptionBase(), checkAndGetLabelsAndTypes_(), exists_(), hasNestedContent_(), howManyXORSubNodesExist_(), isTracked_, diffTwoXMLs::label, partiallyExists_(), print_(), printNestedContent_(), printNestedContentBase_(), muonDTDigis_cfi::pset, AlCaHLTBitMon_QueryRunRegistry::string, validate_(), validateAllowedLabel_(), and writeCfi_().
Referenced by Types.PSet::clone(), Mixins._ParameterTypeBase::configTypeName(), 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(), printNestedContentBase_(), Mixins._ParameterTypeBase::pythonTypeName(), validate_(), edm::AllowedLabelsDescription< T >::validateAllowedLabel_(), edm::AllowedLabelsDescription< ParameterSetDescription >::validateAllowedLabel_(), and edm::AllowedLabelsDescription< std::vector< ParameterSet > >::validateAllowedLabel_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 177 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists(), and howManyXORSubNodesExist_().
Referenced by exists_(), and isTracked().
|
privatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 73 of file AllowedLabelsDescriptionBase.cc.
References edm::DocFormatHelper::brief(), edm::ParameterDescriptionNode::comment(), edm::DocFormatHelper::commentWidth(), edm::DocFormatHelper::counter(), relativeConstraints::empty, hasNestedContent_(), edm::DocFormatHelper::indent(), edm::DocFormatHelper::indent2(), edm::ParameterDescriptionBase::label(), parameterHoldingLabels_, edm::DocFormatHelper::pass(), edm::DocFormatHelper::section(), edm::DocFormatHelper::startColumn2(), and edm::DocFormatHelper::wrapAndPrintText().
Referenced by isTracked(), and writeCfi_().
|
privatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Reimplemented in edm::AllowedLabelsDescription< std::vector< ParameterSet > >, and edm::AllowedLabelsDescription< ParameterSetDescription >.
Definition at line 126 of file AllowedLabelsDescriptionBase.cc.
References edm::DocFormatHelper::brief(), and printNestedContentBase_().
Referenced by edm::AllowedLabelsDescription< ParameterSetDescription >::clone(), edm::AllowedLabelsDescription< std::vector< ParameterSet > >::clone(), hasNestedContent_(), and isTracked().
|
protected |
Definition at line 135 of file AllowedLabelsDescriptionBase.cc.
References edm::DocFormatHelper::brief(), edm::DocFormatHelper::counter(), exists_(), edm::DocFormatHelper::indent(), edm::DocFormatHelper::indent2(), edm::DocFormatHelper::indentation(), edm::DocFormatHelper::init(), isTracked(), edm::ParameterDescriptionBase::label(), edm::DocFormatHelper::offsetSectionContent(), 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 isTracked(), printNestedContent_(), edm::AllowedLabelsDescription< ParameterSetDescription >::printNestedContent_(), and edm::AllowedLabelsDescription< std::vector< ParameterSet > >::printNestedContent_().
|
inline |
Definition at line 21 of file AllowedLabelsDescriptionBase.h.
References type_.
Referenced by printNestedContentBase_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 41 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists(), edm::for_all(), edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), isTracked(), edm::ParameterDescriptionBase::label(), parameterHoldingLabels_, edm::ParameterDescriptionNode::validate(), validateAllowedLabel_(), and writeCfi_().
Referenced by checkAndGetLabelsAndTypes_(), and isTracked().
|
privatepure virtual |
Implemented in edm::AllowedLabelsDescription< std::vector< ParameterSet > >, edm::AllowedLabelsDescription< ParameterSetDescription >, and edm::AllowedLabelsDescription< T >.
Referenced by isTracked(), and validate_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 64 of file AllowedLabelsDescriptionBase.cc.
References parameterHoldingLabels_, print_(), and edm::ParameterDescriptionNode::writeCfi().
Referenced by isTracked(), and validate_().
|
private |
Definition at line 73 of file AllowedLabelsDescriptionBase.h.
Referenced by isTracked().
|
private |
Definition at line 71 of file AllowedLabelsDescriptionBase.h.
Referenced by checkAndGetLabelsAndTypes_(), exists_(), print_(), printNestedContentBase_(), validate_(), and writeCfi_().
|
private |
Definition at line 72 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(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and type().