CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes
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 36 of file FWPSetTableManager.cc.

Member Typedef Documentation

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

Definition at line 39 of file FWPSetTableManager.cc.

Constructor & Destructor Documentation

TypeTrans::TypeTrans ( )

Definition at line 44 of file FWPSetTableManager.cc.

References table_, and type2Code_.

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

Member Data Documentation

CodeMap TypeTrans::table_

Definition at line 40 of file FWPSetTableManager.cc.

Referenced by FWPSetTableManager::cellRenderer(), and TypeTrans().

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

Definition at line 41 of file FWPSetTableManager.cc.

Referenced by TypeTrans().