CMS 3D CMS Logo

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 26 of file Entry.cc.

Member Typedef Documentation

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

Definition at line 29 of file Entry.cc.

Constructor & Destructor Documentation

TypeTrans::TypeTrans ( )

Definition at line 34 of file Entry.cc.

References kTESInputTag, kTVESInputTag, table_, and type2Code_.

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

Member Data Documentation

CodeMap edm::pset::TypeTrans::table_

Definition at line 30 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 31 of file Entry.cc.

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