| Trees | Indices | Help | 
 | 
|---|
|  | 
                 object --+        
                          |        
_ReaderWriterContextManager --+    
                              |    
                    _BaseWriter --+
                                  |
                                 MaestroWriter
A class for more efficient appending of a large number of structures to a single maestro structure file.
For writing single structures, just use the Structure.write method. For appending a small (less than a thousand) number of structures, the Structure.append method will perform acceptably.
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| 
 | |||
| Inherited from  Inherited from  Inherited from  | |||
| 
 | |||
| 
 | |||
| 
 Initialize needed mmlibs and open the file 'filename'. Note that the file will not be completely written until it is explicitly closed or the object is garbage collected. 
 | 
| 
 Append the provided structure to the open mae file. Set self.last_position to the file offset just before it was appended. The use of this class and method should be preferred for large numbers of structures (say, >1000), but for smaller numbers of structures you can use the Structure.append method directly. | 
| Trees | Indices | Help | 
 | 
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 3 07:59:57 2016 | http://epydoc.sourceforge.net |