Commit a3064380 authored by Francois Bertel's avatar Francois Bertel

COMP:Java does not support covariance

parent b74c13cc
......@@ -18,7 +18,7 @@
#include "vtkHierarchicalDataSet.h"
#include "vtkObjectFactory.h"
vtkCxxRevisionMacro(vtkXMLHierarchicalDataReader, "1.4");
vtkCxxRevisionMacro(vtkXMLHierarchicalDataReader, "1.5");
vtkStandardNewMacro(vtkXMLHierarchicalDataReader);
//----------------------------------------------------------------------------
......@@ -37,22 +37,6 @@ void vtkXMLHierarchicalDataReader::PrintSelf(ostream& os, vtkIndent indent)
this->Superclass::PrintSelf(os, indent);
}
//----------------------------------------------------------------------------
vtkHierarchicalDataSet* vtkXMLHierarchicalDataReader::GetOutput()
{
return this->GetOutput(0);
}
//----------------------------------------------------------------------------
vtkHierarchicalDataSet* vtkXMLHierarchicalDataReader::GetOutput(int port)
{
vtkDataObject* output =
vtkCompositeDataPipeline::SafeDownCast(this->GetExecutive())->
GetCompositeOutputData(port);
return vtkHierarchicalDataSet::SafeDownCast(output);
}
//----------------------------------------------------------------------------
const char* vtkXMLHierarchicalDataReader::GetDataSetName()
{
......
......@@ -37,11 +37,6 @@ public:
vtkTypeRevisionMacro(vtkXMLHierarchicalDataReader,vtkXMLMultiGroupDataReader);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Get the output data object for a port on this algorithm.
vtkHierarchicalDataSet* GetOutput();
vtkHierarchicalDataSet* GetOutput(int);
protected:
vtkXMLHierarchicalDataReader();
~vtkXMLHierarchicalDataReader();
......
......@@ -19,7 +19,7 @@
#include "vtkMultiBlockDataSet.h"
#include "vtkObjectFactory.h"
vtkCxxRevisionMacro(vtkXMLMultiBlockDataReader, "1.1");
vtkCxxRevisionMacro(vtkXMLMultiBlockDataReader, "1.2");
vtkStandardNewMacro(vtkXMLMultiBlockDataReader);
//----------------------------------------------------------------------------
......@@ -38,21 +38,6 @@ void vtkXMLMultiBlockDataReader::PrintSelf(ostream& os, vtkIndent indent)
this->Superclass::PrintSelf(os, indent);
}
//----------------------------------------------------------------------------
vtkMultiBlockDataSet* vtkXMLMultiBlockDataReader::GetOutput()
{
return this->GetOutput(0);
}
//----------------------------------------------------------------------------
vtkMultiBlockDataSet* vtkXMLMultiBlockDataReader::GetOutput(int port)
{
vtkDataObject* output =
vtkCompositeDataPipeline::SafeDownCast(this->GetExecutive())->
GetCompositeOutputData(port);
return vtkMultiBlockDataSet::SafeDownCast(output);
}
//----------------------------------------------------------------------------
int vtkXMLMultiBlockDataReader::FillOutputPortInformation(
int vtkNotUsed(port), vtkInformation* info)
......
......@@ -37,11 +37,6 @@ public:
vtkTypeRevisionMacro(vtkXMLMultiBlockDataReader,vtkXMLMultiGroupDataReader);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
// Get the output data object for a port on this algorithm.
vtkMultiBlockDataSet* GetOutput();
vtkMultiBlockDataSet* GetOutput(int);
protected:
vtkXMLMultiBlockDataReader();
~vtkXMLMultiBlockDataReader();
......
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