Commit 3226db05 authored by Ken Martin's avatar Ken Martin
Browse files

made cconstructor and operator equals have no implementation

parent 3ff3898b
......@@ -100,8 +100,8 @@ public:
protected:
vtkAbstractMapper();
~vtkAbstractMapper();
vtkAbstractMapper(const vtkAbstractMapper&) {};
void operator=(const vtkAbstractMapper&) {};
vtkAbstractMapper(const vtkAbstractMapper&);
void operator=(const vtkAbstractMapper&);
vtkTimerLog *Timer;
float TimeToDraw;
......
......@@ -277,8 +277,8 @@ public:
protected:
vtkAbstractTransform();
~vtkAbstractTransform();
vtkAbstractTransform(const vtkAbstractTransform&) {};
void operator=(const vtkAbstractTransform&) {};
vtkAbstractTransform(const vtkAbstractTransform&);
void operator=(const vtkAbstractTransform&);
// Description:
// Perform any subclass-specific Update.
......
......@@ -144,8 +144,8 @@ public:
protected:
vtkActor2D();
~vtkActor2D();
vtkActor2D(const vtkActor2D&) {};
void operator=(const vtkActor2D&) {};
vtkActor2D(const vtkActor2D&);
void operator=(const vtkActor2D&);
vtkMapper2D *Mapper;
int LayerNumber;
......
......@@ -98,8 +98,8 @@ class VTK_EXPORT vtkActor2DCollection : public vtkPropCollection
protected:
vtkActor2DCollection() {};
~vtkActor2DCollection();
vtkActor2DCollection(const vtkActor2DCollection&) {};
void operator=(const vtkActor2DCollection&) {};
vtkActor2DCollection(const vtkActor2DCollection&);
void operator=(const vtkActor2DCollection&);
virtual void DeleteElement(vtkCollectionElement *);
......
......@@ -87,8 +87,8 @@ public:
protected:
vtkAssemblyPaths() {};
~vtkAssemblyPaths() {};
vtkAssemblyPaths(const vtkAssemblyPaths&) {};
void operator=(const vtkAssemblyPaths&) {};
vtkAssemblyPaths(const vtkAssemblyPaths&);
void operator=(const vtkAssemblyPaths&);
private:
// hide the standard AddItem from the user and the compiler.
......
......@@ -138,8 +138,8 @@ protected:
vtkAttributeData();
vtkAttributeData(int dataType);
~vtkAttributeData();
vtkAttributeData(const vtkAttributeData&) {};
void operator=(const vtkAttributeData&) {};
vtkAttributeData(const vtkAttributeData&);
void operator=(const vtkAttributeData&);
vtkDataArray *Data; // Array which represents data
......
......@@ -162,8 +162,8 @@ public:
protected:
vtkBitArray(vtkIdType numComp=1);
~vtkBitArray();
vtkBitArray(const vtkBitArray&) {};
void operator=(const vtkBitArray&) {};
vtkBitArray(const vtkBitArray&);
void operator=(const vtkBitArray&);
unsigned char *Array; // pointer to data
unsigned char *ResizeAndExtend(const vtkIdType sz);
......
......@@ -211,8 +211,8 @@ public:
protected:
vtkByteSwap() {};
~vtkByteSwap() {};
vtkByteSwap(const vtkByteSwap&) {};
void operator=(const vtkByteSwap&) {};
vtkByteSwap(const vtkByteSwap&);
void operator=(const vtkByteSwap&);
private:
// Description:
......
......@@ -316,8 +316,8 @@ public:
protected:
vtkCell();
~vtkCell();
vtkCell(const vtkCell&) {};
void operator=(const vtkCell&) {};
vtkCell(const vtkCell&);
void operator=(const vtkCell&);
float Bounds[6];
};
......
......@@ -112,7 +112,7 @@ protected:
vtkCell3D():Triangulator(NULL) {}
~vtkCell3D();
vtkCell3D(const vtkCell3D&) {}
void operator=(const vtkCell3D&) {};
void operator=(const vtkCell3D&);
vtkOrderedTriangulator *Triangulator;
......
......@@ -240,8 +240,8 @@ protected:
vtkCellArray();
vtkCellArray (const vtkIdType sz, const int ext=1000);
~vtkCellArray();
vtkCellArray(const vtkCellArray&) {};
void operator=(const vtkCellArray&) {};
vtkCellArray(const vtkCellArray&);
void operator=(const vtkCellArray&);
vtkIdType NumberOfCells;
vtkIdType InsertLocation; //keep track of current insertion point
......
......@@ -63,8 +63,8 @@ public:
protected:
vtkCellData() {}; //make sure constructor and desctructor are protected
~vtkCellData() {};
vtkCellData(const vtkCellData&) {};
void operator=(const vtkCellData&) {};
vtkCellData(const vtkCellData&);
void operator=(const vtkCellData&);
};
......
......@@ -149,8 +149,8 @@ public:
protected:
vtkCellLinks():Array(NULL),Size(0),MaxId(-1),Extend(1000) {};
~vtkCellLinks();
vtkCellLinks(const vtkCellLinks&) {};
void operator=(const vtkCellLinks&) {};
vtkCellLinks(const vtkCellLinks&);
void operator=(const vtkCellLinks&);
// Description:
// Increment the count of the number of cells using the point.
......
......@@ -136,8 +136,8 @@ public:
protected:
vtkCellTypes();
~vtkCellTypes();
vtkCellTypes(const vtkCellTypes&) {};
void operator=(const vtkCellTypes&) {};
vtkCellTypes(const vtkCellTypes&);
void operator=(const vtkCellTypes&);
vtkUnsignedCharArray *TypeArray; // pointer to types array
vtkIntArray *LocationArray; // pointer to array of offsets
......
......@@ -187,8 +187,8 @@ public:
protected:
vtkCharArray(vtkIdType numComp=1);
~vtkCharArray();
vtkCharArray(const vtkCharArray&) {};
void operator=(const vtkCharArray&) {};
vtkCharArray(const vtkCharArray&);
void operator=(const vtkCharArray&);
char *Array; // pointer to data
char *ResizeAndExtend(const vtkIdType sz); // function to resize data
......
......@@ -130,8 +130,8 @@ public:
protected:
vtkCollection();
~vtkCollection();
vtkCollection(const vtkCollection&) {};
void operator=(const vtkCollection&) {};
vtkCollection(const vtkCollection&);
void operator=(const vtkCollection&);
virtual void DeleteElement(vtkCollectionElement *);
int NumberOfItems;
......
......@@ -109,8 +109,8 @@ public:
protected:
vtkContourValues();
~vtkContourValues();
vtkContourValues(const vtkContourValues&) {};
void operator=(const vtkContourValues&) {};
vtkContourValues(const vtkContourValues&);
void operator=(const vtkContourValues&);
vtkFloatArray *Contours;
......
......@@ -163,8 +163,8 @@ public:
protected:
vtkCoordinate();
~vtkCoordinate();
vtkCoordinate(const vtkCoordinate&) {};
void operator=(const vtkCoordinate&) {};
vtkCoordinate(const vtkCoordinate&);
void operator=(const vtkCoordinate&);
float Value[3];
int CoordinateSystem;
......
......@@ -283,8 +283,8 @@ protected:
// Construct object with default tuple dimension (number of components) of 1.
vtkDataArray(vtkIdType numComp=1);
~vtkDataArray();
vtkDataArray(const vtkDataArray&) {};
void operator=(const vtkDataArray&) {};
vtkDataArray(const vtkDataArray&);
void operator=(const vtkDataArray&);
vtkLookupTable *LookupTable;
......
......@@ -327,8 +327,8 @@ protected:
vtkDataObject();
~vtkDataObject();
vtkDataObject(const vtkDataObject&) {};
void operator=(const vtkDataObject&) {};
vtkDataObject(const vtkDataObject&);
void operator=(const vtkDataObject&);
// General field data associated with data object
vtkFieldData *FieldData;
......
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