Commit 784e4e0e authored by Sankhesh Jhaveri's avatar Sankhesh Jhaveri

Add missing overrides for C++11 compatibility

parent 62a3249e
......@@ -43,7 +43,7 @@ class VTKIOGEOJSON_EXPORT vtkGeoJSONFeature : public vtkDataObject
{
public:
static vtkGeoJSONFeature *New();
virtual void PrintSelf(ostream &os, vtkIndent indent);
virtual void PrintSelf(ostream &os, vtkIndent indent) override;
vtkTypeMacro(vtkGeoJSONFeature,vtkDataObject);
//@{
......
......@@ -34,7 +34,7 @@ class VTKIOGEOJSON_EXPORT vtkGeoJSONReader: public vtkPolyDataAlgorithm
public:
static vtkGeoJSONReader* New();
vtkTypeMacro(vtkGeoJSONReader,vtkPolyDataAlgorithm);
virtual void PrintSelf(ostream &os, vtkIndent indent);
virtual void PrintSelf(ostream &os, vtkIndent indent) override;
//@{
/**
......@@ -109,7 +109,7 @@ protected:
* Core implementation of the
*/
int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
vtkInformationVector* outputVector);
vtkInformationVector* outputVector) override;
char *FileName;
char *StringInput;
bool StringInputMode;
......
......@@ -32,7 +32,7 @@ class VTKIOGEOJSON_EXPORT vtkGeoJSONWriter : public vtkWriter
{
public:
static vtkGeoJSONWriter* New();
virtual void PrintSelf( ostream& os, vtkIndent indent );
virtual void PrintSelf( ostream& os, vtkIndent indent ) override;
vtkTypeMacro(vtkGeoJSONWriter,vtkWriter);
//@{
......@@ -103,10 +103,10 @@ protected:
virtual ~vtkGeoJSONWriter();
// Only accepts vtkPolyData
virtual int FillInputPortInformation(int port, vtkInformation *info);
virtual int FillInputPortInformation(int port, vtkInformation *info) override;
// Implementation of Write()
void WriteData();
void WriteData() override;
// Helper for Write that writes attributes out
void WriteScalar(vtkDataArray *da, vtkIdType ptId);
......
......@@ -64,7 +64,7 @@ protected:
* Core implementation of the data set reader
*/
int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
vtkInformationVector* outputVector);
vtkInformationVector* outputVector) override;
/**
* Read point record data i.e. position and visualisation data
......
......@@ -61,7 +61,7 @@ protected:
* Core implementation of the data set reader
*/
int RequestData(vtkInformation* request, vtkInformationVector** inputVector,
vtkInformationVector* outputVector);
vtkInformationVector* outputVector) override;
/**
* Read point record data i.e. position and visualisation data
......
......@@ -135,8 +135,8 @@ protected:
vtkBundledGraphItem() { }
~vtkBundledGraphItem() { }
virtual vtkColor4ub EdgeColor(vtkIdType line, vtkIdType point);
virtual float EdgeWidth(vtkIdType line, vtkIdType point);
virtual vtkColor4ub EdgeColor(vtkIdType line, vtkIdType point) override;
virtual float EdgeWidth(vtkIdType line, vtkIdType point) override;
};
//----------------------------------------------------------------------------
......
......@@ -40,7 +40,7 @@ class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostBetweennessClustering :
public:
static vtkBoostBetweennessClustering* New();
vtkTypeMacro(vtkBoostBetweennessClustering, vtkGraphAlgorithm);
void PrintSelf(ostream &os, vtkIndent indent);
void PrintSelf(ostream &os, vtkIndent indent) override;
vtkBoostBetweennessClustering();
virtual ~vtkBoostBetweennessClustering();
......@@ -87,9 +87,9 @@ protected:
virtual int RequestData(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector);
vtkInformationVector* outputVector) override;
virtual int FillOutputPortInformation(int port, vtkInformation* info);
virtual int FillOutputPortInformation(int port, vtkInformation* info) override;
private:
......
......@@ -53,7 +53,7 @@ class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostBiconnectedComponents : publ
public:
static vtkBoostBiconnectedComponents *New();
vtkTypeMacro(vtkBoostBiconnectedComponents, vtkUndirectedGraphAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) override;
//@{
/**
......@@ -67,7 +67,7 @@ protected:
vtkBoostBiconnectedComponents();
~vtkBoostBiconnectedComponents();
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
private:
......
......@@ -45,7 +45,7 @@ class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostBrandesCentrality : public v
public:
static vtkBoostBrandesCentrality *New();
vtkTypeMacro(vtkBoostBrandesCentrality, vtkGraphAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) override;
//@{
/**
......@@ -73,7 +73,7 @@ protected:
~vtkBoostBrandesCentrality();
int RequestData(vtkInformation *, vtkInformationVector **,
vtkInformationVector *);
vtkInformationVector *) override;
private:
......
......@@ -47,7 +47,7 @@ class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostBreadthFirstSearch : public
public:
static vtkBoostBreadthFirstSearch *New();
vtkTypeMacro(vtkBoostBreadthFirstSearch, vtkGraphAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) override;
//@{
/**
......@@ -131,13 +131,13 @@ protected:
virtual int RequestData(
vtkInformation *,
vtkInformationVector **,
vtkInformationVector *);
vtkInformationVector *) override;
virtual int FillInputPortInformation(
int port, vtkInformation* info);
int port, vtkInformation* info) override;
virtual int FillOutputPortInformation(
int port, vtkInformation* info);
int port, vtkInformation* info) override;
private:
......
......@@ -42,13 +42,13 @@ class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostConnectedComponents : public
public:
static vtkBoostConnectedComponents *New();
vtkTypeMacro(vtkBoostConnectedComponents, vtkGraphAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) override;
protected:
vtkBoostConnectedComponents();
~vtkBoostConnectedComponents();
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
private:
......
......@@ -51,13 +51,13 @@ public:
static vtkBoostDividedEdgeBundling *New();
vtkTypeMacro(vtkBoostDividedEdgeBundling,vtkDirectedGraphAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) override;
protected:
vtkBoostDividedEdgeBundling();
~vtkBoostDividedEdgeBundling() {}
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
private:
vtkBoostDividedEdgeBundling(const vtkBoostDividedEdgeBundling&) = delete;
......
......@@ -35,7 +35,7 @@ class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostExtractLargestComponent : pu
{
public:
vtkTypeMacro(vtkBoostExtractLargestComponent, vtkGraphAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) override;
/**
* Construct an instance of vtkBoostExtractLargestComponent with
......@@ -55,7 +55,7 @@ protected:
vtkBoostExtractLargestComponent();
~vtkBoostExtractLargestComponent(){}
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
/**
* Store the choice of whether or not to invert the selection.
......
......@@ -46,7 +46,7 @@ class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostKruskalMinimumSpanningTree :
public:
static vtkBoostKruskalMinimumSpanningTree *New();
vtkTypeMacro(vtkBoostKruskalMinimumSpanningTree, vtkSelectionAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) override;
//@{
/**
......@@ -88,13 +88,13 @@ protected:
int RequestData(
vtkInformation *,
vtkInformationVector **,
vtkInformationVector *);
vtkInformationVector *) override;
int FillInputPortInformation(
int port, vtkInformation* info);
int port, vtkInformation* info) override;
int FillOutputPortInformation(
int port, vtkInformation* info);
int port, vtkInformation* info) override;
private:
char* EdgeWeightArrayName;
......
......@@ -42,7 +42,7 @@ class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostLogWeighting : public vtkArr
public:
static vtkBoostLogWeighting* New();
vtkTypeMacro(vtkBoostLogWeighting, vtkArrayDataAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) override;
enum
{
......@@ -74,7 +74,7 @@ protected:
int RequestData(
vtkInformation*,
vtkInformationVector**,
vtkInformationVector*);
vtkInformationVector*) override;
private:
vtkBoostLogWeighting(const vtkBoostLogWeighting&) = delete;
......
......@@ -57,7 +57,7 @@ class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostPrimMinimumSpanningTree : pu
public:
static vtkBoostPrimMinimumSpanningTree *New();
vtkTypeMacro(vtkBoostPrimMinimumSpanningTree, vtkTreeAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) override;
//@{
/**
......@@ -115,10 +115,10 @@ protected:
int RequestData(
vtkInformation *,
vtkInformationVector **,
vtkInformationVector *);
vtkInformationVector *) override;
int FillInputPortInformation(
int port, vtkInformation* info);
int port, vtkInformation* info) override;
private:
char* EdgeWeightArrayName;
......
......@@ -39,7 +39,7 @@ class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostRandomSparseArraySource : pu
public:
static vtkBoostRandomSparseArraySource* New();
vtkTypeMacro(vtkBoostRandomSparseArraySource, vtkArrayDataAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) override;
/**
* Sets the extents (dimensionality and size) of the output array
......@@ -100,7 +100,7 @@ protected:
int RequestData(
vtkInformation*,
vtkInformationVector**,
vtkInformationVector*);
vtkInformationVector*) override;
private:
vtkBoostRandomSparseArraySource(const vtkBoostRandomSparseArraySource&) = delete;
......
......@@ -64,7 +64,7 @@ class VTKINFOVISBOOSTGRAPHALGORITHMS_EXPORT vtkBoostSplitTableField : public vtk
public:
static vtkBoostSplitTableField* New();
vtkTypeMacro(vtkBoostSplitTableField, vtkTableAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) override;
void ClearFields();
void AddField(const char* field, const char* delimiters);
......@@ -76,7 +76,7 @@ protected:
int RequestData(
vtkInformation*,
vtkInformationVector**,
vtkInformationVector*);
vtkInformationVector*) override;
vtkStringArray* Fields;
vtkStringArray* Delimiters;
......
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