#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 () | |
ParameterSetEntry (ParameterSet const &pset, bool isTracked) | |
ParameterSetEntry (ParameterSetID const &id, bool isTracked) | |
ParameterSetEntry (std::string const &rep) | |
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 () | |
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 assert(), AlCaHLTBitMon_QueryRunRegistry::string, edm::Hash< I >::swap(), and theID_.
edm::ParameterSetEntry::~ParameterSetEntry | ( | ) |
Definition at line 47 of file ParameterSetEntry.cc.
std::string edm::ParameterSetEntry::dump | ( | unsigned int | indent = 0 | ) | const |
Definition at line 108 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 92 of file ParameterSetEntry.cc.
References edm::getParameterSet(), theID_, thePSet_, and tmp.
Referenced by pset(), and psetForUpdate().
|
inline |
|
inline |
Definition at line 36 of file ParameterSetEntry.h.
References isTracked_.
Referenced by Types.PSet::clone(), Mixins._ParameterTypeBase::configTypeName(), dump(), FWPSetTableManager::handlePSetEntry(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Mixins.UsingBlock::insertInto(), Types.double::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().
ParameterSet const & edm::ParameterSetEntry::pset | ( | ) | const |
returns the PSet
Definition at line 82 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 87 of file ParameterSetEntry.cc.
References fillPSet(), and thePSet_.
Referenced by FWPSetTableManager::handlePSetEntry().
|
inline |
void edm::ParameterSetEntry::toDigest | ( | cms::Digest & | digest | ) | const |
Definition at line 63 of file ParameterSetEntry.cc.
References cms::Digest::append(), edm::hlt::Exception, isTracked(), edm::Hash< I >::isValid(), edm::errors::LogicError, theID_, and edm::Hash< I >::toDigest().
std::string edm::ParameterSetEntry::toString | ( | ) | const |
Definition at line 76 of file ParameterSetEntry.cc.
References query::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::ParameterSet::getParameterAsString().
void edm::ParameterSetEntry::toString | ( | std::string & | result | ) | const |
Definition at line 50 of file ParameterSetEntry.cc.
References edm::hlt::Exception, isTracked(), edm::Hash< I >::isValid(), edm::errors::LogicError, theID_, and edm::Hash< I >::toString().
void edm::ParameterSetEntry::updateID | ( | ) |
Definition at line 103 of file ParameterSetEntry.cc.
References assert(), edm::ParameterSet::id(), pset(), and theID_.
|
friend |
Definition at line 115 of file ParameterSetEntry.cc.
|
private |
Definition at line 54 of file ParameterSetEntry.h.
Referenced by isTracked(), and setIsTracked().
|
private |
Definition at line 59 of file ParameterSetEntry.h.
Referenced by fillPSet(), id(), ParameterSetEntry(), toDigest(), toString(), and updateID().
|
mutableprivate |
Definition at line 57 of file ParameterSetEntry.h.
Referenced by fillPSet(), pset(), and psetForUpdate().