#include <ParameterDescription.h>
Public Member Functions | |
ParameterDescriptionNode * | clone () const override |
T | getDefaultValue () const |
ParameterDescription (std::string const &iLabel, T const &value, bool isTracked, Comment const &iComment=Comment()) | |
ParameterDescription (char const *iLabel, T const &value, bool isTracked, Comment const &iComment=Comment()) | |
ParameterDescription (std::string const &iLabel, bool isTracked, Comment const &iComment=Comment()) | |
ParameterDescription (char const *iLabel, bool isTracked, Comment const &iComment=Comment()) | |
~ParameterDescription () override | |
Public Member Functions inherited from edm::ParameterDescriptionBase | |
bool | hasDefault () const |
bool | isTracked () const |
std::string const & | label () const |
virtual ParameterSetDescription const * | parameterSetDescription () const |
virtual ParameterSetDescription * | parameterSetDescription () |
ParameterTypes | type () const |
~ParameterDescriptionBase () override | |
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 | |
bool | exists_ (ParameterSet const &pset) const override |
bool | exists_ (ParameterSet const &pset, bool isTracked) const override |
bool | hasNestedContent_ () const override |
void | insertDefault_ (ParameterSet &pset) const override |
void | writeCfi_ (std::ostream &os, int indentation) const override |
void | writeDoc_ (std::ostream &os, int indentation) const override |
Private Attributes | |
T | value_ |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::ParameterDescriptionNode | |
static void | printSpaces (std::ostream &os, int n) |
Protected Member Functions inherited from edm::ParameterDescriptionBase | |
ParameterDescriptionBase (std::string const &iLabel, ParameterTypes iType, bool isTracked, bool hasDefault, Comment const &iComment) | |
ParameterDescriptionBase (char const *iLabel, ParameterTypes iType, bool isTracked, bool hasDefault, Comment const &iComment) | |
void | throwMissingRequiredNoDefault () const |
void | throwParameterWrongTrackiness () const |
void | throwParameterWrongType () const |
Protected Attributes inherited from edm::ParameterDescriptionNode | |
std::string | comment_ |
Definition at line 99 of file ParameterDescription.h.
|
inline |
Definition at line 102 of file ParameterDescription.h.
Referenced by edm::ParameterDescription< ParameterSetDescription >::insertDefault_(), edm::ParameterDescription< ParameterSetDescription >::ParameterDescription(), and edm::ParameterDescription< std::vector< ParameterSet > >::ParameterDescription().
|
inline |
Definition at line 118 of file ParameterDescription.h.
|
inline |
Definition at line 134 of file ParameterDescription.h.
|
inline |
Definition at line 149 of file ParameterDescription.h.
|
inlineoverride |
Definition at line 164 of file ParameterDescription.h.
Referenced by edm::ParameterDescription< ParameterSetDescription >::ParameterDescription(), and edm::ParameterDescription< std::vector< ParameterSet > >::ParameterDescription().
|
inlineoverridevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 166 of file ParameterDescription.h.
|
inlineoverrideprivatevirtual |
Implements edm::ParameterDescriptionNode.
Definition at line 174 of file ParameterDescription.h.
Referenced by edm::ParameterDescription< ParameterSetDescription >::printNestedContent_(), edm::ParameterDescription< std::vector< ParameterSet > >::printNestedContent_(), edm::ParameterDescription< ParameterSetDescription >::writeDoc_(), and edm::ParameterDescription< std::vector< ParameterSet > >::writeDoc_().
|
inlineoverrideprivatevirtual |
Implements edm::ParameterDescriptionBase.
Definition at line 191 of file ParameterDescription.h.
|
inline |
Definition at line 170 of file ParameterDescription.h.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::ParameterDescriptionNode.
Definition at line 178 of file ParameterDescription.h.
Referenced by edm::ParameterDescription< ParameterSetDescription >::printDefault_(), and edm::ParameterDescription< std::vector< ParameterSet > >::printDefault_().
|
inlineoverrideprivatevirtual |
Implements edm::ParameterDescriptionBase.
Definition at line 195 of file ParameterDescription.h.
Referenced by edm::ParameterDescription< ParameterSetDescription >::exists_(), and edm::ParameterDescription< std::vector< ParameterSet > >::exists_().
|
inlineoverrideprivatevirtual |
Implements edm::ParameterDescriptionBase.
Definition at line 183 of file ParameterDescription.h.
Referenced by edm::ParameterDescription< ParameterSetDescription >::parameterSetDescription(), and edm::ParameterDescription< std::vector< ParameterSet > >::writeOneElementToCfi().
|
inlineoverrideprivatevirtual |
Implements edm::ParameterDescriptionBase.
Definition at line 187 of file ParameterDescription.h.
Referenced by edm::ParameterDescription< ParameterSetDescription >::writeCfi_(), and edm::ParameterDescription< std::vector< ParameterSet > >::writeCfi_().
|
private |
Definition at line 204 of file ParameterDescription.h.
Referenced by edm::writeParameterValue::writeValue().