Commit caaf238c authored by Brian Wylie's avatar Brian Wylie
Browse files

ENH: Added Initialize() method to vtkTable class

parent e724f5e0
......@@ -28,7 +28,7 @@
// Standard functions
//
vtkCxxRevisionMacro(vtkTable, "1.2");
vtkCxxRevisionMacro(vtkTable, "1.3");
vtkStandardNewMacro(vtkTable);
//----------------------------------------------------------------------------
......@@ -46,6 +46,12 @@ void vtkTable::PrintSelf(ostream &os, vtkIndent indent)
os << indent << "Number Of Rows: " << this->Rows << endl;
}
void vtkTable::Initialize()
{
this->Superclass::Initialize();
this->Rows = 0;
}
//
// Row functions
//
......
......@@ -120,6 +120,9 @@ public:
void SetValueByName(vtkIdType row, const char* col, vtkVariant value);
//ETX
// Description:
// Initialize to an empty table.
virtual void Initialize();
// Description:
// Retrieve the table from vtkInformation.
......
Supports Markdown
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