Definition at line 58 of file Persistency.py.
◆ __init__()
| 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 59 of file Persistency.py.
59 def __init__(self, filename, opt, svc, sel=None, collection=None,
62 Class to hold/manipulate the file description. 64 @param filename: name of the file 65 @param opt: option (READ/CREATE/RECREATE/WRITE) 66 @param svc: conversion service (or selector) 67 @param sel: selection expression 68 @param collection: collection 69 @param fun: selection class 71 self.filename = filename
75 self.collection = collection
◆ __data__()
| def GaudiPython.Persistency.FileDescription.__data__ |
( |
|
self | ) |
|
Return a list of pairs describing the instance.
Definition at line 78 of file Persistency.py.
80 Return a list of pairs describing the instance. 82 return [(
"DATAFILE", self.filename), (
"OPT", self.opt),
83 (
"SVC", self.svc), (
"SEL", self.sel),
84 (
"COLLECTION", self.collection), (
"FUN", self.fun)]
◆ __str__()
| def GaudiPython.Persistency.FileDescription.__str__ |
( |
|
self | ) |
|
Return the string representation of the file description to be passed
to the application.
Definition at line 86 of file Persistency.py.
88 Return the string representation of the file description to be passed 91 return " ".join([
"%s='%s'" % (k, v)
for k, v
in self.__data__()
if v])
◆ collection
| GaudiPython.Persistency.FileDescription.collection |
◆ filename
| GaudiPython.Persistency.FileDescription.filename |
◆ fun
| GaudiPython.Persistency.FileDescription.fun |
◆ opt
| GaudiPython.Persistency.FileDescription.opt |
◆ sel
| GaudiPython.Persistency.FileDescription.sel |
◆ svc
| GaudiPython.Persistency.FileDescription.svc |
The documentation for this class was generated from the following file: