Package Bio :: Package SCOP :: Module Hie :: Class Iterator
[hide private]
[frames] | no frames]

Class Iterator

source code

Iterates over a HIE file.

Instance Methods [hide private]
 
__init__(self, handle, parser=None)
Create an object that iterates over a HIE file.
source code
 
next(self)
Retrieve the next HIE record.
source code
 
__iter__(self) source code
Method Details [hide private]

__init__(self, handle, parser=None)
(Constructor)

source code 
Create an object that iterates over a HIE file.

handle -- file-like object.

parser -- an optional Parser object to change the results into
          another form.  If set to None, then the raw contents
          of the file will be returned.