#include <IfExistsDescription.h>
Public Member Functions | |
ParameterDescriptionNode * | clone () const override |
IfExistsDescription (ParameterDescriptionNode const &node_left, ParameterDescriptionNode const &node_right) | |
IfExistsDescription (std::unique_ptr< ParameterDescriptionNode > node_left, ParameterDescriptionNode const &node_right) | |
IfExistsDescription (ParameterDescriptionNode const &node_left, std::unique_ptr< ParameterDescriptionNode > node_right) | |
IfExistsDescription (std::unique_ptr< ParameterDescriptionNode > node_left, std::unique_ptr< ParameterDescriptionNode > node_right) | |
Public Member Functions inherited from edm::ParameterDescriptionNode | |
void | checkAndGetLabelsAndTypes (std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const |
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 () |
Private Member Functions | |
void | checkAndGetLabelsAndTypes_ (std::set< std::string > &usedLabels, std::set< ParameterTypes > ¶meterTypes, std::set< ParameterTypes > &wildcardTypes) const override |
bool | exists_ (ParameterSet const &pset) const override |
bool | hasNestedContent_ () const override |
int | howManyXORSubNodesExist_ (ParameterSet const &pset) const override |
bool | partiallyExists_ (ParameterSet const &pset) const override |
void | print_ (std::ostream &os, bool optional, bool writeToCfi, DocFormatHelper &dfh) const override |
void | printNestedContent_ (std::ostream &os, bool optional, DocFormatHelper &dfh) const override |
void | throwIfDuplicateLabels (std::set< std::string > const &labelsLeft, std::set< std::string > const &labelsRight) const |
void | throwIfDuplicateTypes (std::set< ParameterTypes > const &types1, std::set< ParameterTypes > const &types2) const |
void | validate_ (ParameterSet &pset, std::set< std::string > &validatedLabels, bool optional) const override |
void | writeCfi_ (std::ostream &os, bool &startWithComma, int indentation, bool &wroteSomething) const override |
Private Attributes | |
edm::value_ptr< ParameterDescriptionNode > | node_left_ |
edm::value_ptr< ParameterDescriptionNode > | node_right_ |
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 18 of file IfExistsDescription.h.
edm::IfExistsDescription::IfExistsDescription | ( | ParameterDescriptionNode const & | node_left, |
ParameterDescriptionNode const & | node_right | ||
) |
Definition at line 14 of file IfExistsDescription.cc.
Referenced by clone(), and IfExistsDescription().
edm::IfExistsDescription::IfExistsDescription | ( | std::unique_ptr< ParameterDescriptionNode > | node_left, |
ParameterDescriptionNode const & | node_right | ||
) |
Definition at line 21 of file IfExistsDescription.cc.
References IfExistsDescription().
edm::IfExistsDescription::IfExistsDescription | ( | ParameterDescriptionNode const & | node_left, |
std::unique_ptr< ParameterDescriptionNode > | node_right | ||
) |
Definition at line 28 of file IfExistsDescription.cc.
References IfExistsDescription().
edm::IfExistsDescription::IfExistsDescription | ( | std::unique_ptr< ParameterDescriptionNode > | node_left, |
std::unique_ptr< ParameterDescriptionNode > | node_right | ||
) |
Definition at line 35 of file IfExistsDescription.cc.
References checkAndGetLabelsAndTypes_().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 43 of file IfExistsDescription.cc.
References node_left_, node_right_, throwIfDuplicateLabels(), throwIfDuplicateTypes(), and validate_().
Referenced by clone(), and IfExistsDescription().
|
inlineoverridevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 32 of file IfExistsDescription.h.
References checkAndGetLabelsAndTypes_(), IfExistsDescription(), print_(), muonDTDigis_cfi::pset, validate_(), and writeCfi_().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 205 of file IfExistsDescription.cc.
References node_left_, node_right_, and partiallyExists_().
Referenced by hasNestedContent_(), and printNestedContent_().
|
inlineoverrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 56 of file IfExistsDescription.h.
References exists_(), howManyXORSubNodesExist_(), partiallyExists_(), printNestedContent_(), throwIfDuplicateLabels(), and throwIfDuplicateTypes().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 222 of file IfExistsDescription.cc.
References edm::ParameterDescriptionNode::exists(), and throwIfDuplicateLabels().
Referenced by hasNestedContent_(), and partiallyExists_().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 216 of file IfExistsDescription.cc.
References edm::ParameterDescriptionNode::exists(), and howManyXORSubNodesExist_().
Referenced by exists_(), and hasNestedContent_().
|
overrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 109 of file IfExistsDescription.cc.
References edm::DocFormatHelper::brief(), edm::ParameterDescriptionNode::comment(), edm::DocFormatHelper::commentWidth(), edm::DocFormatHelper::counter(), relativeConstraints::empty, edm::DocFormatHelper::indent(), edm::DocFormatHelper::indent2(), edm::DocFormatHelper::pass(), printNestedContent_(), edm::DocFormatHelper::section(), edm::DocFormatHelper::startColumn2(), and edm::DocFormatHelper::wrapAndPrintText().
Referenced by clone(), and writeCfi_().
|
overrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 155 of file IfExistsDescription.cc.
References edm::DocFormatHelper::brief(), edm::DocFormatHelper::counter(), exists_(), edm::DocFormatHelper::indentation(), edm::DocFormatHelper::init(), node_left_, node_right_, edm::DocFormatHelper::offsetSectionContent(), edm::DocFormatHelper::OTHER, edm::DocFormatHelper::parent(), edm::ParameterDescriptionNode::printSpaces(), edm::DocFormatHelper::section(), edm::DocFormatHelper::setCounter(), edm::DocFormatHelper::setIndentation(), edm::DocFormatHelper::setParent(), edm::DocFormatHelper::setPass(), edm::DocFormatHelper::setSection(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::DocFormatHelper::TOP.
Referenced by hasNestedContent_(), and print_().
|
private |
Definition at line 228 of file IfExistsDescription.cc.
References Exception, edm::errors::LogicError, and throwIfDuplicateTypes().
Referenced by checkAndGetLabelsAndTypes_(), hasNestedContent_(), and howManyXORSubNodesExist_().
|
private |
Definition at line 256 of file IfExistsDescription.cc.
References Exception, edm::errors::LogicError, and edm::parameterTypeEnumToString().
Referenced by checkAndGetLabelsAndTypes_(), hasNestedContent_(), and throwIfDuplicateLabels().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 73 of file IfExistsDescription.cc.
References node_left_, node_right_, and writeCfi_().
Referenced by checkAndGetLabelsAndTypes_(), and clone().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 99 of file IfExistsDescription.cc.
References node_left_, node_right_, and print_().
Referenced by clone(), and validate_().
|
private |
Definition at line 76 of file IfExistsDescription.h.
Referenced by checkAndGetLabelsAndTypes_(), exists_(), printNestedContent_(), validate_(), and writeCfi_().
|
private |
Definition at line 77 of file IfExistsDescription.h.
Referenced by checkAndGetLabelsAndTypes_(), exists_(), printNestedContent_(), validate_(), and writeCfi_().