| The Gaudi Framework v27r1

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

dump_component_properties.py
Go to the documentation of this file.
1 import os, gaudimodule
2 #---Get the list of DLLs available--------------------------------
3 modules = [ e[:-3] for e in os.environ if e[-3:].upper() == 'SHR']
4 for m in modules : #---For each one dump the cotents of Component and Properties
5 try: properties = gaudimodule.getComponentProperties(m)
6 except: continue
7 for c in properties :
8 print 80*'-'
9 print 'Properties of %s %s in library %s' % (properties[c][0], c, m)
10 print 80*'-'
11 for p in properties[c][1] :
12 value = properties[c][1][p]
13 if type(value) is str :
14 print "%-30s = '%s'" % ( c+'.'+p , value)
15 else :
16 print "%-30s = %s" % ( c+'.'+p , str(value))
17
18
gaudirun.type
string type
Definition: gaudirun.py:151