Commit b5309c6d authored by Robert Maynard's avatar Robert Maynard
Browse files

vtkInformation* classes now use VTK_OVERRIDE.

parent 364bdc8a
Pipeline #23227 passed with stage
......@@ -85,7 +85,7 @@ public:
// Description:
// Modified signature with no arguments that calls Modified
// on vtkObject superclass.
VTKCOMMONCORE_EXPORT void Modified();
VTKCOMMONCORE_EXPORT void Modified() VTK_OVERRIDE;
// Description:
// Modified signature that takes an information key as an argument.
......
......@@ -55,11 +55,11 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Report a reference this key has in the given information object.
virtual void Report(vtkInformation* info, vtkGarbageCollector* collector);
void Report(vtkInformation* info, vtkGarbageCollector* collector) VTK_OVERRIDE;
private:
vtkInformationDataObjectKey(const vtkInformationDataObjectKey&) VTK_DELETE_FUNCTION;
......
......@@ -53,11 +53,11 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Print the key's value in an information object to a stream.
virtual void Print(ostream& os, vtkInformation* info);
void Print(ostream& os, vtkInformation* info) VTK_OVERRIDE;
protected:
// Description:
......
......@@ -59,11 +59,11 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Print the key's value in an information object to a stream.
virtual void Print(ostream& os, vtkInformation* info);
void Print(ostream& os, vtkInformation* info) VTK_OVERRIDE;
protected:
// The required length of the vector value (-1 is no restriction).
......
......@@ -53,11 +53,11 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Print the key's value in an information object to a stream.
virtual void Print(ostream& os, vtkInformation* info);
void Print(ostream& os, vtkInformation* info) VTK_OVERRIDE;
protected:
// Description:
......
......@@ -53,13 +53,13 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Duplicate (new instance created) the entry associated with this key from
// one information object to another (new instances of any contained
// vtkInformation and vtkInformationVector objects are created).
virtual void DeepCopy(vtkInformation* from, vtkInformation* to);
void DeepCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
private:
vtkInformationInformationKey(const vtkInformationInformationKey&) VTK_DELETE_FUNCTION;
......
......@@ -46,17 +46,17 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Duplicate (new instance created) the entry associated with this key from
// one information object to another (new instances of any contained
// vtkInformation and vtkInformationVector objects are created).
virtual void DeepCopy(vtkInformation* from, vtkInformation* to);
void DeepCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Report a reference this key has in the given information object.
virtual void Report(vtkInformation* info, vtkGarbageCollector* collector);
void Report(vtkInformation* info, vtkGarbageCollector* collector) VTK_OVERRIDE;
private:
vtkInformationInformationVectorKey(const vtkInformationInformationVectorKey&) VTK_DELETE_FUNCTION;
......
......@@ -53,11 +53,11 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Print the key's value in an information object to a stream.
virtual void Print(ostream& os, vtkInformation* info);
void Print(ostream& os, vtkInformation* info) VTK_OVERRIDE;
protected:
// Description:
......
......@@ -47,11 +47,11 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Print the key's value in an information object to a stream.
virtual void Print(ostream& os, vtkInformation* info);
void Print(ostream& os, vtkInformation* info) VTK_OVERRIDE;
protected:
// The required length of the vector value (-1 is no restriction).
......
......@@ -60,11 +60,11 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Print the key's value in an information object to a stream.
virtual void Print(ostream& os, vtkInformation* info);
void Print(ostream& os, vtkInformation* info) VTK_OVERRIDE;
protected:
// The required length of the vector value (-1 is no restriction).
......
......@@ -59,11 +59,11 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Print the key's value in an information object to a stream.
virtual void Print(ostream& os, vtkInformation* info);
void Print(ostream& os, vtkInformation* info) VTK_OVERRIDE;
private:
vtkInformationKeyVectorKey(const vtkInformationKeyVectorKey&) VTK_DELETE_FUNCTION;
......
......@@ -58,11 +58,11 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Report a reference this key has in the given information object.
virtual void Report(vtkInformation* info, vtkGarbageCollector* collector);
void Report(vtkInformation* info, vtkGarbageCollector* collector) VTK_OVERRIDE;
protected:
// The type required of all objects stored with this key.
......
......@@ -121,11 +121,11 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Print the key's value in an information object to a stream.
virtual void Print(ostream& os, vtkInformation* info);
void Print(ostream& os, vtkInformation* info) VTK_OVERRIDE;
protected:
// The type required of all objects stored with this key.
......
......@@ -47,18 +47,18 @@ public:
// Get/Set the value associated with this key in the given
// information object.
void Set(vtkInformation* info);
void Remove(vtkInformation* info);
int Has(vtkInformation* info);
void Remove(vtkInformation* info) VTK_OVERRIDE;
int Has(vtkInformation* info) VTK_OVERRIDE;
// Description:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Print the key's value in an information object to a stream.
virtual void Print(ostream& os, vtkInformation* info);
void Print(ostream& os, vtkInformation* info) VTK_OVERRIDE;
private:
vtkInformationRequestKey(const vtkInformationRequestKey&) VTK_DELETE_FUNCTION;
......
......@@ -56,11 +56,11 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Print the key's value in an information object to a stream.
virtual void Print(ostream& os, vtkInformation* info);
void Print(ostream& os, vtkInformation* info) VTK_OVERRIDE;
private:
vtkInformationStringKey(const vtkInformationStringKey&) VTK_DELETE_FUNCTION;
......
......@@ -61,11 +61,11 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Print the key's value in an information object to a stream.
virtual void Print(ostream& os, vtkInformation* info);
void Print(ostream& os, vtkInformation* info) VTK_OVERRIDE;
protected:
// The required length of the vector value (-1 is no restriction).
......
......@@ -53,11 +53,11 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Print the key's value in an information object to a stream.
virtual void Print(ostream& os, vtkInformation* info);
void Print(ostream& os, vtkInformation* info) VTK_OVERRIDE;
protected:
// Description:
......
......@@ -55,11 +55,11 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Print the key's value in an information object to a stream.
virtual void Print(ostream& os, vtkInformation* info);
void Print(ostream& os, vtkInformation* info) VTK_OVERRIDE;
protected:
// Description:
......
......@@ -61,11 +61,11 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Print the key's value in an information object to a stream.
virtual void Print(ostream& os, vtkInformation* info);
void Print(ostream& os, vtkInformation* info) VTK_OVERRIDE;
protected:
// The required length of the vector value (-1 is no restriction).
......
......@@ -96,12 +96,12 @@ public:
// Copy the entry associated with this key from one information
// object to another. If there is no entry in the first information
// object for this key, the value is removed from the second.
virtual void ShallowCopy(vtkInformation* from, vtkInformation* to);
virtual void DeepCopy(vtkInformation* from, vtkInformation* to);
void ShallowCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
void DeepCopy(vtkInformation* from, vtkInformation* to) VTK_OVERRIDE;
// Description:
// Print the key's value in an information object to a stream.
virtual void Print(ostream& os, vtkInformation* info);
void Print(ostream& os, vtkInformation* info) VTK_OVERRIDE;
// note: I had wanted to make the following interface in vtkInformationKey
// with a defualt implementation that did nothing. but we decided that
......
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