CMS 3D CMS Logo

ParameterSetEntry.h
Go to the documentation of this file.
1 #ifndef ParameterSet_ParameterSetEntry_h
2 #define ParameterSet_ParameterSetEntry_h
3 
13 
14 namespace cms {
15  class Digest;
16 }
17 
18 namespace edm {
19 
20  // forward declaration
21  class ParameterSet;
22 
24  public:
25  // default ctor for serialization
29  explicit ParameterSetEntry(std::string const& rep);
30 
31  ~ParameterSetEntry() = default;
32  ParameterSetEntry(ParameterSetEntry const&) = default;
36 
37  std::string toString() const;
38  void toString(std::string& result) const;
39  void toDigest(cms::Digest& digest) const;
40 
41  bool isTracked() const { return isTracked_; }
42  void setIsTracked(bool v) { isTracked_ = v; }
43 
44  ParameterSetID id() const { return theID_; }
45 
47  ParameterSet const& pset() const;
50  void fillPSet() const;
51 
52  void updateID();
53 
54  std::string dump(unsigned int indent = 0) const;
55  friend std::ostream& operator<<(std::ostream& os, ParameterSetEntry const& psetEntry);
56 
57  private:
58  bool isTracked_;
59  // can be internally reconstituted from the ID, in an
60  // ostensibly const function
62 
64  };
65 
66 } // namespace edm
67 
68 #endif
edm::ParameterSetEntry::isTracked_
bool isTracked_
Definition: ParameterSetEntry.h:58
edm::ParameterSetEntry::~ParameterSetEntry
~ParameterSetEntry()=default
edm
HLT enums.
Definition: AlignableModifier.h:19
atomic_value_ptr.h
edm::ParameterSetEntry::fillPSet
void fillPSet() const
reconstitutes the PSet from the registry
Definition: ParameterSetEntry.cc:69
edm::ParameterSetEntry::psetForUpdate
ParameterSet & psetForUpdate()
Definition: ParameterSetEntry.cc:64
findQualityFiles.v
v
Definition: findQualityFiles.py:179
edm::ParameterSetEntry::operator<<
friend std::ostream & operator<<(std::ostream &os, ParameterSetEntry const &psetEntry)
Definition: ParameterSetEntry.cc:92
edm::ParameterSetEntry::ParameterSetEntry
ParameterSetEntry()
Definition: ParameterSetEntry.cc:11
edm::ParameterSetEntry::theID_
ParameterSetID theID_
Definition: ParameterSetEntry.h:63
edm::atomic_value_ptr
Definition: atomic_value_ptr.h:45
cms::Digest
Definition: Digest.h:46
edm::ParameterSetEntry::thePSet_
atomic_value_ptr< ParameterSet > thePSet_
Definition: ParameterSetEntry.h:61
edm::Hash< ParameterSetType >
CMS_THREAD_SAFE
#define CMS_THREAD_SAFE
Definition: thread_safety_macros.h:4
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
ParameterSet
Definition: Functions.h:16
thread_safety_macros.h
cuy.rep
rep
Definition: cuy.py:1190
edm::ParameterSetEntry::isTracked
bool isTracked() const
Definition: ParameterSetEntry.h:41
edm::ParameterSetEntry::operator=
ParameterSetEntry & operator=(ParameterSetEntry const &)=default
edm::ParameterSetEntry::setIsTracked
void setIsTracked(bool v)
Definition: ParameterSetEntry.h:42
edm::ParameterSetEntry::toString
std::string toString() const
Definition: ParameterSetEntry.cc:53
edm::ParameterSetEntry::updateID
void updateID()
Definition: ParameterSetEntry.cc:80
edm::ParameterSetEntry::pset
ParameterSet const & pset() const
returns the PSet
Definition: ParameterSetEntry.cc:59
util.rrClient.indent
indent
Definition: rrClient.py:41
edm::ParameterSetEntry
Definition: ParameterSetEntry.h:23
ParameterSetID.h
mps_fire.result
result
Definition: mps_fire.py:303
edm::ParameterSetEntry::id
ParameterSetID id() const
Definition: ParameterSetEntry.h:44
edm::ParameterSetEntry::dump
std::string dump(unsigned int indent=0) const
Definition: ParameterSetEntry.cc:85
edm::ParameterSetEntry::toDigest
void toDigest(cms::Digest &digest) const
Definition: ParameterSetEntry.cc:42
cms
Namespace of DDCMS conversion namespace.
Definition: ProducerAnalyzer.cc:21