Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:52

0001 #ifndef FWCore_ParameterSet_types_h
0002 #define FWCore_ParameterSet_types_h
0003 
0004 // ----------------------------------------------------------------------
0005 // declaration of type encoding/decoding functions
0006 // ----------------------------------------------------------------------
0007 
0008 // ----------------------------------------------------------------------
0009 // prolog
0010 
0011 // ----------------------------------------------------------------------
0012 // prerequisite source files and headers
0013 
0014 #include <string>
0015 #include <vector>
0016 
0017 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0018 
0019 // ----------------------------------------------------------------------
0020 // contents
0021 
0022 namespace edm {
0023   //            destination    source
0024 
0025   // Bool
0026   bool decode(bool&, std::string const&);
0027   bool encode(std::string&, bool);
0028 
0029   // vBool
0030   bool decode(std::vector<bool>&, std::string const&);
0031   bool encode(std::string&, std::vector<bool> const&);
0032 
0033   // Int32
0034   bool decode(int&, std::string const&);
0035   bool encode(std::string&, int);
0036 
0037   // vInt32
0038   bool decode(std::vector<int>&, std::string const&);
0039   bool encode(std::string&, std::vector<int> const&);
0040 
0041   // Uint32
0042   bool decode(unsigned int&, std::string const&);
0043   bool encode(std::string&, unsigned int);
0044 
0045   // vUint32
0046   bool decode(std::vector<unsigned int>&, std::string const&);
0047   bool encode(std::string&, std::vector<unsigned int> const&);
0048 
0049   // Int64
0050   bool decode(long long&, std::string const&);
0051   bool encode(std::string&, long long);
0052 
0053   // vInt64
0054   bool decode(std::vector<long long>&, std::string const&);
0055   bool encode(std::string&, std::vector<long long> const&);
0056 
0057   // Uint64
0058   bool decode(unsigned long long&, std::string const&);
0059   bool encode(std::string&, unsigned long long);
0060 
0061   // vUint64
0062   bool decode(std::vector<unsigned long long>&, std::string const&);
0063   bool encode(std::string&, std::vector<unsigned long long> const&);
0064 
0065   // Double
0066   bool decode(double&, std::string const&);
0067   bool encode(std::string&, double);
0068 
0069   // vDouble
0070   bool decode(std::vector<double>&, std::string const&);
0071   bool encode(std::string&, std::vector<double> const&);
0072 
0073   // String
0074   bool decode(std::string&, std::string const&);
0075   bool encode(std::string&, std::string const&);
0076 
0077   // vString
0078   bool decode(std::vector<std::string>&, std::string const&);
0079   bool encode(std::string&, std::vector<std::string> const&);
0080 
0081   // FileInPath
0082   bool decode(edm::FileInPath&, std::string const&);
0083   bool encode(std::string&, edm::FileInPath const&);
0084 
0085   // InputTag
0086   bool decode(edm::InputTag&, std::string const&);
0087   bool encode(std::string&, edm::InputTag const&);
0088 
0089   // VInputTag
0090   bool decode(std::vector<edm::InputTag>&, std::string const&);
0091   bool encode(std::string&, std::vector<edm::InputTag> const&);
0092 
0093   // ESInputTag
0094   bool decode(edm::ESInputTag&, std::string const&);
0095   bool encode(std::string&, edm::ESInputTag const&);
0096 
0097   // VESInputTag
0098   bool decode(std::vector<edm::ESInputTag>&, std::string const&);
0099   bool encode(std::string&, std::vector<edm::ESInputTag> const&);
0100 
0101   // EventID
0102   bool decode(edm::EventID&, std::string const&);
0103   bool encode(std::string&, edm::EventID const&);
0104 
0105   // VEventID
0106   bool decode(std::vector<edm::EventID>&, std::string const&);
0107   bool encode(std::string&, std::vector<edm::EventID> const&);
0108 
0109   // LuminosityBlockID
0110   bool decode(edm::LuminosityBlockID&, std::string const&);
0111   bool encode(std::string&, edm::LuminosityBlockID const&);
0112 
0113   // VLuminosityBlockID
0114   bool decode(std::vector<edm::LuminosityBlockID>&, std::string const&);
0115   bool encode(std::string&, std::vector<edm::LuminosityBlockID> const&);
0116 
0117   // LuminosityBlockRange
0118   bool decode(edm::LuminosityBlockRange&, std::string const&);
0119   bool encode(std::string&, edm::LuminosityBlockRange const&);
0120 
0121   // VLuminosityBlockRange
0122   bool decode(std::vector<edm::LuminosityBlockRange>&, std::string const&);
0123   bool encode(std::string&, std::vector<edm::LuminosityBlockRange> const&);
0124 
0125   // EventRange
0126   bool decode(edm::EventRange&, std::string const&);
0127   bool encode(std::string&, edm::EventRange const&);
0128 
0129   // VEventRange
0130   bool decode(std::vector<edm::EventRange>&, std::string const&);
0131   bool encode(std::string&, std::vector<edm::EventRange> const&);
0132 
0133   // ParameterSet
0134   bool decode(ParameterSet&, std::string const&);
0135   bool encode(std::string&, ParameterSet const&);
0136 
0137   // vPSet
0138   bool decode(std::vector<ParameterSet>&, std::string const&);
0139   bool encode(std::string&, std::vector<ParameterSet> const&);
0140 
0141 }  // namespace edm
0142 
0143 // ----------------------------------------------------------------------
0144 // epilog
0145 
0146 #endif