Package Ganga :: Package GPIDev :: Package Lib :: Package File :: Module File' :: Class File :: Class _proxyClass
[hide private]
[frames] | no frames]

Class _proxyClass

source code

    object --+    
             |    
GPIProxyObject --+
                 |
                Lib.File.File'.File._proxyClass

Represent the files, both local and remote and provide an interface to transparently get access to them.

    Typically in the context of job submission, the files are copied to the directory where the application
    runs on the worker node. The 'subdir' attribute influances the destination directory. The 'subdir' feature
    is not universally supported however and needs a review.
    
    

Properties:

     name   path to the file source. (simple property, default='',comparable)

     subdir destination subdirectory (a relative path). (simple property,
            default='.',comparable)

Nested Classes [hide private]
  _impl
This is a Ganga.GPI.File implementation class.
Instance Methods [hide private]
 
__eq__(self, x)
Equality operator (==), compare the File properties which are declared as [comparable].
source code
 
__init__(self, *args, **kwds)
GPI File object constructor: File() : create file with default settings; File(f) : make a copy of f; File(f,x=a,...): make a copy of f and set property 'x' to a, etc..
source code
 
__ne__(self, x)
Non-equality operator (!=).
source code
 
__repr__(self)
Return an short representation of File object.
source code
 
__setattr__(self, x, v)
Set a property of File with consistency and safety checks.
source code
 
__str__(self)
Return a printable string representing File object as a tree of properties.
source code
 
copy(self)
Make an identical copy of self.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __sizeof__, __subclasshook__

Class Variables [hide private]
  name = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at ...
  subdir = <Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object a...
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kwds)
(Constructor)

source code 

GPI File object constructor: File() : create file with default settings; File(f) : make a copy of f; File(f,x=a,...): make a copy of f and set property 'x' to a, etc..

Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 

Return an short representation of File object.

Overrides: object.__repr__

__setattr__(self, x, v)

source code 

Set a property of File with consistency and safety checks. Setting a [protected] or a unexisting property raises AttributeError.

Overrides: object.__setattr__

__str__(self)
(Informal representation operator)

source code 

Return a printable string representing File object as a tree of properties.

Overrides: object.__str__

Class Variable Details [hide private]

name

Value:
<Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0x1aa4590>

subdir

Value:
<Ganga.GPIDev.Base.Proxy.ProxyDataDescriptor object at 0x1aa4610>