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, fun=None):
 
   61         Class to hold/manipulate the file description. 
   63         @param filename: name of the file 
   64         @param opt: option (READ/CREATE/RECREATE/WRITE) 
   65         @param svc: conversion service (or selector) 
   66         @param sel: selection expression 
   67         @param collection: collection 
   68         @param fun: selection class 
   70         self.filename = filename
 
   74         self.collection = collection
 
 
 
 
◆ __data__()
      
        
          | def GaudiPython.Persistency.FileDescription.__data__  | 
          ( | 
            | 
          self | ) | 
           | 
        
      
 
Return a list of pairs describing the instance.
 
Definition at line 77 of file Persistency.py.
   79         Return a list of pairs describing the instance. 
   82             (
"DATAFILE", self.filename),
 
   86             (
"COLLECTION", self.collection),
 
 
 
 
◆ __str__()
      
        
          | def GaudiPython.Persistency.FileDescription.__str__  | 
          ( | 
            | 
          self | ) | 
           | 
        
      
 
Return the string representation of the file description to be passed
to the application.
 
Definition at line 90 of file Persistency.py.
   92         Return the string representation of the file description to be passed 
   95         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: