Package mmLib :: Module PDB :: Class RecordProcessor
[show private | hide private]
[frames | no frames]

Type RecordProcessor

object --+
         |
        RecordProcessor

Known Subclasses:
PDBStructureBuilder, TLSFileFormatPDB

Method Summary
  preprocess_default(self, rec)
  process_ATOM(self, rec)
  process_default(self, rec)
  process_pdb_records(self, pdb_rec_iter, filter_func)
Iterates the PDB records in self, and searches for handling methods in the processor object for reading the objects.
  __call_processor(self, rec)
Invoke callbacks on self.processor for the given record list (recs).
  __call_processor_multi(self, record_list)
Invake callbacks expecting a list of related PDB records.
  __is_sucsessive_record(self, prev_rec, rec)
Returns True if the current record looks like it is the sucessive PDB record in a list of records.
    Inherited from object
  __init__(...)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
  __delattr__(...)
x.__delattr__('name') <==> del x.name
  __getattribute__(...)
x.__getattribute__('name') <==> x.name
  __hash__(x)
x.__hash__() <==> hash(x)
  __new__(T, S, ...)
T.__new__(S, ...) -> a new object with type S, a subtype of T
  __reduce__(...)
helper for pickle
  __reduce_ex__(...)
helper for pickle
  __repr__(x)
x.__repr__() <==> repr(x)
  __setattr__(...)
x.__setattr__('name', value) <==> x.name = value
  __str__(x)
x.__str__() <==> str(x)

Method Details

process_pdb_records(self, pdb_rec_iter, filter_func=None)

Iterates the PDB records in self, and searches for handling methods in the processor object for reading the objects. There are several choices for methods names for the processor objects.

__call_processor(self, rec)

Invoke callbacks on self.processor for the given record list (recs).

__call_processor_multi(self, record_list)

Invake callbacks expecting a list of related PDB records.

__is_sucsessive_record(self, prev_rec, rec)

Returns True if the current record looks like it is the sucessive PDB record in a list of records. Filds like continuation and serNum are checked, as well as record name.

Generated by Epydoc 2.1 on Sun Apr 23 22:08:40 2006 http://epydoc.sf.net