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 
13 
14 #include <iosfwd>
15 #include <string>
16 #include <vector>
17 
18 namespace edm {
19 
20  // forward declaration
21  class ParameterSet;
22 
24  public:
25  // default ctor for serialization
27  VParameterSetEntry(std::vector<ParameterSet> const& vpset, bool isTracked);
29 
30  ~VParameterSetEntry() = default;
31  VParameterSetEntry(VParameterSetEntry const&) = default;
35 
36  std::string toString() const;
37  void toString(std::string& result) const;
38  void toDigest(cms::Digest &digest) const;
39 
40  bool isTracked() const {return tracked_;}
41 
43  std::vector<ParameterSet> const& vpset() const;
44  std::vector<ParameterSet>& vpsetForUpdate();
46  void fillVPSet() const;
48 
50 
52 
53  std::string dump(unsigned int indent = 0) const;
54  friend std::ostream& operator<<(std::ostream& os, VParameterSetEntry const& vpsetEntry);
55 
56  private:
57 
58  bool tracked_;
61  };
62 }
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_
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)