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 ParameterSet_VParameterSetEntry_h
2 #define ParameterSet_VParameterSetEntry_h
3 
12 
13 #include <string>
14 #include <vector>
15 #include <iosfwd>
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 
34  bool isTracked() const {return tracked;}
35 
38  std::vector<ParameterSet> const& vpset() const;
40 
41  std::vector<ParameterSet>::size_type size() const { return vpset().size(); }
42 
44 
45  friend std::ostream & operator<<(std::ostream & os, VParameterSetEntry const& vpsetEntry);
46 
47  private:
48 
49  bool tracked;
52  };
53 }
54 #endif
int i
Definition: DBlmapReader.cc:9
friend std::ostream & operator<<(std::ostream &os, VParameterSetEntry const &vpsetEntry)
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)