#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 13 of file IfExistsDescription.cc.
Referenced by clone().
edm::IfExistsDescription::IfExistsDescription | ( | std::unique_ptr< ParameterDescriptionNode > | node_left, |
ParameterDescriptionNode const & | node_right | ||
) |
Definition at line 17 of file IfExistsDescription.cc.
edm::IfExistsDescription::IfExistsDescription | ( | ParameterDescriptionNode const & | node_left, |
std::unique_ptr< ParameterDescriptionNode > | node_right | ||
) |
Definition at line 21 of file IfExistsDescription.cc.
edm::IfExistsDescription::IfExistsDescription | ( | std::unique_ptr< ParameterDescriptionNode > | node_left, |
std::unique_ptr< ParameterDescriptionNode > | node_right | ||
) |
Definition at line 25 of file IfExistsDescription.cc.
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 29 of file IfExistsDescription.cc.
References node_left_, node_right_, throwIfDuplicateLabels(), and throwIfDuplicateTypes().
Referenced by clone().
|
inlineoverridevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 31 of file IfExistsDescription.h.
References checkAndGetLabelsAndTypes_(), IfExistsDescription(), print_(), muonDTDigis_cfi::pset, validate_(), and writeCfi_().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 167 of file IfExistsDescription.cc.
References node_left_, and node_right_.
Referenced by hasNestedContent_().
|
inlineoverrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 44 of file IfExistsDescription.h.
References exists_(), howManyXORSubNodesExist_(), partiallyExists_(), printNestedContent_(), throwIfDuplicateLabels(), and throwIfDuplicateTypes().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 180 of file IfExistsDescription.cc.
References edm::ParameterDescriptionNode::exists().
Referenced by hasNestedContent_().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 178 of file IfExistsDescription.cc.
References edm::ParameterDescriptionNode::exists().
Referenced by hasNestedContent_().
|
overrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 83 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(), edm::DocFormatHelper::section(), edm::DocFormatHelper::startColumn2(), and edm::DocFormatHelper::wrapAndPrintText().
Referenced by clone().
|
overrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 121 of file IfExistsDescription.cc.
References edm::DocFormatHelper::brief(), edm::DocFormatHelper::counter(), 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_().
|
private |
Definition at line 182 of file IfExistsDescription.cc.
References Exception, and edm::errors::LogicError.
Referenced by checkAndGetLabelsAndTypes_(), and hasNestedContent_().
|
private |
Definition at line 202 of file IfExistsDescription.cc.
References Exception, edm::errors::LogicError, and edm::parameterTypeEnumToString().
Referenced by checkAndGetLabelsAndTypes_(), and hasNestedContent_().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 56 of file IfExistsDescription.cc.
References node_left_, and node_right_.
Referenced by clone().
|
overrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 75 of file IfExistsDescription.cc.
References node_left_, and node_right_.
Referenced by clone().
|
private |
Definition at line 59 of file IfExistsDescription.h.
Referenced by checkAndGetLabelsAndTypes_(), exists_(), printNestedContent_(), validate_(), and writeCfi_().
|
private |
Definition at line 60 of file IfExistsDescription.h.
Referenced by checkAndGetLabelsAndTypes_(), exists_(), printNestedContent_(), validate_(), and writeCfi_().