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

Class GangaList

source code

          object --+        
                   |        
   Base.Objects.Node --+    
                       |    
Base.Objects.GangaObject --+
                           |
                          GangaList

This is a Ganga.GPI.GangaList implementation class. Refer to Ganga.GPI.GangaList.__doc__ for documentation.

Nested Classes [hide private]
  _proxyClass
Documentation missing.

Inherited from Base.Objects.GangaObject: __metaclass__

Instance Methods [hide private]
 
__add__(self, obj_list) source code
 
__contains__(self, obj) source code
 
__copy__(self)
Bypass any checking when making the copy
source code
 
__deepcopy__(self, memo)
Bypass any checking when making the copy
source code
 
__delitem__(self, obj) source code
 
__delslice__(self, start, end) source code
 
__eq__(self, obj_list) source code
 
__ge__(self, obj_list) source code
 
__getitem__(self, index) source code
 
__getslice__(self, start, end) source code
 
__gt__(self, obj_list) source code
 
__hash__(self)
hash(x)
source code
 
__iadd__(self, obj_list) source code
 
__imul__(self, number) source code
 
__init__(self)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__iter__(self) source code
 
__le__(self, obj_list) source code
 
__len__(self) source code
 
__lt__(self, obj_list) source code
 
__mul__(self, number) source code
 
__ne__(self, obj_list) source code
 
__radd__(self, obj) source code
 
__repr__(self)
repr(x)
source code
 
__reversed__(self)
Implements the __reversed__ list method introduced in 2.4
source code
 
__rmul__(self, number) source code
 
__setitem__(self, index, obj) source code
 
__setslice__(self, start, end, obj_list) source code
 
__str__(self)
str(x)
source code
 
_export___add__(self, obj_list) source code
 
_export___delitem__(self, obj) source code
 
_export___delslice__(self, start, end) source code
 
_export___getitem__(self, index) source code
 
_export___getslice__(self, start, end) source code
 
_export___iadd__(self, obj_list) source code
 
_export___imul__(self, number) source code
 
_export___iter__(self) source code
 
_export___mul__(self, number) source code
 
_export___radd__(self, obj) source code
 
_export___reversed__(self) source code
 
_export___rmul__(self, number) source code
 
_export___setitem__(self, index, obj) source code
 
_export___setslice__(self, start, end, obj_list) source code
 
_export_append(self, obj) source code
 
_export_extend(self, ittr) source code
 
_export_insert(self, index, obj) source code
 
_export_pop(self, index=-1) source code
 
_export_remove(self, obj) source code
 
_export_reverse(self) source code
 
_export_sort(self, cmpfunc=None) source code
 
append(self, obj) source code
 
checkNestedLists(self, value)
The rule is that if there are nested lists then they must not contain GangaObjects, as this corrupts the repository
source code
 
checkReadOnly(self)
Puts a hook in to stop mutable access to readonly jobs.
source code
 
count(self, obj) source code
 
extend(self, ittr) source code
 
findSchemaParentSchemaEntry(self, parent)
Finds the schema entry for this GangaList
source code
 
getCategory(self)
Returns a list of categories for the objects in the list.
source code
 
index(self, obj) source code
 
insert(self, index, obj) source code
 
is_list(self, obj) source code
 
pop(self, index=-1) source code
 
printSummaryTree(self, level=0, verbosity_level=0, whitespace_marker='', out=<epydoc.docintrospecter._DevNull instance at 0x110f638>, selection='')
If this method is overridden, the following should be noted:
source code
 
remove(self, obj) source code
 
reverse(self) source code
 
sort(self, cmpfunc=None) source code
 
strip_proxy(self, obj, filter=False)
Removes proxies and calls shortcut if needed
source code
 
strip_proxy_list(self, obj_list, filter=False) source code
 
toString(self)
Returns a simple str of the _list.
source code

Inherited from Base.Objects.GangaObject: __construct__, __getstate__, __setstate__, _attribute_filter__set__, _auto__init__, accept, getJobObject

Inherited from Base.Objects.Node: clone, copyFrom, printTree

Inherited from Base.Objects.Node (private): _getParent, _getRoot, _setParent

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

Class Methods [hide private]

Inherited from Base.Objects.GangaObject (private): _declared_property

Class Variables [hide private]
  _category = 'internal'
  _enable_config = 1
  _enable_plugin = 1
  _exportmethods = ['__add__', '__contains__', '__delitem__', '_...
  _list = <Ganga.GPIDev.Base.Objects.Descriptor object at 0x1ba6...
  _name = 'GangaList'
  _schema = <Ganga.GPIDev.Schema.Schema.Schema instance at 0x1ba...

Inherited from Base.Objects.GangaObject (private): _hidden, _registry

Inherited from Base.Objects.Node (private): _index_cache, _parent

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__copy__(self)

source code 

Bypass any checking when making the copy

Overrides: Base.Objects.Node.__copy__

__deepcopy__(self, memo)

source code 

Bypass any checking when making the copy

Overrides: Base.Objects.Node.__deepcopy__

__eq__(self, obj_list)
(Equality operator)

source code 
Overrides: Base.Objects.Node.__eq__

__hash__(self)
(Hashing function)

source code 

hash(x)

Overrides: object.__hash__
(inherited documentation)

__init__(self)
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

__ne__(self, obj_list)

source code 
Overrides: Base.Objects.Node.__ne__

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

getCategory(self)

source code 

Returns a list of categories for the objects in the list. Returns [] for an empty list.

printSummaryTree(self, level=0, verbosity_level=0, whitespace_marker='', out=<epydoc.docintrospecter._DevNull instance at 0x110f638>, selection='')

source code 
If this method is overridden, the following should be noted:

level: the hierachy level we are currently at in the object tree.
verbosity_level: How verbose the print should be. Currently this is always 0.
whitespace_marker: If printing on multiple lines, this allows the default indentation to be replicated.
                   The first line should never use this, as the substitution is 'name = %s' % printSummaryTree()
out: An output stream to print to. The last line of output should be printed without a newline.'
selection: See VPrinter for an explaintion of this.

Overrides: Base.Objects.Node.printSummaryTree
(inherited documentation)

Class Variable Details [hide private]

_exportmethods

Value:
['__add__',
 '__contains__',
 '__delitem__',
 '__delslice__',
 '__eq__',
 '__ge__',
 '__getitem__',
 '__getslice__',
...

_list

Value:
<Ganga.GPIDev.Base.Objects.Descriptor object at 0x1ba6cd0>

_schema

Value:
<Ganga.GPIDev.Schema.Schema.Schema instance at 0x1ba3950>