#include <ParameterSetEntry.h>
Public Member Functions | |
std::string | dump (unsigned int indent=0) const |
void | fillPSet () const |
reconstitutes the PSet from the registry More... | |
ParameterSetID | id () const |
bool | isTracked () const |
ParameterSetEntry & | operator= (ParameterSetEntry const &)=default |
ParameterSetEntry & | operator= (ParameterSetEntry &&)=default |
ParameterSetEntry () | |
ParameterSetEntry (ParameterSet const &pset, bool isTracked) | |
ParameterSetEntry (ParameterSetID const &id, bool isTracked) | |
ParameterSetEntry (std::string const &rep) | |
ParameterSetEntry (ParameterSetEntry const &)=default | |
ParameterSetEntry (ParameterSetEntry &&)=default | |
ParameterSet const & | pset () const |
returns the PSet More... | |
ParameterSet & | psetForUpdate () |
void | setIsTracked (bool v) |
void | toDigest (cms::Digest &digest) const |
std::string | toString () const |
void | toString (std::string &result) const |
void | updateID () |
~ParameterSetEntry ()=default | |
Private Attributes | |
bool | isTracked_ |
ParameterSetID | theID_ |
atomic_value_ptr< ParameterSet > | thePSet_ |
Friends | |
std::ostream & | operator<< (std::ostream &os, ParameterSetEntry const &psetEntry) |
Definition at line 22 of file ParameterSetEntry.h.
edm::ParameterSetEntry::ParameterSetEntry | ( | ) |
Definition at line 11 of file ParameterSetEntry.cc.
edm::ParameterSetEntry::ParameterSetEntry | ( | ParameterSet const & | pset, |
bool | isTracked | ||
) |
Definition at line 18 of file ParameterSetEntry.cc.
References edm::ParameterSet::id(), edm::ParameterSet::isRegistered(), and theID_.
edm::ParameterSetEntry::ParameterSetEntry | ( | ParameterSetID const & | id, |
bool | isTracked | ||
) |
Definition at line 28 of file ParameterSetEntry.cc.
|
explicit |
Definition at line 35 of file ParameterSetEntry.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, edm::Hash< I >::swap(), and theID_.
|
default |
|
default |
|
default |
std::string edm::ParameterSetEntry::dump | ( | unsigned int | indent = 0 | ) | const |
Definition at line 106 of file ParameterSetEntry.cc.
References edm::ParameterSet::dump(), isTracked(), and pset().
Referenced by edm::ParameterSet::dump(), and edm::operator<<().
void edm::ParameterSetEntry::fillPSet | ( | ) | const |
reconstitutes the PSet from the registry
Definition at line 90 of file ParameterSetEntry.cc.
References edm::getParameterSet(), theID_, thePSet_, and tmp.
Referenced by pset(), and psetForUpdate().
|
inline |
Definition at line 43 of file ParameterSetEntry.h.
References FrontierConditions_GlobalTag_cff::dump, summarizeEdmComparisonLogfiles::indent, cms::operator<<(), muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 40 of file ParameterSetEntry.h.
Referenced by Types.PSet::clone(), Mixins._ParameterTypeBase::configTypeName(), dump(), FWPSetTableManager::handlePSetEntry(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Types.double::insertInto(), Mixins.UsingBlock::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.EventID::insertInto(), Types.LuminosityBlockID::insertInto(), Types.LuminosityBlockRange::insertInto(), Types.EventRange::insertInto(), Types.InputTag::insertInto(), Types.ESInputTag::insertInto(), Types.FileInPath::insertInto(), Types.PSet::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), Types.vstring::insertInto(), Types.VLuminosityBlockID::insertInto(), Types.VInputTag::insertInto(), Types.VESInputTag::insertInto(), Types.VEventID::insertInto(), Types.VLuminosityBlockRange::insertInto(), Types.VEventRange::insertInto(), Types.VPSet::insertInto(), prettyPrint(), Mixins._ParameterTypeBase::pythonTypeName(), toDigest(), and toString().
|
default |
|
default |
ParameterSet const & edm::ParameterSetEntry::pset | ( | ) | const |
returns the PSet
Definition at line 80 of file ParameterSetEntry.cc.
References fillPSet(), and thePSet_.
Referenced by dump(), edm::ParameterSet::getParameterSet(), edm::ParameterSet::getUntrackedParameterSet(), prettyPrint(), and updateID().
ParameterSet & edm::ParameterSetEntry::psetForUpdate | ( | ) |
Definition at line 85 of file ParameterSetEntry.cc.
References fillPSet(), and thePSet_.
Referenced by FWPSetTableManager::handlePSetEntry().
|
inline |
void edm::ParameterSetEntry::toDigest | ( | cms::Digest & | digest | ) | const |
Definition at line 61 of file ParameterSetEntry.cc.
References cms::Digest::append(), Exception, isTracked(), edm::Hash< I >::isValid(), edm::errors::LogicError, AlCaHLTBitMon_QueryRunRegistry::string, theID_, and edm::Hash< I >::toDigest().
std::string edm::ParameterSetEntry::toString | ( | ) | const |
Definition at line 74 of file ParameterSetEntry.cc.
References mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::ParameterSet::getParameterAsString().
void edm::ParameterSetEntry::toString | ( | std::string & | result | ) | const |
Definition at line 48 of file ParameterSetEntry.cc.
References Exception, isTracked(), edm::Hash< I >::isValid(), edm::errors::LogicError, theID_, and edm::Hash< I >::toString().
void edm::ParameterSetEntry::updateID | ( | ) |
Definition at line 101 of file ParameterSetEntry.cc.
References edm::ParameterSet::id(), pset(), and theID_.
|
friend |
Definition at line 113 of file ParameterSetEntry.cc.
|
private |
Definition at line 58 of file ParameterSetEntry.h.
|
private |
Definition at line 63 of file ParameterSetEntry.h.
Referenced by fillPSet(), ParameterSetEntry(), toDigest(), toString(), and updateID().
|
mutableprivate |
Definition at line 61 of file ParameterSetEntry.h.
Referenced by fillPSet(), pset(), and psetForUpdate().