#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 |
virtual | ~ParameterDescriptionBase () |
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 | |
ParameterDescriptionBase (std::string const &iLabel, ParameterTypes iType, bool isTracked, bool hasDefault) | |
ParameterDescriptionBase (char const *iLabel, ParameterTypes iType, bool isTracked, bool hasDefault) | |
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_ () |
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, bool isTracked) const =0 |
virtual int | howManyXORSubNodesExist_ (ParameterSet const &pset) const |
virtual void | insertDefault_ (ParameterSet &pset) const =0 |
virtual bool | partiallyExists_ (ParameterSet const &pset) const |
virtual void | print_ (std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) |
virtual void | printDefault_ (std::ostream &os, 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 | writeCfi_ (std::ostream &os, bool &startWithComma, int indentation, bool &wroteSomething) const |
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.
|
virtual |
Definition at line 54 of file ParameterDescriptionBase.cc.
|
protected |
Definition at line 24 of file ParameterDescriptionBase.cc.
References edm::hlt::Exception, label_, and edm::errors::LogicError.
|
protected |
Definition at line 39 of file ParameterDescriptionBase.cc.
References edm::hlt::Exception, label_, and edm::errors::LogicError.
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 98 of file ParameterDescriptionBase.cc.
References label(), and type().
|
privatepure virtual |
|
inline |
Definition at line 41 of file ParameterDescriptionBase.h.
References hasDefault_.
Referenced by edm::ParameterDescription< std::vector< std::string > >::hasNestedContent_(), printDefault_(), validate_(), and writeCfi_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 276 of file ParameterDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists().
|
privatepure virtual |
|
inline |
Definition at line 40 of file ParameterDescriptionBase.h.
References isTracked_.
Referenced by Types.PSet::clone(), Mixins._ParameterTypeBase::configTypeName(), edm::ParameterDescription< std::vector< std::string > >::exists_(), edm::ParameterDescription< ParameterSetDescription >::exists_(), edm::ParameterDescription< std::vector< std::string > >::insertDefault_(), 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(), print_(), Mixins._ParameterTypeBase::pythonTypeName(), throwMissingRequiredNoDefault(), throwParameterWrongTrackiness(), throwParameterWrongType(), validate_(), edm::ParameterDescription< ParameterSetDescription >::validate_(), and writeCfi_().
|
inline |
Definition at line 38 of file ParameterDescriptionBase.h.
References label_.
Referenced by checkAndGetLabelsAndTypes_(), edm::ParameterDescription< std::vector< std::string > >::exists_(), edm::ParameterDescription< ParameterSetDescription >::exists_(), edm::ParameterDescription< std::vector< std::string > >::insertDefault_(), edm::ParameterSwitch< T >::ParameterSwitch(), edm::AllowedLabelsDescriptionBase::print_(), print_(), printNestedContent_(), edm::ParameterDescription< ParameterSetDescription >::printNestedContent_(), edm::AllowedLabelsDescriptionBase::printNestedContentBase_(), throwMissingRequiredNoDefault(), throwParameterWrongTrackiness(), throwParameterWrongType(), edm::AllowedLabelsDescriptionBase::validate_(), validate_(), edm::ParameterDescription< ParameterSetDescription >::validate_(), and writeCfi_().
|
inlinevirtual |
Reimplemented in edm::ParameterDescription< std::vector< ParameterSet > >, and edm::ParameterDescription< ParameterSetDescription >.
Definition at line 43 of file ParameterDescriptionBase.h.
|
inlinevirtual |
Reimplemented in edm::ParameterDescription< std::vector< ParameterSet > >, and edm::ParameterDescription< ParameterSetDescription >.
Definition at line 44 of file ParameterDescriptionBase.h.
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 270 of file ParameterDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists().
|
privatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 158 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(), and edm::DocFormatHelper::wrapAndPrintText().
|
privatevirtual |
Reimplemented in edm::ParameterDescription< std::vector< ParameterSet > >, and edm::ParameterDescription< ParameterSetDescription >.
Definition at line 229 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 print_().
|
privatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Reimplemented in edm::ParameterDescription< std::vector< ParameterSet > >, and edm::ParameterDescription< ParameterSetDescription >.
Definition at line 252 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_().
|
protected |
Definition at line 83 of file ParameterDescriptionBase.cc.
References edm::errors::Configuration, edm::hlt::Exception, isTracked(), label(), edm::parameterTypeEnumToString(), AlCaHLTBitMon_QueryRunRegistry::string, and type().
Referenced by validate_().
|
protected |
Definition at line 57 of file ParameterDescriptionBase.cc.
References edm::errors::Configuration, edm::hlt::Exception, isTracked(), label(), edm::parameterTypeEnumToString(), AlCaHLTBitMon_QueryRunRegistry::string, and type().
Referenced by validate_(), and edm::ParameterDescription< ParameterSetDescription >::validate_().
|
protected |
Definition at line 72 of file ParameterDescriptionBase.cc.
References edm::errors::Configuration, edm::hlt::Exception, isTracked(), label(), edm::parameterTypeEnumToString(), AlCaHLTBitMon_QueryRunRegistry::string, and type().
Referenced by validate_(), and edm::ParameterDescription< ParameterSetDescription >::validate_().
|
inline |
Definition at line 39 of file ParameterDescriptionBase.h.
References type_.
Referenced by cuy.ValElement::__init__(), checkAndGetLabelsAndTypes_(), print_(), throwMissingRequiredNoDefault(), throwParameterWrongTrackiness(), throwParameterWrongType(), and writeCfi_().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Reimplemented in edm::ParameterDescription< std::vector< ParameterSet > >, and edm::ParameterDescription< ParameterSetDescription >.
Definition at line 107 of file ParameterDescriptionBase.cc.
References edm::ParameterDescriptionNode::exists(), edm::ParameterSet::exists(), exists_(), hasDefault(), insertDefault_(), isTracked(), label(), throwMissingRequiredNoDefault(), throwParameterWrongTrackiness(), and throwParameterWrongType().
|
privatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 133 of file ParameterDescriptionBase.cc.
References hasDefault(), isTracked(), label(), edm::parameterTypeEnumToString(), edm::ParameterDescriptionNode::printSpaces(), and type().
|
privatepure virtual |
|
privatepure virtual |
|
private |
Definition at line 106 of file ParameterDescriptionBase.h.
Referenced by hasDefault().
|
private |
Definition at line 105 of file ParameterDescriptionBase.h.
Referenced by isTracked().
|
private |
Definition at line 103 of file ParameterDescriptionBase.h.
Referenced by Mixins._Labelable::_findDependencies(), Mixins._TypedParameterizable::dumpPython(), label(), ParameterDescriptionBase(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 104 of file ParameterDescriptionBase.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().