Home | Trees | Index | Help |
|
---|
Package mmLib :: Module mmCIF :: Class mmCIFFileParser |
|
object
--+
|
mmCIFFileParser
Method Summary | |
---|---|
gen_token_iter(self,
fileobj)
| |
Stateful parser for mmCIF files. | |
parse_file(self,
fileobj,
cif_file)
| |
Returns the mmCIF token split into a 2-tuple: (reserved word, name) where directive is one of the mmCIF reserved words: data_, loop_, global_, save_, stop_ | |
syntax_error(self,
err)
| |
Inherited from object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
parse(self, token_iter, cif_file)Stateful parser for mmCIF files. XXX: _loop, _data, _save tags are handled in a case-sensitive manor. These tokens are case-insensitive. |
split_token(self, tokx)Returns the mmCIF token split into a 2-tuple: (reserved word, name) where directive is one of the mmCIF reserved words: data_, loop_, global_, save_, stop_ |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Sun Apr 23 22:08:40 2006 | http://epydoc.sf.net |