A class for reading structures from a Maestro (M2io) format file.
|
|
__init__(self,
filename,
index=1,
error_handler=None,
input_string=None)
Initialize the reader. |
|
|
|
|
|
|
|
|
|
|
getErrorHandler(self)
Returns the error handler by querying the m2io library and if the
refcount is > 0 then return the error handler that is in use by
m2io. |
|
|
|
|
_open(self)
Internal function to open the file. |
|
|
|
|
seek(self,
position)
Set the file position to the given position. |
|
|
|
|
read(self,
position=None)
Return the next Structure object. |
|
|
|
|
next(self)
Return the next Structure object from the file. |
|
|
|
|
close(self)
Close the file. |
|
|
|
Inherited from FormatReader:
clearReadErrors,
getReadErrors,
startErrorQueuing,
stopErrorQueuing
Inherited from _ReaderWriterContextManager:
__enter__,
__exit__
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|