Package Ganga :: Package GPIDev :: Package Lib :: Package Registry :: Module BoxRegistry' :: Class BoxRegistrySlice
[hide private]
[frames] | no frames]

Class BoxRegistrySlice

source code

                 object --+    
                          |    
RegistrySlice.RegistrySlice --+
                              |
                             BoxRegistrySlice

Instance Methods [hide private]
 
__getitem__(self, id)
Retrieve the job object from the registry: registry[x].
source code
 
__init__(self, name)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
_getColour(self, obj)
Override this function in derived slices to colorize your job/task/...
source code

Inherited from RegistrySlice.RegistrySlice: __call__, __contains__, __getslice__, __iter__, __len__, __str__, clean, copy, do_collective_operation, do_select, ids, select

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__getitem__(self, id)
(Indexing operator)

source code 
Retrieve the job object from the registry: registry[x].
If 'x' is a job id (int) then a single job object is returned or IndexError.
If 'x' is a name (string) then a unique same name is returned, otherwise [].
If 'x' is a job object then it is returned if it belongs to the registry, otherwise None.
If 'x' is not of any of the types above, raise TypeError.
 or by name. If retrieved by name then the job must be unique, otherwise the RegistryKeyError is raised.
If the input is incorrect, RegistryAccessError is raised.

Overrides: RegistrySlice.RegistrySlice.__getitem__
(inherited documentation)

__init__(self, name)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

_getColour(self, obj)

source code 

Override this function in derived slices to colorize your job/task/... list

Overrides: RegistrySlice.RegistrySlice._getColour
(inherited documentation)