Commit bca9f8f3 authored by Cory Quammen's avatar Cory Quammen
Browse files

Add VTK_OVERRIDE as appropriate

This silences warnings on macOS.
parent d8b68da5
......@@ -42,7 +42,7 @@ class VTKIOVISITBRIDGE_EXPORT @PLUGIN_NAME@ : public vtkAvt@ARG_VISIT_READER_TYP
public:
static @PLUGIN_NAME@ *New();
vtkTypeMacro(@PLUGIN_NAME@,vtkAvt@ARG_VISIT_READER_TYPE@FileFormatAlgorithm );
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
vtkSetStringMacro(FileName);
vtkGetStringMacro(FileName);
#ifdef VISIT_READER_USES_INTERFACE
......@@ -53,8 +53,8 @@ protected:
@PLUGIN_NAME@();
~@PLUGIN_NAME@();
virtual bool InitializeAVTReader( const int& timestep );
virtual bool ActivateTimestep( const int& timestep );
virtual bool InitializeAVTReader( const int& timestep ) VTK_OVERRIDE;
virtual bool ActivateTimestep( const int& timestep ) VTK_OVERRIDE;
char *FileName;
private:
......
......@@ -41,7 +41,7 @@ class VTKIOVISITBRIDGE_EXPORT @PLUGIN_NAME@ : public vtkAvt@ARG_VISIT_READER_TYP
public:
static @PLUGIN_NAME@ *New();
vtkTypeMacro(@PLUGIN_NAME@,vtkAvt@ARG_VISIT_READER_TYPE@FileFormatAlgorithm );
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
vtkSetStringMacro(FileName);
vtkGetStringMacro(FileName);
#ifdef VISIT_READER_USES_INTERFACE
......@@ -52,7 +52,7 @@ protected:
@PLUGIN_NAME@();
~@PLUGIN_NAME@();
virtual bool InitializeAVTReader( const int& timestep );
virtual bool InitializeAVTReader( const int& timestep ) VTK_OVERRIDE;
char *FileName;
private:
......
......@@ -74,7 +74,7 @@ class VTKIOVISITBRIDGE_EXPORT vtkAvtFileFormatAlgorithm : public vtkCompositeDat
public:
static vtkAvtFileFormatAlgorithm *New();
vtkTypeMacro(vtkAvtFileFormatAlgorithm,vtkCompositeDataSetAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
// Description:
// Get the number of point or cell arrays available in the input.
......@@ -123,30 +123,30 @@ protected:
//level piece loading
virtual int ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector);
vtkInformationVector* outputVector) VTK_OVERRIDE;
// Description:
// This is called by the superclass.
// This is the method you should override.
virtual int RequestInformation(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector);
vtkInformationVector* outputVector) VTK_OVERRIDE;
// Description:
// This is called by the superclass.
// This is the method you should override.
virtual int RequestData(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector);
vtkInformationVector* outputVector) VTK_OVERRIDE;
// Description:
// This is called by the superclass.
// This is the method you should override.
virtual int RequestUpdateExtent(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*);
vtkInformationVector*) VTK_OVERRIDE;
// see algorithm for more info
virtual int FillOutputPortInformation(int port, vtkInformation* info);
virtual int FillOutputPortInformation(int port, vtkInformation* info) VTK_OVERRIDE;
//methods that setup selection arrays that the client will interact with
void SetupDataArraySelections();
......
......@@ -47,7 +47,7 @@ class VTKIOVISITBRIDGE_EXPORT vtkAvtMTMDFileFormatAlgorithm : public vtkAvtSTMDF
public:
static vtkAvtMTMDFileFormatAlgorithm *New();
vtkTypeMacro(vtkAvtMTMDFileFormatAlgorithm,vtkAvtSTMDFileFormatAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
protected:
vtkAvtMTMDFileFormatAlgorithm();
......@@ -58,7 +58,7 @@ protected:
// This is the method you should override.
virtual int RequestData(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector);
vtkInformationVector* outputVector) VTK_OVERRIDE;
private:
vtkAvtMTMDFileFormatAlgorithm(const vtkAvtMTMDFileFormatAlgorithm&);
......
......@@ -46,7 +46,7 @@ class VTKIOVISITBRIDGE_EXPORT vtkAvtMTSDFileFormatAlgorithm : public vtkAvtSTSDF
public:
static vtkAvtMTSDFileFormatAlgorithm *New();
vtkTypeMacro(vtkAvtMTSDFileFormatAlgorithm,vtkAvtSTSDFileFormatAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
protected:
vtkAvtMTSDFileFormatAlgorithm();
......@@ -57,7 +57,7 @@ protected:
// This is the method you should override.
virtual int RequestData(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector);
vtkInformationVector* outputVector) VTK_OVERRIDE;
private:
vtkAvtMTSDFileFormatAlgorithm(const vtkAvtMTSDFileFormatAlgorithm&);
......
......@@ -60,7 +60,7 @@ class VTKIOVISITBRIDGE_EXPORT vtkAvtSTMDFileFormatAlgorithm : public vtkAvtFileF
public:
static vtkAvtSTMDFileFormatAlgorithm *New();
vtkTypeMacro(vtkAvtSTMDFileFormatAlgorithm,vtkAvtFileFormatAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
protected:
vtkAvtSTMDFileFormatAlgorithm();
......@@ -68,14 +68,14 @@ protected:
//needed since we have to change the type we output
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **,
vtkInformationVector *);
vtkInformationVector *) VTK_OVERRIDE;
// Description:
// This is called by the superclass.
// This is the method you should override.
virtual int RequestData(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector);
vtkInformationVector* outputVector) VTK_OVERRIDE;
//BTX
int FillAMR( vtkOverlappingAMR *amr,
......
......@@ -47,7 +47,7 @@ class VTKIOVISITBRIDGE_EXPORT vtkAvtSTSDFileFormatAlgorithm : public vtkAvtFileF
public:
static vtkAvtSTSDFileFormatAlgorithm *New();
vtkTypeMacro(vtkAvtSTSDFileFormatAlgorithm,vtkAvtFileFormatAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
protected:
vtkAvtSTSDFileFormatAlgorithm();
......@@ -55,14 +55,14 @@ protected:
//needed since we have to change the type we output
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **,
vtkInformationVector *);
vtkInformationVector *) VTK_OVERRIDE;
// Description:
// This is called by the superclass.
// This is the method you should override.
virtual int RequestData(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector);
vtkInformationVector* outputVector) VTK_OVERRIDE;
virtual void FillMultiBlock(vtkMultiBlockDataSet *output, const int &timestep);
......
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