#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 |
virtual bool | isWildcard () 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, CfiOptions &options, 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 optional, bool &startWithComma, int indentation, CfiOptions &, bool &wroteSomething) const =0 |
Protected Attributes | |
std::string | comment_ |
Definition at line 205 of file ParameterDescriptionNode.h.
|
inline |
Definition at line 207 of file ParameterDescriptionNode.h.
|
inlineexplicit |
Definition at line 209 of file ParameterDescriptionNode.h.
|
virtual |
Definition at line 107 of file ParameterDescriptionNode.cc.
|
inline |
Definition at line 335 of file ParameterDescriptionNode.h.
References checkAndGetLabelsAndTypes_().
Referenced by edm::ParameterSetDescription::addNode(), and edm::AllowedLabelsDescriptionBase::checkAndGetLabelsAndTypes_().
|
protectedpure virtual |
Implemented in edm::PluginDescription< T >, edm::ParameterDescriptionBase, edm::ParameterSwitch< T >, edm::ParameterWildcardBase, edm::IfExistsDescription, edm::ANDGroupDescription, edm::XORGroupDescription, edm::ORGroupDescription, edm::AllowedLabelsDescriptionBase, and edm::EmptyGroupDescription.
Referenced by checkAndGetLabelsAndTypes().
|
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::IfExistsDescription, edm::ANDGroupDescription, edm::XORGroupDescription, edm::ORGroupDescription, edm::ParameterWildcardWithSpecifics, and edm::EmptyGroupDescription.
Referenced by edm::ParameterSetDescription::addNode(), edm::ParameterSetDescription::addOptionalNode(), and edm::operator>>().
|
inline |
Definition at line 215 of file ParameterDescriptionNode.h.
References comment_.
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 262 of file ParameterDescriptionNode.h.
References exists_(), and muonDTDigis_cfi::pset.
Referenced by edm::AllowedLabelsDescriptionBase::exists_(), edm::EmptyGroupDescription::howManyXORSubNodesExist_(), edm::AllowedLabelsDescriptionBase::howManyXORSubNodesExist_(), edm::ParameterWildcardBase::howManyXORSubNodesExist_(), edm::ORGroupDescription::howManyXORSubNodesExist_(), edm::IfExistsDescription::howManyXORSubNodesExist_(), edm::ANDGroupDescription::howManyXORSubNodesExist_(), edm::ParameterSwitchBase::howManyXORSubNodesExist_(), edm::ParameterDescriptionBase::howManyXORSubNodesExist_(), edm::PluginDescription< T >::howManyXORSubNodesExist_(), edm::EmptyGroupDescription::partiallyExists_(), edm::AllowedLabelsDescriptionBase::partiallyExists_(), edm::ParameterWildcardBase::partiallyExists_(), edm::ORGroupDescription::partiallyExists_(), edm::XORGroupDescription::partiallyExists_(), edm::IfExistsDescription::partiallyExists_(), edm::ParameterSwitchBase::partiallyExists_(), edm::ParameterDescriptionBase::partiallyExists_(), edm::AllowedLabelsDescriptionBase::validate_(), edm::ParameterDescriptionBase::validate_(), and edm::ParameterDescription< ParameterSetDescription >::validate_().
|
protectedpure virtual |
Implemented in edm::ParameterDescription< std::vector< ParameterSet > >, edm::PluginDescription< T >, edm::ParameterDescription< ParameterSetDescription >, edm::ParameterDescription< T >, edm::ParameterDescription< std::vector< std::string > >, edm::ParameterSwitch< T >, edm::ParameterWildcard< std::vector< ParameterSet > >, edm::ParameterWildcard< ParameterSetDescription >, edm::IfExistsDescription, edm::ANDGroupDescription, edm::XORGroupDescription, edm::ORGroupDescription, edm::AllowedLabelsDescriptionBase, edm::ParameterWildcard< T >, edm::EmptyGroupDescription, and edm::ParameterWildcardWithSpecifics.
Referenced by exists().
|
inline |
Definition at line 251 of file ParameterDescriptionNode.h.
References hasNestedContent_().
Referenced by print(), edm::ParameterWildcardBase::print_(), edm::ParameterDescriptionBase::printDefault_(), and printNestedContent().
|
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::IfExistsDescription, edm::ANDGroupDescription, edm::XORGroupDescription, edm::ORGroupDescription, edm::AllowedLabelsDescriptionBase, edm::ParameterSwitchBase, and edm::ParameterWildcardWithSpecifics.
Definition at line 360 of file ParameterDescriptionNode.h.
Referenced by hasNestedContent().
|
inline |
Definition at line 281 of file ParameterDescriptionNode.h.
References howManyXORSubNodesExist_(), and muonDTDigis_cfi::pset.
|
protectedpure virtual |
Implemented in edm::PluginDescription< T >, edm::ParameterDescriptionBase, edm::ParameterSwitchBase, edm::IfExistsDescription, edm::ANDGroupDescription, edm::XORGroupDescription, edm::ParameterWildcardBase, edm::ORGroupDescription, edm::AllowedLabelsDescriptionBase, and edm::EmptyGroupDescription.
Referenced by howManyXORSubNodesExist().
|
inlinevirtual |
Reimplemented in edm::ParameterWildcardBase.
Definition at line 341 of file ParameterDescriptionNode.h.
|
inline |
Definition at line 268 of file ParameterDescriptionNode.h.
References partiallyExists_(), and muonDTDigis_cfi::pset.
Referenced by edm::ANDGroupDescription::validate_().
|
protectedpure virtual |
Implemented in edm::PluginDescription< T >, edm::ParameterDescriptionBase, edm::ParameterSwitchBase, edm::IfExistsDescription, edm::ANDGroupDescription, edm::XORGroupDescription, edm::ParameterWildcardBase, edm::ORGroupDescription, edm::AllowedLabelsDescriptionBase, and edm::EmptyGroupDescription.
Referenced by partiallyExists().
void edm::ParameterDescriptionNode::print | ( | std::ostream & | os, |
bool | optional, | ||
bool | writeToCfi, | ||
DocFormatHelper & | dfh | ||
) | const |
Definition at line 113 of file ParameterDescriptionNode.cc.
References hasNestedContent(), edm::DocFormatHelper::incrementCounter(), Types::optional, l1tGTMenu_BTagSeeds_cff::os, and print_().
Referenced by edm::AllowedLabelsDescriptionBase::printNestedContentBase_().
|
inlineprotectedvirtual |
Reimplemented in edm::ParameterSwitch< T >, edm::ParameterDescriptionBase, edm::ParameterWildcardBase, edm::IfExistsDescription, edm::ANDGroupDescription, edm::XORGroupDescription, edm::ORGroupDescription, edm::AllowedLabelsDescriptionBase, and edm::EmptyGroupDescription.
Definition at line 358 of file ParameterDescriptionNode.h.
Referenced by print().
void edm::ParameterDescriptionNode::printNestedContent | ( | std::ostream & | os, |
bool | optional, | ||
DocFormatHelper & | dfh | ||
) | const |
Definition at line 120 of file ParameterDescriptionNode.cc.
References hasNestedContent(), edm::DocFormatHelper::incrementCounter(), Types::optional, l1tGTMenu_BTagSeeds_cff::os, and printNestedContent_().
|
inlineprotectedvirtual |
Reimplemented in edm::ParameterDescription< std::vector< ParameterSet > >, edm::ParameterDescription< ParameterSetDescription >, edm::PluginDescription< T >, edm::ParameterSwitch< T >, edm::ParameterWildcard< std::vector< ParameterSet > >, edm::ParameterDescriptionBase, edm::AllowedLabelsDescription< std::vector< ParameterSet > >, edm::ParameterWildcard< ParameterSetDescription >, edm::AllowedLabelsDescription< ParameterSetDescription >, edm::IfExistsDescription, edm::ANDGroupDescription, edm::XORGroupDescription, edm::ORGroupDescription, edm::AllowedLabelsDescriptionBase, and edm::ParameterWildcardWithSpecifics.
Definition at line 362 of file ParameterDescriptionNode.h.
Referenced by printNestedContent().
|
static |
Definition at line 127 of file ParameterDescriptionNode.cc.
References dqmiodumpmetadata::n, and l1tGTMenu_BTagSeeds_cff::os.
Referenced by edm::ParameterWildcardWithSpecifics::printNestedContent_(), edm::ORGroupDescription::printNestedContent_(), edm::IfExistsDescription::printNestedContent_(), edm::XORGroupDescription::printNestedContent_(), edm::ANDGroupDescription::printNestedContent_(), edm::AllowedLabelsDescription< ParameterSetDescription >::printNestedContent_(), edm::ParameterWildcard< ParameterSetDescription >::printNestedContent_(), edm::ParameterDescriptionBase::printNestedContent_(), edm::PluginDescription< T >::printNestedContent_(), edm::ParameterDescription< ParameterSetDescription >::printNestedContent_(), edm::ParameterSwitchBase::printNestedContentBase(), edm::AllowedLabelsDescriptionBase::printNestedContentBase_(), edm::ParameterWildcardBase::writeCfi_(), edm::ParameterDescriptionBase::writeFullCfi(), and edm::ParameterDescriptionBase::writeLabelValueCfi().
void edm::ParameterDescriptionNode::setComment | ( | std::string const & | value | ) |
Definition at line 109 of file ParameterDescriptionNode.cc.
References comment_, and relativeConstraints::value.
Referenced by ConfigToolBase.ConfigToolBase::apply(), hgcal::HGCalFrameGenerator::description(), reco::helper::JetIDHelper::fillDescription(), pat::helper::KinResolutionsLoader::fillDescription(), GEMSegmentBuilder::fillDescription(), ECFAdder::fillDescriptions(), PixelVertexCollectionTrimmer::fillDescriptions(), CTPPSOpticalFunctionsESSource::fillDescriptions(), PPSFilteredProtonProducer::fillDescriptions(), OnlineBeamSpotESProducer::fillDescriptions(), CTPPSDiamondLocalTrackFitter::fillDescriptions(), CaloTowerFromL1TSeededCreatorForTauHLT::fillDescriptions(), CaloTowerFromL1TCreatorForTauHLT::fillDescriptions(), CaloTowerCreatorForTauHLT::fillDescriptions(), PFProducer::fillDescriptions(), TotemVFATRawToDigi::fillDescriptions(), CTPPSCompositeESSource::fillDescriptions(), pat::PATPhotonProducer::fillDescriptions(), pat::PATTauProducer::fillDescriptions(), L1TrackSelectionProducer::fillDescriptions(), pat::PATElectronProducer::fillDescriptions(), L1TGlobalPrescaler::fillDescriptions(), pat::PATMuonProducer::fillDescriptions(), TotemTimingLocalTrackFitter< T >::fillDescriptionsShared(), VertexTimeAlgorithmFromTracksPID::fillPSetDescription(), ticl::PatternRecognitionbyCA< TILES >::fillPSetDescription(), ticl::PatternRecognitionbyFastJet< TILES >::fillPSetDescription(), and PFEGammaFilters::fillPSetDescription().
void edm::ParameterDescriptionNode::setComment | ( | char const * | value | ) |
Definition at line 111 of file ParameterDescriptionNode.cc.
References comment_, and relativeConstraints::value.
Referenced by ConfigToolBase.ConfigToolBase::apply().
|
inline |
Definition at line 225 of file ParameterDescriptionNode.h.
References Types::optional, muonDTDigis_cfi::pset, and validate_().
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::IfExistsDescription, edm::ANDGroupDescription, edm::XORGroupDescription, edm::ORGroupDescription, edm::AllowedLabelsDescriptionBase, edm::EmptyGroupDescription, and edm::ParameterWildcardWithSpecifics.
Referenced by validate().
|
inline |
Definition at line 239 of file ParameterDescriptionNode.h.
References printContent_cfi::indentation, Types::optional, l1tGTMenu_BTagSeeds_cff::os, and writeCfi_().
Referenced by edm::AllowedLabelsDescriptionBase::writeCfi_().
|
protectedpure virtual |
Implemented in edm::PluginDescription< T >, edm::ParameterSwitch< T >, edm::ParameterDescriptionBase, edm::ParameterWildcardBase, edm::IfExistsDescription, edm::ANDGroupDescription, edm::XORGroupDescription, edm::ORGroupDescription, edm::AllowedLabelsDescriptionBase, and edm::EmptyGroupDescription.
Referenced by writeCfi().
|
protected |
Definition at line 370 of file ParameterDescriptionNode.h.
Referenced by comment(), and setComment().