Package dap :: Module dtypes :: Class SequenceType
[hide private]
[frames] | no frames]

Class SequenceType

source code

        object --+            
                 |            
              dict --+        
                     |        
util.ordereddict.odict --+    
                         |    
             StructureType --+
                             |
                            SequenceType

Sequence constructor.

A sequence contains ordered data, corresponding to the records in a sequence of structures with the same stored variables.

Instance Methods [hide private]
  __setitem__(self, key, item)
x[i]=y
  walk(self)
iter(x)
  _get_data(self)
  _set_data(self, data)
  __iter__(self)
When iterating over a sequence, we yield structures containing the corresponding data (first record, second, etc.).
  filter(self, *filters)

Inherited from StructureType: __copy__, __deepcopy__, __getattr__, __init__

Inherited from StructureType (private): _get_filters, _get_id, _set_filters, _set_id

Inherited from util.ordereddict.odict: __contains__, __delitem__, __getitem__, __len__, __repr__, __str__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values

Inherited from dict: __cmp__, __eq__, __ge__, __getattribute__, __gt__, __hash__, __le__, __lt__, __ne__, __new__

Inherited from object: __delattr__, __reduce__, __reduce_ex__, __setattr__


Class Variables [hide private]
  level = 1

Properties [hide private]
  data

Inherited from StructureType: filters, id

Inherited from object: __class__


Method Details [hide private]

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

source code 
x[i]=y
Overrides: StructureType.__setitem__

walk(self)

source code 
iter(x)
Overrides: StructureType.__iter__

_get_data(self)

source code 
None
Overrides: StructureType._get_data

_set_data(self, data)

source code 
None
Overrides: StructureType._set_data

__iter__(self)

source code 
When iterating over a sequence, we yield structures containing the corresponding data (first record, second, etc.).
Overrides: StructureType.__iter__

filter(self, *filters)

source code 
None

Class Variable Details [hide private]

level

None
Value:
1                                                                     
      

Property Details [hide private]

data

None
Get Method:
dap.dtypes.SequenceType._get_data(self)
Set Method:
dap.dtypes.SequenceType._set_data(self, data)
Delete Method:
None