The Gaudi Framework
v25r3
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
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:126
GaudiPython
examples
dump_component_properties.py
Generated on Wed Jul 9 2014 09:54:15 for The Gaudi Framework by
1.8.7