Package python-module-logilab-mtconverter-0 :: Package 8 :: Package 4 :: Module transform :: Class TransformsChain
[frames] | no frames]

Class TransformsChain

source code


A chain of transforms used to transform data
Instance Methods
new empty list
__init__(self, name=None, *args)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
convert(self, trdata) source code
 
__setitem__(self, key, value)
x[i]=y
source code
 
append(self, value)
append object to end
source code
 
insert(self, *args)
insert object before index
source code
 
remove(self, *args)
remove first occurrence of value.
source code
item
pop(self, *args)
remove and return item at index (default last).
source code

Inherited from list: __add__, __contains__, __delitem__, __delslice__, __eq__, __ge__, __getattribute__, __getitem__, __getslice__, __gt__, __iadd__, __imul__, __iter__, __le__, __len__, __lt__, __mul__, __ne__, __new__, __repr__, __reversed__, __rmul__, __setslice__, __sizeof__, count, extend, index, reverse, sort

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __str__, __subclasshook__

Class Variables
  inputs = 'application/octet-stream',
  output = 'application/octet-stream'
  name = None
hash(x)

Inherited from list: __hash__

Properties

Inherited from object: __class__

Method Details

__init__(self, name=None, *args)
(Constructor)

source code 

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

Returns: new empty list
Overrides: object.__init__
(inherited documentation)

__setitem__(self, key, value)
(Index assignment operator)

source code 

x[i]=y

Overrides: list.__setitem__
(inherited documentation)

append(self, value)

source code 

append object to end

Overrides: list.append
(inherited documentation)

insert(self, *args)

source code 

insert object before index

Overrides: list.insert
(inherited documentation)

remove(self, *args)

source code 

remove first occurrence of value. Raises ValueError if the value is not present.

Overrides: list.remove
(inherited documentation)

pop(self, *args)

source code 

remove and return item at index (default last). Raises IndexError if list is empty or index is out of range.

Returns: item
Overrides: list.pop
(inherited documentation)