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);
29  VParameterSetEntry(std::string_view rep);
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)
void toDigest(cms::Digest &digest) const
std::vector< ParameterSet > const & vpset() const
returns the VPSet
std::vector< ParameterSet > & vpsetForUpdate()
uint16_t size_type
VParameterSetEntry & operator=(VParameterSetEntry const &)=default
std::string toString() const
value_ptr< std::vector< ParameterSetID > > theIDs_
atomic_value_ptr< std::vector< ParameterSet > > theVPSet_
#define CMS_THREAD_SAFE
rep
Definition: cuy.py:1189
void fillVPSet() const
reconstitutes the VPSet from the registry
std::string dump(unsigned int indent=0) const
HLT enums.
ParameterSet & psetInVector(int i)
std::vector< ParameterSet >::size_type size() const