CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
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 tracked_;}
37 
39  std::vector<ParameterSet> const& vpset() const;
40  std::vector<ParameterSet>& vpsetForUpdate();
42  void fillVPSet() const;
44 
45  std::vector<ParameterSet>::size_type size() const { return vpset().size(); }
46 
48 
49  std::string dump(unsigned int indent = 0) const;
50  friend std::ostream& operator<<(std::ostream& os, VParameterSetEntry const& vpsetEntry);
51 
52  private:
53 
54  bool tracked_;
57  };
58 }
59 #endif
int i
Definition: DBlmapReader.cc:9
string rep
Definition: cuy.py:1188
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
value_ptr< std::vector< ParameterSetID > > theIDs_
atomic_value_ptr< std::vector< ParameterSet > > theVPSet_
tuple result
Definition: query.py:137
std::vector< ParameterSet > const & vpset() const
returns the VPSet
std::string toString() const
std::vector< ParameterSet >::size_type size() const
ParameterSet & psetInVector(int i)