#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 &&)=default |
ParameterSetEntry & | operator= (ParameterSetEntry const &)=default |
ParameterSetEntry () | |
ParameterSetEntry (ParameterSet const &pset, bool isTracked) | |
ParameterSetEntry (ParameterSetEntry &&)=default | |
ParameterSetEntry (ParameterSetEntry const &)=default | |
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 ()=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 23 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 13 of file ParameterSetEntry.cc.
References edm::ParameterSet::id(), edm::ParameterSet::isRegistered(), pset(), and theID_.
edm::ParameterSetEntry::ParameterSetEntry | ( | ParameterSetID const & | id, |
bool | isTracked | ||
) |
Definition at line 20 of file ParameterSetEntry.cc.
|
explicit |
Definition at line 23 of file ParameterSetEntry.cc.
References cms::cuda::assert(), cuy::rep, 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 85 of file ParameterSetEntry.cc.
References edm::ParameterSet::dump(), util.rrClient::indent, 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 69 of file ParameterSetEntry.cc.
References edm::getParameterSet(), theID_, thePSet_, and createJobs::tmp.
Referenced by pset(), and psetForUpdate().
|
inline |
|
inline |
Definition at line 41 of file ParameterSetEntry.h.
References isTracked_.
Referenced by Types.PSet::clone(), Mixins._ParameterTypeBase::configTypeName(), dump(), Mixins.UsingBlock::insertInto(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::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().
|
default |
|
default |
ParameterSet const & edm::ParameterSetEntry::pset | ( | ) | const |
returns the PSet
Definition at line 59 of file ParameterSetEntry.cc.
References fillPSet(), and thePSet_.
Referenced by dump(), edm::ParameterSet::getParameterSet(), edm::ParameterSet::getUntrackedParameterSet(), ParameterSetEntry(), prettyPrint(), and updateID().
ParameterSet & edm::ParameterSetEntry::psetForUpdate | ( | ) |
Definition at line 64 of file ParameterSetEntry.cc.
References fillPSet(), and thePSet_.
|
inline |
void edm::ParameterSetEntry::toDigest | ( | cms::Digest & | digest | ) | const |
Definition at line 42 of file ParameterSetEntry.cc.
References cms::Digest::append(), Exception, isTracked(), edm::Hash< I >::isValid(), edm::errors::LogicError, theID_, and edm::Hash< I >::toDigest().
std::string edm::ParameterSetEntry::toString | ( | ) | const |
Definition at line 53 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 31 of file ParameterSetEntry.cc.
References Exception, isTracked(), edm::Hash< I >::isValid(), edm::errors::LogicError, mps_fire::result, theID_, and edm::Hash< I >::toString().
void edm::ParameterSetEntry::updateID | ( | ) |
Definition at line 80 of file ParameterSetEntry.cc.
References cms::cuda::assert(), edm::ParameterSet::id(), pset(), and theID_.
|
friend |
Definition at line 92 of file ParameterSetEntry.cc.
|
private |
Definition at line 58 of file ParameterSetEntry.h.
Referenced by isTracked(), and setIsTracked().
|
private |
Definition at line 63 of file ParameterSetEntry.h.
Referenced by fillPSet(), id(), ParameterSetEntry(), toDigest(), toString(), and updateID().
|
mutableprivate |
Definition at line 61 of file ParameterSetEntry.h.
Referenced by fillPSet(), pset(), and psetForUpdate().