Commit 2eee7d11 authored by Mark Olesen's avatar Mark Olesen Committed by Brad King

Remove vtk(Cxx|Type)RevisionMacro

The CVS $Revision$ keyword replacement will no longer maintain these
macros automatically.  They were used only to implement CollectRevisions
and vtkObjectBase::PrintRevisions, an API that was never used.

Automated as follows:

  pass 0:
  catch templates
  ---------------
  $ git grep 'vtk\(Cxx\|Type\)RevisionMacro' | grep '<'

  pass 1:
  main changes
  ---------------
  $ git grep -l '^vtkCxxRevisionMacro' | while read file; do
    echo "$file" 1>&2
    perl -i -ne 'print unless (/^vtkCxxRevisionMacro/ and /\)/)' $file
  done
  $ git grep -l -e 'vtkTypeRevisionMacro(' | while read file; do
    echo "$file" 1>&2
    perl -i -pe 's/vtkTypeRevisionMacro/vtkTypeMacro/g' $file
  done

  pass 2:
  verify
  ---------------
  $ git grep 'vtk\(Cxx\|Type\)RevisionMacro'

Fixed multi-line vtkCxxRevisionMacro and templates by hand.
parent 81af9330

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -81,7 +81,6 @@ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "vtkLongLongArray.h"
#endif
vtkCxxRevisionMacro(vtkACosmoReader, "1.3");
vtkStandardNewMacro(vtkACosmoReader);
#define FILE_BIG_ENDIAN 0
......
......@@ -73,7 +73,7 @@ class VTK_IO_EXPORT vtkACosmoReader : public vtkUnstructuredGridAlgorithm
{
public:
static vtkACosmoReader *New();
vtkTypeRevisionMacro(vtkACosmoReader, vtkUnstructuredGridAlgorithm);
vtkTypeMacro(vtkACosmoReader, vtkUnstructuredGridAlgorithm);
virtual void PrintSelf(ostream& os, vtkIndent indent);
// Description:
......
......@@ -27,7 +27,6 @@
//VTK_FACTORY_INTERFACE_IMPLEMENT(vtkAdaptiveFactory)
//----------------------------------------------------------------------------
vtkCxxRevisionMacro(vtkAdaptiveFactory, "1.1");
vtkStandardNewMacro(vtkAdaptiveFactory);
//----------------------------------------------------------------------------
......
......@@ -28,7 +28,7 @@ public:
virtual const char* GetDescription();
// Methods from vtkObject
vtkTypeRevisionMacro(vtkAdaptiveFactory, vtkObjectFactory);
vtkTypeMacro(vtkAdaptiveFactory, vtkObjectFactory);
static vtkAdaptiveFactory *New();
void PrintSelf(ostream& os, vtkIndent indent);
......
......@@ -18,7 +18,6 @@
//----------------------------------------------------------------------------
vtkStandardNewMacro(vtkAdaptiveOptions);
vtkCxxRevisionMacro(vtkAdaptiveOptions, "1.2");
class vtkAdaptiveOptionsInternal {
public:
......
......@@ -30,7 +30,7 @@ class VTK_EXPORT vtkAdaptiveOptions : public vtkObject
{
public:
static vtkAdaptiveOptions* New();
vtkTypeRevisionMacro(vtkAdaptiveOptions, vtkObject);
vtkTypeMacro(vtkAdaptiveOptions, vtkObject);
void PrintSelf(ostream& os, vtkIndent indent);
static bool GetEnableStreamMessages();
......
......@@ -34,7 +34,6 @@
#include "vtkMPIMoveData.h"
#include "vtkTimerLog.h"
vtkCxxRevisionMacro(vtkAdaptiveUpdateSuppressor, "1.2");
vtkStandardNewMacro(vtkAdaptiveUpdateSuppressor);
#if 0
......
......@@ -28,7 +28,7 @@ class vtkMPIMoveData;
class VTK_EXPORT vtkAdaptiveUpdateSuppressor : public vtkPVUpdateSuppressor
{
public:
vtkTypeRevisionMacro(vtkAdaptiveUpdateSuppressor,vtkPVUpdateSuppressor);
vtkTypeMacro(vtkAdaptiveUpdateSuppressor,vtkPVUpdateSuppressor);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
......
......@@ -17,7 +17,6 @@
#include "vtkObjectFactory.h"
#include "vtkIntArray.h"
vtkCxxRevisionMacro(vtkGridSampler1, "1.2");
vtkStandardNewMacro(vtkGridSampler1);
//define to 1 to adapt for thin k dimension
......
......@@ -36,7 +36,7 @@ class VTK_EXPORT vtkGridSampler1 : public vtkObject
{
public:
static vtkGridSampler1 *New();
vtkTypeRevisionMacro(vtkGridSampler1,vtkObject);
vtkTypeMacro(vtkGridSampler1,vtkObject);
virtual void PrintSelf(ostream& os, vtkIndent indent);
void SetWholeExtent(int *);
......
......@@ -27,7 +27,6 @@
}
#endif
vtkCxxRevisionMacro(vtkGridSampler2, "1.5");
vtkStandardNewMacro(vtkGridSampler2);
//define to 1 to adapt for thin k dimension
......
......@@ -36,7 +36,7 @@ class VTK_EXPORT vtkGridSampler2 : public vtkObject
{
public:
static vtkGridSampler2 *New();
vtkTypeRevisionMacro(vtkGridSampler2,vtkObject);
vtkTypeMacro(vtkGridSampler2,vtkObject);
virtual void PrintSelf(ostream& os, vtkIndent indent);
void SetWholeExtent(int *);
......
......@@ -25,7 +25,6 @@
arg;\
}
vtkCxxRevisionMacro(vtkMetaInfoDatabase, "1.1");
vtkStandardNewMacro(vtkMetaInfoDatabase);
struct vtkRangeRecord2
......
......@@ -37,7 +37,7 @@ class VTK_EXPORT vtkMetaInfoDatabase : public vtkObject
{
public:
static vtkMetaInfoDatabase *New();
vtkTypeRevisionMacro(vtkMetaInfoDatabase,vtkObject);
vtkTypeMacro(vtkMetaInfoDatabase,vtkObject);
virtual void PrintSelf(ostream& os, vtkIndent indent);
//insert a scalar range record for piece p/np at resolution res
......
......@@ -21,7 +21,6 @@
#include "vtkStreamingDemandDrivenPipeline.h"
vtkStandardNewMacro(vtkPVSGeometryInformation);
vtkCxxRevisionMacro(vtkPVSGeometryInformation, "1.1");
//----------------------------------------------------------------------------
vtkPVSGeometryInformation::vtkPVSGeometryInformation()
......
......@@ -28,7 +28,7 @@ class VTK_EXPORT vtkPVSGeometryInformation : public vtkPVGeometryInformation
{
public:
static vtkPVSGeometryInformation* New();
vtkTypeRevisionMacro(vtkPVSGeometryInformation, vtkPVGeometryInformation);
vtkTypeMacro(vtkPVSGeometryInformation, vtkPVGeometryInformation);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
......
#include "vtkPiece.h"
#include "vtkObjectFactory.h"
vtkCxxRevisionMacro(vtkPiece, "1.1");
vtkStandardNewMacro(vtkPiece);
//----------------------------------------------------------------------------
......
......@@ -28,7 +28,7 @@ class VTK_EXPORT vtkPiece : public vtkObject
{
public:
static vtkPiece* New();
vtkTypeRevisionMacro(vtkPiece, vtkObject);
vtkTypeMacro(vtkPiece, vtkObject);
void PrintSelf(ostream& os, vtkIndent indent);
vtkSetMacro(Piece, int);
......
......@@ -23,7 +23,6 @@
#include "vtkPieceCacheFilter.h"
#include "vtkAdaptiveOptions.h"
vtkCxxRevisionMacro(vtkPieceCacheExecutive, "1.1");
vtkStandardNewMacro(vtkPieceCacheExecutive);
#define DEBUGPRINT_CACHING(arg) \
......
......@@ -30,7 +30,7 @@ class VTK_EXPORT vtkPieceCacheExecutive :
{
public:
static vtkPieceCacheExecutive* New();
vtkTypeRevisionMacro(vtkPieceCacheExecutive,
vtkTypeMacro(vtkPieceCacheExecutive,
vtkCompositeDataPipeline);
protected:
......
......@@ -26,7 +26,6 @@
#include <vtkstd/vector>
vtkCxxRevisionMacro(vtkPieceCacheFilter, "1.1");
vtkStandardNewMacro(vtkPieceCacheFilter);
#if 0
......
......@@ -42,7 +42,7 @@ class VTK_EXPORT vtkPieceCacheFilter : public vtkDataSetAlgorithm
{
public:
static vtkPieceCacheFilter *New();
vtkTypeRevisionMacro(vtkPieceCacheFilter, vtkDataSetAlgorithm);
vtkTypeMacro(vtkPieceCacheFilter, vtkDataSetAlgorithm);
void PrintSelf(ostream& os, vtkIndent indent);
// Description:
......
......@@ -5,7 +5,6 @@
#include "vtkstd/vector"
#include "vtkstd/algorithm"
vtkCxxRevisionMacro(vtkPieceList, "1.1");
vtkStandardNewMacro(vtkPieceList);
///////////////////////////////////////////////////////////////////////////
......
......@@ -31,7 +31,7 @@ class VTK_EXPORT vtkPieceList : public vtkObject
{
public:
static vtkPieceList* New();
vtkTypeRevisionMacro(vtkPieceList, vtkObject);
vtkTypeMacro(vtkPieceList, vtkObject);