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

Class RecordProcessor

source code

object --+
         |
        RecordProcessor
Known Subclasses:

Instance Methods [hide private]
 
__is_sucsessive_record(self, prev_rec, rec)
Returns True if the current record looks like it is the successive PDB record in a list of records.
source code
 
__call_processor_multi(self, record_list)
Invake callbacks expecting a list of related PDB records.
source code
 
__call_processor(self, rec)
Invoke callbacks on self.processor for the given record list (recs).
source code
 
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.
source code
 
process_default(self, rec) source code
 
preprocess_default(self, rec) source code
 
process_ATOM(self, rec) source code

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

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__is_sucsessive_record(self, prev_rec, rec)

source code 

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

process_pdb_records(self, pdb_rec_iter, filter_func=None)

source code 

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.