#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 () |
int | howManyXORSubNodesExist (ParameterSet const &pset) const |
bool | partiallyExists (ParameterSet const &pset) const |
void | print (std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) |
void | printNestedContent (std::ostream &os, bool optional, DocFormatHelper &dfh) |
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) |
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_ () |
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) |
virtual void | printNestedContent_ (std::ostream &os, bool optional, DocFormatHelper &dfh) |
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 15 of file AllowedLabelsDescriptionBase.cc.
|
protected |
Definition at line 18 of file AllowedLabelsDescriptionBase.cc.
|
protected |
Definition at line 25 of file AllowedLabelsDescriptionBase.cc.
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 34 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::checkAndGetLabelsAndTypes(), and parameterHoldingLabels_.
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 173 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists(), and parameterHoldingLabels_.
|
privatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 121 of file AllowedLabelsDescriptionBase.cc.
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 185 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists().
|
inline |
Definition at line 22 of file AllowedLabelsDescriptionBase.h.
References isTracked_.
Referenced by Types.PSet::clone(), Mixins._ParameterTypeBase::configTypeName(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Mixins.UsingBlock::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_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 179 of file AllowedLabelsDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists().
|
privatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 75 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(), parameterHoldingLabels_, edm::DocFormatHelper::pass(), edm::DocFormatHelper::section(), edm::DocFormatHelper::startColumn2(), and edm::DocFormatHelper::wrapAndPrintText().
|
privatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Reimplemented in edm::AllowedLabelsDescription< std::vector< ParameterSet > >, and edm::AllowedLabelsDescription< ParameterSetDescription >.
Definition at line 128 of file AllowedLabelsDescriptionBase.cc.
References edm::DocFormatHelper::brief(), and printNestedContentBase_().
|
protected |
Definition at line 137 of file AllowedLabelsDescriptionBase.cc.
References edm::DocFormatHelper::brief(), edm::DocFormatHelper::counter(), 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 printNestedContent_(), and edm::AllowedLabelsDescription< ParameterSetDescription >::printNestedContent_().
|
inline |
Definition at line 21 of file AllowedLabelsDescriptionBase.h.
References type_.
Referenced by cuy.ValElement::__init__(), and printNestedContentBase_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 43 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(), and validateAllowedLabel_().
|
privatepure virtual |
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 66 of file AllowedLabelsDescriptionBase.cc.
References parameterHoldingLabels_, and edm::ParameterDescriptionNode::writeCfi().
|
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::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::insertInto(), RandomRunSource.RandomRunSource::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), and type().