[vtk-developers] XML readers/writers with user streams
goodwin.lawlor at ucd.ie
Mon Jul 2 14:58:47 EDT 2007
> Goodwin Lawlor wrote:
> > It seems to be working for me ok... but I haven't tested it
> > I did hit a problem with "Stream->seekp(0)" in vtkXMLWriter - it
> causes> the failbit to be set... this is a "feature" apparently:
. Using "Stream->clear()" sorts it out though.
> > Also, "this->DataStream->SetStream(0);" had to moved into the
> "if" block
> > in vtkXMLWriter::CloseFile().
> > If anyone is interested I'll put the vtkStringStream class and the
> > patches to vtkXMLWriter/vtkXMLReader up on the bug tracker as an
The class, the patch, and tcl test are here:
More information about the vtk-developers