Classes | |
class | Iov |
class | PayLoad |
class | WhatDescription |
Functions | |
def | extractorWhat |
def | setWhat |
def python::iovInspector::extractorWhat | ( | db, | ||
tag | ||||
) |
Definition at line 39 of file iovInspector.py.
00039 : 00040 exec('import '+db.moduleName(tag)+' as Plug') 00041 ret ={} 00042 w = WhatDescription(Plug.What()) 00043 return w.describe() 00044 def setWhat(w,ret) :
def python::iovInspector::setWhat | ( | w, | ||
ret | ||||
) |
Definition at line 45 of file iovInspector.py.
00045 : 00046 for key in ret.keys(): 00047 _val = ret[key] 00048 if (type(_val)==type([])) : 00049 _vi = CondDB.VInt() 00050 for i in _val : 00051 _vi.append(i) 00052 exec ('w.set_'+key+'(_vi)') 00053 else : 00054 exec ('w.set_'+key+'(w.'+key+'().'+ret[key]+')') 00055 return w 00056 00057 class Iov :