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 
12 
13 #include <iosfwd>
14 #include <string>
15 #include <vector>
16 
17 namespace edm {
18 
19  // forward declaration
20  class ParameterSet;
21 
23  public:
24  // default ctor for serialization
26  VParameterSetEntry(std::vector<ParameterSet> const& vpset, bool isTracked);
27  VParameterSetEntry(std::string const& rep);
28 
30 
31  std::string toString() const;
32  void toString(std::string& result) const;
33  void toDigest(cms::Digest &digest) const;
34 
35  bool isTracked() const {return tracked;}
36 
39  std::vector<ParameterSet> const& vpset() const;
40  std::vector<ParameterSet>& vpset();
42 
43  std::vector<ParameterSet>::size_type size() const { return vpset().size(); }
44 
46 
47  friend std::ostream& operator<<(std::ostream& os, VParameterSetEntry const& vpsetEntry);
48 
49  private:
50 
51  bool tracked;
54  };
55 }
56 #endif
int i
Definition: DBlmapReader.cc:9
friend std::ostream & operator<<(std::ostream &os, VParameterSetEntry const &vpsetEntry)
void toDigest(cms::Digest &digest) const
uint16_t size_type
tuple result
Definition: query.py:137
std::vector< ParameterSet > const & vpset() const
value_ptr< std::vector< ParameterSetID > > theIDs
value_ptr< std::vector< ParameterSet > > theVPSet
std::string toString() const
std::vector< ParameterSet >::size_type size() const
ParameterSet & psetInVector(int i)