CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Public Attributes
edm::pset::TypeTrans Struct Reference

Public Types

typedef std::vector< std::string > CodeMap
 

Public Member Functions

 TypeTrans ()
 

Public Attributes

CodeMap table_
 
std::map< std::string, char > type2Code_
 

Detailed Description

Definition at line 30 of file Entry.cc.

Member Typedef Documentation

typedef std::vector<std::string> edm::pset::TypeTrans::CodeMap

Definition at line 33 of file Entry.cc.

Constructor & Destructor Documentation

TypeTrans::TypeTrans ( )

Definition at line 38 of file Entry.cc.

References kTESInputTag, kTVESInputTag, table_, and type2Code_.

38  :table_(255) {
39  table_['b'] = "vBool";
40  table_['B'] = "bool";
41  table_['i'] = "vint32";
42  table_['I'] = "int32";
43  table_['u'] = "vuint32";
44  table_['U'] = "uint32";
45  table_['l'] = "vint64";
46  table_['L'] = "int64";
47  table_['x'] = "vuint64";
48  table_['X'] = "uint64";
49  table_['s'] = "vstring";
50  table_['S'] = "string";
51  table_['d'] = "vdouble";
52  table_['D'] = "double";
53  table_['p'] = "vPSet";
54  table_['P'] = "PSet";
55  table_['T'] = "path";
56  table_['F'] = "FileInPath";
57  table_['t'] = "InputTag";
58  table_['v'] = "VInputTag";
59  table_[kTESInputTag] = "ESInputTag";
60  table_[kTVESInputTag] = "VESInputTag";
61  table_['e'] = "VEventID";
62  table_['E'] = "EventID";
63  table_['m'] = "VLuminosityBlockID";
64  table_['M'] = "LuminosityBlockID";
65  table_['a'] = "VLuminosityBlockRange";
66  table_['A'] = "LuminosityBlockRange";
67  table_['r'] = "VEventRange";
68  table_['R'] = "EventRange";
69 
70  for(CodeMap::const_iterator itCode = table_.begin(), itCodeEnd = table_.end();
71  itCode != itCodeEnd;
72  ++itCode) {
73  type2Code_[*itCode] = (itCode - table_.begin());
74  }
75  }
CodeMap table_
Definition: Entry.cc:34
std::map< std::string, char > type2Code_
Definition: Entry.cc:35

Member Data Documentation

CodeMap edm::pset::TypeTrans::table_

Definition at line 34 of file Entry.cc.

Referenced by edm::operator<<(), edm::Entry::throwValueError(), and TypeTrans().

std::map<std::string, char> edm::pset::TypeTrans::type2Code_

Definition at line 35 of file Entry.cc.

Referenced by edm::Entry::Entry(), and TypeTrans().