Gaudi Framework, version v23r4

Home   Generated: Mon Sep 17 2012
Public Member Functions | Public Attributes

GaudiPython::Persistency::FileDescription Class Reference

List of all members.

Public Member Functions

def __init__
def __data__
def __str__

Public Attributes

 filename
 opt
 svc
 sel
 collection
 fun

Detailed Description

Definition at line 40 of file Persistency.py.


Constructor & Destructor Documentation

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 41 of file Persistency.py.

00042                                                                                :
00043         '''
00044         Class to hold/manipulate the file description.
00045 
00046         @param filename: name of the file
00047         @param opt: option (READ/CREATE/RECREATE/WRITE)
00048         @param svc: conversion service (or selector)
00049         @param sel: selection expression
00050         @param collection: collection
00051         @param fun: selection class
00052         '''
00053         self.filename = filename
00054         self.opt = opt
00055         self.svc = svc
00056         self.sel = sel
00057         self.collection = collection
        self.fun = fun

Member Function Documentation

def GaudiPython::Persistency::FileDescription::__data__ (   self )
Return a list of pairs describing the instance.

Definition at line 58 of file Persistency.py.

00059                       :
00060         '''
00061         Return a list of pairs describing the instance.
00062         '''
00063         return [("DATAFILE", self.filename),
00064                 ("OPT", self.opt),
00065                 ("SVC", self.svc),
00066                 ("SEL", self.sel),
00067                 ("COLLECTION", self.collection),
                ("FUN", self.fun)]
def GaudiPython::Persistency::FileDescription::__str__ (   self )
Return the string representation of the file description to be passed
to the application.

Definition at line 68 of file Persistency.py.

00069                      :
00070         """
00071         Return the string representation of the file description to be passed
00072         to the application.
00073         """
00074         return " ".join(["%s='%s'" % (k, v) for k, v in self.__data__() if v])


Member Data Documentation

Definition at line 50 of file Persistency.py.

Definition at line 50 of file Persistency.py.

Definition at line 50 of file Persistency.py.

Definition at line 50 of file Persistency.py.

Definition at line 50 of file Persistency.py.

Definition at line 50 of file Persistency.py.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated at Mon Sep 17 2012 13:49:58 for Gaudi Framework, version v23r4 by Doxygen version 1.7.2 written by Dimitri van Heesch, © 1997-2004