#include <ParameterDescriptionNode.h>
Public Member Functions | |
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 () |
Static Public Member Functions | |
static void | printSpaces (std::ostream &os, int n) |
Protected Member Functions | |
virtual void | checkAndGetLabelsAndTypes_ (std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const =0 |
virtual bool | exists_ (ParameterSet const &pset) const =0 |
virtual bool | hasNestedContent_ () const |
virtual int | howManyXORSubNodesExist_ (ParameterSet const &pset) const =0 |
virtual bool | partiallyExists_ (ParameterSet const &pset) const =0 |
virtual void | print_ (std::ostream &, bool, bool, DocFormatHelper &) const |
virtual void | printNestedContent_ (std::ostream &, bool, DocFormatHelper &) const |
virtual void | validate_ (ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const =0 |
virtual void | writeCfi_ (std::ostream &os, bool &startWithComma, int indentation, bool &wroteSomething) const =0 |
Protected Attributes | |
std::string | comment_ |
Definition at line 80 of file ParameterDescriptionNode.h.
|
inline |
Definition at line 82 of file ParameterDescriptionNode.h.
|
inlineexplicit |
Definition at line 84 of file ParameterDescriptionNode.h.
References clone().
|
virtual |
Definition at line 99 of file ParameterDescriptionNode.cc.
|
inline |
Definition at line 205 of file ParameterDescriptionNode.h.
References gen::n, and muonDTDigis_cfi::pset.
Referenced by edm::ParameterSetDescription::addNode(), and edm::AllowedLabelsDescriptionBase::checkAndGetLabelsAndTypes_().
|
protectedpure virtual |
|
pure virtual |
Implemented in edm::ParameterDescription< std::vector< ParameterSet > >, edm::ParameterDescription< ParameterSetDescription >, edm::ParameterDescription< T >, edm::ParameterDescription< std::vector< std::string > >, edm::PluginDescription< T >, edm::ParameterWildcard< std::vector< ParameterSet > >, edm::AllowedLabelsDescription< std::vector< ParameterSet > >, edm::ParameterWildcard< ParameterSetDescription >, edm::AllowedLabelsDescription< ParameterSetDescription >, edm::ParameterSwitch< T >, edm::ParameterWildcard< T >, edm::AllowedLabelsDescription< T >, edm::ANDGroupDescription, edm::IfExistsDescription, edm::XORGroupDescription, edm::ORGroupDescription, and edm::EmptyGroupDescription.
Referenced by edm::ParameterSetDescription::addNode(), edm::ParameterSetDescription::addOptionalNode(), edm::value_ptr_traits< ParameterDescriptionNode >::clone(), and edm::operator>>().
|
inline |
Definition at line 90 of file ParameterDescriptionNode.h.
References AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::AllowedLabelsDescriptionBase::print_(), edm::ORGroupDescription::print_(), edm::XORGroupDescription::print_(), edm::ANDGroupDescription::print_(), edm::IfExistsDescription::print_(), edm::ParameterWildcardBase::print_(), edm::ParameterDescriptionBase::print_(), and edm::ParameterSwitchBase::printBase().
|
inline |
Definition at line 132 of file ParameterDescriptionNode.h.
Referenced by edm::AllowedLabelsDescriptionBase::exists_(), edm::EmptyGroupDescription::howManyXORSubNodesExist_(), edm::ParameterWildcardBase::howManyXORSubNodesExist_(), edm::AllowedLabelsDescriptionBase::howManyXORSubNodesExist_(), edm::ORGroupDescription::howManyXORSubNodesExist_(), edm::IfExistsDescription::howManyXORSubNodesExist_(), edm::ANDGroupDescription::howManyXORSubNodesExist_(), edm::ParameterDescriptionBase::howManyXORSubNodesExist_(), edm::ParameterSwitchBase::howManyXORSubNodesExist_(), edm::PluginDescription< T >::howManyXORSubNodesExist_(), edm::EmptyGroupDescription::partiallyExists_(), edm::ParameterWildcardBase::partiallyExists_(), edm::AllowedLabelsDescriptionBase::partiallyExists_(), edm::ORGroupDescription::partiallyExists_(), edm::XORGroupDescription::partiallyExists_(), edm::IfExistsDescription::partiallyExists_(), edm::ParameterDescriptionBase::partiallyExists_(), edm::ParameterSwitchBase::partiallyExists_(), edm::AllowedLabelsDescriptionBase::validate_(), edm::ParameterDescriptionBase::validate_(), edm::ParameterDescription< ParameterSetDescription >::validate_(), and edm::ParameterDescription< std::vector< ParameterSet > >::validate_().
|
protectedpure virtual |
Implemented in edm::ParameterDescription< std::vector< ParameterSet > >, edm::ParameterDescription< ParameterSetDescription >, edm::PluginDescription< T >, edm::ParameterDescription< T >, edm::ParameterDescription< std::vector< std::string > >, edm::ParameterSwitch< T >, edm::ParameterWildcard< std::vector< ParameterSet > >, edm::ParameterWildcard< ParameterSetDescription >, edm::ANDGroupDescription, edm::IfExistsDescription, edm::XORGroupDescription, edm::ORGroupDescription, edm::AllowedLabelsDescriptionBase, edm::ParameterWildcard< T >, and edm::EmptyGroupDescription.
Referenced by edm::ParameterDescriptionBase::parameterSetDescription().
|
inline |
Definition at line 121 of file ParameterDescriptionNode.h.
Referenced by edm::ParameterWildcardBase::print_(), and edm::ParameterDescriptionBase::printDefault_().
|
inlineprotectedvirtual |
Reimplemented in edm::ParameterDescription< std::vector< ParameterSet > >, edm::ParameterDescription< ParameterSetDescription >, edm::ParameterDescription< T >, edm::ParameterDescription< std::vector< std::string > >, edm::PluginDescription< T >, edm::ParameterWildcard< std::vector< ParameterSet > >, edm::ParameterWildcard< ParameterSetDescription >, edm::ParameterSwitchBase, edm::ANDGroupDescription, edm::IfExistsDescription, edm::XORGroupDescription, edm::ORGroupDescription, and edm::AllowedLabelsDescriptionBase.
Definition at line 224 of file ParameterDescriptionNode.h.
|
inline |
Definition at line 151 of file ParameterDescriptionNode.h.
|
protectedpure virtual |
|
inline |
Definition at line 138 of file ParameterDescriptionNode.h.
Referenced by edm::ANDGroupDescription::validate_().
|
protectedpure virtual |
void edm::ParameterDescriptionNode::print | ( | std::ostream & | os, |
bool | optional, | ||
bool | writeToCfi, | ||
DocFormatHelper & | dfh | ||
) | const |
Definition at line 105 of file ParameterDescriptionNode.cc.
References edm::writeParameterValue::hasNestedContent(), edm::DocFormatHelper::incrementCounter(), and edm::hash_detail::print_().
Referenced by edm::AllowedLabelsDescriptionBase::printNestedContentBase_().
|
inlineprotectedvirtual |
Reimplemented in edm::ParameterSwitch< T >, edm::ParameterDescriptionBase, edm::ParameterWildcardBase, edm::ANDGroupDescription, edm::IfExistsDescription, edm::XORGroupDescription, edm::ORGroupDescription, edm::AllowedLabelsDescriptionBase, and edm::EmptyGroupDescription.
Definition at line 222 of file ParameterDescriptionNode.h.
void edm::ParameterDescriptionNode::printNestedContent | ( | std::ostream & | os, |
bool | optional, | ||
DocFormatHelper & | dfh | ||
) | const |
Definition at line 112 of file ParameterDescriptionNode.cc.
References edm::writeParameterValue::hasNestedContent(), and edm::DocFormatHelper::incrementCounter().
|
inlineprotectedvirtual |
Reimplemented in edm::ParameterDescription< std::vector< ParameterSet > >, edm::ParameterDescription< ParameterSetDescription >, edm::PluginDescription< T >, edm::ParameterWildcard< std::vector< ParameterSet > >, edm::ParameterSwitch< T >, edm::AllowedLabelsDescription< std::vector< ParameterSet > >, edm::ParameterWildcard< ParameterSetDescription >, edm::ParameterDescriptionBase, edm::AllowedLabelsDescription< ParameterSetDescription >, edm::ANDGroupDescription, edm::IfExistsDescription, edm::XORGroupDescription, edm::ORGroupDescription, and edm::AllowedLabelsDescriptionBase.
Definition at line 226 of file ParameterDescriptionNode.h.
|
static |
Definition at line 119 of file ParameterDescriptionNode.cc.
Referenced by edm::ORGroupDescription::printNestedContent_(), edm::XORGroupDescription::printNestedContent_(), edm::ANDGroupDescription::printNestedContent_(), edm::IfExistsDescription::printNestedContent_(), edm::AllowedLabelsDescription< ParameterSetDescription >::printNestedContent_(), edm::ParameterDescriptionBase::printNestedContent_(), edm::ParameterWildcard< ParameterSetDescription >::printNestedContent_(), edm::AllowedLabelsDescription< std::vector< ParameterSet > >::printNestedContent_(), edm::ParameterWildcard< std::vector< ParameterSet > >::printNestedContent_(), edm::PluginDescription< T >::printNestedContent_(), edm::ParameterDescription< ParameterSetDescription >::printNestedContent_(), edm::ParameterDescription< std::vector< ParameterSet > >::printNestedContent_(), edm::ParameterSwitchBase::printNestedContentBase(), edm::AllowedLabelsDescriptionBase::printNestedContentBase_(), edm::ParameterDescriptionBase::writeCfi_(), edm::ParameterDescription< std::vector< ParameterSet > >::writeCfi_(), and edm::ParameterDescription< std::vector< ParameterSet > >::writeOneElementToCfi().
void edm::ParameterDescriptionNode::setComment | ( | std::string const & | value | ) |
Definition at line 101 of file ParameterDescriptionNode.cc.
References edm::Comment::comment_, and relativeConstraints::value.
Referenced by edm::EventSkipperByID::fillDescription(), reco::helper::JetIDHelper::fillDescription(), edm::RunHelperBase::fillDescription(), pat::helper::KinResolutionsLoader::fillDescription(), edm::ProducerSourceBase::fillDescription(), L1TStage2RatioClient::fillDescriptions(), MeasurementTrackerEventProducer::fillDescriptions(), CTPPSModifiedOpticalFunctionsESSource::fillDescriptions(), ECFAdder::fillDescriptions(), L1TStage2RegionalMuonCandComp::fillDescriptions(), L1TStage2MuonComp::fillDescriptions(), CTPPSOpticalFunctionsESSource::fillDescriptions(), L2TauJetsMerger::fillDescriptions(), PPSFilteredProtonProducer::fillDescriptions(), L1THLTTauMatching::fillDescriptions(), L1HLTTauMatching::fillDescriptions(), HLTDiJetEtaTopologyFilter< T >::fillDescriptions(), PixelFitterByHelixProjectionsProducer::fillDescriptions(), edm::AsciiOutputModule::fillDescriptions(), CTPPSLHCInfoRandomXangleESSource::fillDescriptions(), PFJetsTauOverlapRemoval::fillDescriptions(), TauJetSelectorForHLTTrackSeeding::fillDescriptions(), edm::service::ResourceEnforcer::fillDescriptions(), PFTauL1TJetsMatching::fillDescriptions(), BeamDivergenceVtxGenerator::fillDescriptions(), L2TauPixelIsoTagProducer::fillDescriptions(), CTPPSLocalTrackLiteProducer::fillDescriptions(), L1TObjectsTiming::fillDescriptions(), CaloTowerCreatorForTauHLT::fillDescriptions(), CTPPSProtonProducer::fillDescriptions(), MuonFSRProducer::fillDescriptions(), PPSTimingCalibrationESSource::fillDescriptions(), CTPPSProtonReconstructionEfficiencyEstimatorData::fillDescriptions(), TriggerResultsFilterFromDB::fillDescriptions(), FedRawDataInputSource::fillDescriptions(), TriggerResultsFilter::fillDescriptions(), PixelVertexCollectionTrimmer::fillDescriptions(), HLTL1MuonNoL2Selector::fillDescriptions(), edm::EventSetupRecordDataGetter::fillDescriptions(), edm::service::Timing::fillDescriptions(), pat::PATTauProducer::fillDescriptions(), L1TJetsMatching< T >::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), pat::PATElectronProducer::fillDescriptions(), ExternalLHEProducer::fillDescriptions(), pat::PATMuonProducer::fillDescriptions(), TriggerSummaryProducerAOD::fillDescriptions(), TrackingRegionsFromSuperClustersProducer::fillDescriptions(), L1TGlobalPrescaler::fillDescriptions(), FastTimerService::fillDescriptions(), edm::EventContentAnalyzer::fillDescriptions(), GenWeightsTableProducer::fillDescriptions(), CTPPSProtonProducer::AssociationCuts::getDefaultParameters(), and BaseMVAValueMapProducer< T >::getDescription().
void edm::ParameterDescriptionNode::setComment | ( | char const * | value | ) |
Definition at line 103 of file ParameterDescriptionNode.cc.
References edm::Comment::comment_, and relativeConstraints::value.
|
inline |
Definition at line 100 of file ParameterDescriptionNode.h.
Referenced by edm::AllowedLabelsDescriptionBase::validate_().
|
protectedpure virtual |
Implemented in edm::ParameterDescription< std::vector< ParameterSet > >, edm::ParameterDescription< ParameterSetDescription >, edm::PluginDescription< T >, edm::ParameterWildcard< std::vector< ParameterSet > >, edm::ParameterWildcard< ParameterSetDescription >, edm::ParameterSwitch< T >, edm::ParameterDescriptionBase, edm::ParameterWildcard< T >, edm::ANDGroupDescription, edm::IfExistsDescription, edm::XORGroupDescription, edm::ORGroupDescription, edm::AllowedLabelsDescriptionBase, and edm::EmptyGroupDescription.
|
inline |
Definition at line 114 of file ParameterDescriptionNode.h.
References edm::print().
Referenced by edm::AllowedLabelsDescriptionBase::writeCfi_().
|
protectedpure virtual |
|
protected |
Definition at line 234 of file ParameterDescriptionNode.h.