Definition at line 48 of file Persistency.py.
def GaudiPython.Persistency.FileDescription.__init__ |
( |
|
self, |
|
|
|
filename, |
|
|
|
opt, |
|
|
|
svc, |
|
|
|
sel = None , |
|
|
|
collection = None , |
|
|
|
fun = None |
|
) |
| |
Class to hold/manipulate the file description.
@param filename: name of the file
@param opt: option (READ/CREATE/RECREATE/WRITE)
@param svc: conversion service (or selector)
@param sel: selection expression
@param collection: collection
@param fun: selection class
Definition at line 50 of file Persistency.py.
52 Class to hold/manipulate the file description. 54 @param filename: name of the file 55 @param opt: option (READ/CREATE/RECREATE/WRITE) 56 @param svc: conversion service (or selector) 57 @param sel: selection expression 58 @param collection: collection 59 @param fun: selection class
def GaudiPython.Persistency.FileDescription.__data__ |
( |
|
self | ) |
|
Return a list of pairs describing the instance.
Definition at line 68 of file Persistency.py.
70 Return a list of pairs describing the instance. 72 return [(
"DATAFILE", self.
filename), (
"OPT", self.
opt),
73 (
"SVC", self.
svc), (
"SEL", self.
sel),
def GaudiPython.Persistency.FileDescription.__str__ |
( |
|
self | ) |
|
Return the string representation of the file description to be passed
to the application.
Definition at line 76 of file Persistency.py.
78 Return the string representation of the file description to be passed 81 return " ".join([
"%s='%s'" % (k, v)
for k, v
in self.
__data__()
if v])
GaudiPython.Persistency.FileDescription.collection |
GaudiPython.Persistency.FileDescription.filename |
GaudiPython.Persistency.FileDescription.fun |
GaudiPython.Persistency.FileDescription.opt |
GaudiPython.Persistency.FileDescription.sel |
GaudiPython.Persistency.FileDescription.svc |
The documentation for this class was generated from the following file: