Commit 05374e05 authored by Brad King's avatar Brad King

Removing support for writing to an arbitrary stream because strstream behaves...

Removing support for writing to an arbitrary stream because strstream behaves differently across platforms.
parent d5bcb7be
......@@ -31,7 +31,7 @@
#include "vtkXMLStructuredGridWriter.h"
#include "vtkXMLUnstructuredGridWriter.h"
vtkCxxRevisionMacro(vtkXMLDataSetWriter, "1.4");
vtkCxxRevisionMacro(vtkXMLDataSetWriter, "1.5");
vtkStandardNewMacro(vtkXMLDataSetWriter);
//----------------------------------------------------------------------------
......@@ -125,7 +125,6 @@ int vtkXMLDataSetWriter::WriteInternal()
// Copy the settings to the writer.
writer->SetDebug(this->GetDebug());
writer->SetFileName(this->GetFileName());
writer->SetStream(this->GetStream());
writer->SetByteOrder(this->GetByteOrder());
writer->SetCompressor(this->GetCompressor());
writer->SetBlockSize(this->GetBlockSize());
......
......@@ -31,7 +31,7 @@
#include "vtkXMLPStructuredGridWriter.h"
#include "vtkXMLPUnstructuredGridWriter.h"
vtkCxxRevisionMacro(vtkXMLPDataSetWriter, "1.4");
vtkCxxRevisionMacro(vtkXMLPDataSetWriter, "1.5");
vtkStandardNewMacro(vtkXMLPDataSetWriter);
//----------------------------------------------------------------------------
......@@ -120,7 +120,6 @@ int vtkXMLPDataSetWriter::WriteInternal()
// Copy the settings to the writer.
writer->SetDebug(this->GetDebug());
writer->SetFileName(this->GetFileName());
writer->SetStream(this->GetStream());
writer->SetByteOrder(this->GetByteOrder());
writer->SetCompressor(this->GetCompressor());
writer->SetBlockSize(this->GetBlockSize());
......
......@@ -80,14 +80,6 @@ public:
void SetPointArrayStatus(const char* name, int status);
void SetCellArrayStatus(const char* name, int status);
//BTX
// Description:
// Get/Set the input stream from which to read the data. This
// overrides use of FileName.
vtkGetMacro(Stream, istream*);
vtkSetMacro(Stream, istream*);
//ETX
protected:
vtkXMLReader();
~vtkXMLReader();
......
......@@ -128,14 +128,6 @@ public:
// Invoke the writer. Returns 1 for success, 0 for failure.
int Write();
//BTX
// Description:
// Get/Set the output stream to which to write the data. This
// overrides use of FileName.
vtkGetMacro(Stream, ostream*);
vtkSetMacro(Stream, ostream*);
//ETX
protected:
vtkXMLWriter();
~vtkXMLWriter();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment