CMS 3D CMS Logo

VParameterSetEntry.h
Go to the documentation of this file.
1 #ifndef FWCore_ParameterSet_VParameterSetEntry_h
2 #define FWCore_ParameterSet_VParameterSetEntry_h
3 
14 
15 #include <iosfwd>
16 #include <string>
17 #include <vector>
18 
19 namespace edm {
20 
21  // forward declaration
22  class ParameterSet;
23 
25  public:
26  // default ctor for serialization
28  VParameterSetEntry(std::vector<ParameterSet> const& vpset, bool isTracked);
30 
31  ~VParameterSetEntry() = default;
32  VParameterSetEntry(VParameterSetEntry 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 tracked_; }
42 
44  std::vector<ParameterSet> const& vpset() const;
45  std::vector<ParameterSet>& vpsetForUpdate();
47  void fillVPSet() const;
49 
51 
53 
54  std::string dump(unsigned int indent = 0) const;
55  friend std::ostream& operator<<(std::ostream& os, VParameterSetEntry const& vpsetEntry);
56 
57  private:
58  bool tracked_;
61  };
62 } // namespace edm
63 #endif
friend std::ostream & operator<<(std::ostream &os, VParameterSetEntry const &vpsetEntry)
std::string dump(unsigned int indent=0) const
void fillVPSet() const
reconstitutes the VPSet from the registry
std::vector< ParameterSet > & vpsetForUpdate()
void toDigest(cms::Digest &digest) const
uint16_t size_type
VParameterSetEntry & operator=(VParameterSetEntry const &)=default
value_ptr< std::vector< ParameterSetID > > theIDs_
atomic_value_ptr< std::vector< ParameterSet > > theVPSet_
#define CMS_THREAD_SAFE
std::vector< ParameterSet > const & vpset() const
returns the VPSet
rep
Definition: cuy.py:1190
std::string toString() const
HLT enums.
std::vector< ParameterSet >::size_type size() const
ParameterSet & psetInVector(int i)