CMS 3D CMS Logo

Public Member Functions | Private Attributes

iovInspector::WhatDescription Class Reference

List of all members.

Public Member Functions

def __init__
def commaSeparated
def describe
def multiple
def single

Private Attributes

 __me
 __ret

Detailed Description

Definition at line 9 of file iovInspector.py.


Constructor & Destructor Documentation

def iovInspector::WhatDescription::__init__ (   self,
  w 
)

Definition at line 10 of file iovInspector.py.

00011                             :
00012               self.__me = w
              self.__ret ={}

Member Function Documentation

def iovInspector::WhatDescription::commaSeparated (   self,
  att 
)

Definition at line 35 of file iovInspector.py.

00036                                     :
00037               self.__ret[att]=('commaSeparated',[])
       
def iovInspector::WhatDescription::describe (   self)

Definition at line 13 of file iovInspector.py.

00014                           :
00015               _w = self.__me
00016               _atts = (att for att in dir(self.__me) if not (att[0]=='_' or att[0:4]=='set_' or att[0:6]=='descr_'))
00017               for _att in _atts:
00018                      exec('_a=_w.'+_att+'()')
00019                      if (_a.__class__==CondDB.VInt):
00020                             if(hasattr(self.__me,'descr_'+_att)) :
00021                                    self.multiple(_att)
00022                             else :
00023                                    self.commaSeparated(_att)
00024                      else :
00025                             self.single(_att,_a)
00026               return self.__ret

def iovInspector::WhatDescription::multiple (   self,
  att 
)

Definition at line 30 of file iovInspector.py.

00031                               :
00032               _w = self.__me
00033               exec('_d=_w.descr_'+att+'()')
00034               self.__ret[att]=('multiple',[val for val in _d])

def iovInspector::WhatDescription::single (   self,
  att,
  a 
)

Definition at line 27 of file iovInspector.py.

00028                               :
00029               self.__ret[att]=('single',[val for val in dir(a) if not (val[0]=='_' or val=='name'or val=='values')])


Member Data Documentation

Definition at line 10 of file iovInspector.py.

Definition at line 10 of file iovInspector.py.