CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ParameterSetEntry.h
Go to the documentation of this file.
1 #ifndef ParameterSet_ParameterSetEntry_h
2 #define ParameterSet_ParameterSetEntry_h
3 
12 
13 namespace cms {
14  class Digest;
15 }
16 
17 namespace edm {
18 
19  // forward declaration
20  class ParameterSet;
21 
23  public:
24  // default ctor for serialization
27  ParameterSetEntry(ParameterSetID const& id, bool isTracked);
28  explicit ParameterSetEntry(std::string const& rep);
29 
31 
32  std::string toString() const;
33  void toString(std::string& result) const;
34  void toDigest(cms::Digest &digest) const;
35 
36  bool isTracked() const {return isTracked_;}
37  void setIsTracked(bool v) { isTracked_ = v; }
38 
39  ParameterSetID id() const {return theID_;}
40 
42  ParameterSet const& pset() const;
45  void fillPSet() const;
46 
47  void updateID();
48 
49  std::string dump(unsigned int indent = 0) const;
50  friend std::ostream & operator<<(std::ostream & os, ParameterSetEntry const& psetEntry);
51 
52  private:
53 
54  bool isTracked_;
55  // can be internally reconstituted from the ID, in an
56  // ostensibly const function
58 
60  };
61 
62 }
63 
64 #endif
65 
string rep
Definition: cuy.py:1188
std::string dump(unsigned int indent=0) const
tuple result
Definition: mps_fire.py:95
ParameterSet const & pset() const
returns the PSet
void toDigest(cms::Digest &digest) const
void fillPSet() const
reconstitutes the PSet from the registry
atomic_value_ptr< ParameterSet > thePSet_
std::string toString() const
ParameterSetID id() const
friend std::ostream & operator<<(std::ostream &os, ParameterSetEntry const &psetEntry)
ParameterSet & psetForUpdate()