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
edm::VParameterSetEntry::tracked_
bool tracked_
Definition: VParameterSetEntry.h:58
mps_fire.i
i
Definition: mps_fire.py:355
edm::VParameterSetEntry::dump
std::string dump(unsigned int indent=0) const
Definition: VParameterSetEntry.cc:119
edm::VParameterSetEntry::size
std::vector< ParameterSet >::size_type size() const
Definition: VParameterSetEntry.cc:105
edm::VParameterSetEntry::vpsetForUpdate
std::vector< ParameterSet > & vpsetForUpdate()
Definition: VParameterSetEntry.cc:76
edm
HLT enums.
Definition: AlignableModifier.h:19
atomic_value_ptr.h
edm::VParameterSetEntry::isTracked
bool isTracked() const
Definition: VParameterSetEntry.h:41
edm::VParameterSetEntry::psetInVector
ParameterSet & psetInVector(int i)
Definition: VParameterSetEntry.cc:100
edm::VParameterSetEntry::VParameterSetEntry
VParameterSetEntry()
Definition: VParameterSetEntry.cc:12
edm::VParameterSetEntry::vpset
std::vector< ParameterSet > const & vpset() const
returns the VPSet
Definition: VParameterSetEntry.cc:67
edm::VParameterSetEntry::theIDs_
value_ptr< std::vector< ParameterSetID > > theIDs_
Definition: VParameterSetEntry.h:60
edm::VParameterSetEntry::theVPSet_
atomic_value_ptr< std::vector< ParameterSet > > theVPSet_
Definition: VParameterSetEntry.h:59
trigger::size_type
uint16_t size_type
Definition: TriggerTypeDefs.h:18
edm::atomic_value_ptr
Definition: atomic_value_ptr.h:45
cms::Digest
Definition: Digest.h:46
edm::VParameterSetEntry::operator<<
friend std::ostream & operator<<(std::ostream &os, VParameterSetEntry const &vpsetEntry)
Definition: VParameterSetEntry.cc:137
CMS_THREAD_SAFE
#define CMS_THREAD_SAFE
Definition: thread_safety_macros.h:4
edm::VParameterSetEntry::fillVPSet
void fillVPSet() const
reconstitutes the VPSet from the registry
Definition: VParameterSetEntry.cc:81
value_ptr.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:36
ParameterSet
Definition: Functions.h:16
edm::value_ptr
Definition: value_ptr.h:63
thread_safety_macros.h
edm::VParameterSetEntry::~VParameterSetEntry
~VParameterSetEntry()=default
cuy.rep
rep
Definition: cuy.py:1190
util.rrClient.indent
indent
Definition: rrClient.py:41
edm::VParameterSetEntry
Definition: VParameterSetEntry.h:24
edm::VParameterSetEntry::toString
std::string toString() const
Definition: VParameterSetEntry.cc:61
edm::VParameterSetEntry::toDigest
void toDigest(cms::Digest &digest) const
Definition: VParameterSetEntry.cc:48
edm::VParameterSetEntry::registerPsetsAndUpdateIDs
void registerPsetsAndUpdateIDs()
Definition: VParameterSetEntry.cc:107
mps_fire.result
result
Definition: mps_fire.py:303
edm::VParameterSetEntry::operator=
VParameterSetEntry & operator=(VParameterSetEntry const &)=default
ParameterSetEntry.h