Commit 85b00f75 authored by Sean McBride's avatar Sean McBride

Change IsAtEnd() method return type from int to vtkTypeBool

int vtk(.*)::IsAtEnd
->
vtkTypeBool vtk\1::IsAtEnd

int IsAtEnd
->
vtkTypeBool IsAtEnd
parent ffc3ec2e
......@@ -57,7 +57,7 @@ public:
/**
* Is the iterator at the end of traversal?
*/
virtual int IsAtEnd() = 0;
virtual vtkTypeBool IsAtEnd() = 0;
/**
* Create an empty cell. The user is responsible for deleting it.
......
......@@ -55,7 +55,7 @@ public:
/**
* Is the iterator at the end of traversal?
*/
virtual int IsAtEnd() = 0;
virtual vtkTypeBool IsAtEnd() = 0;
/**
* Move the iterator to the next position in the list.
......
......@@ -76,7 +76,7 @@ public:
/**
* Test if the end of the extent has been reached
*/
int IsAtEnd()
vtkTypeBool IsAtEnd()
{
return (this->Pointer >= this->EndPointer);
}
......
......@@ -54,7 +54,7 @@ public:
* Overridden from vtkImageIterator to check AbortExecute on the
* filter (vtkAlgorithm).
*/
int IsAtEnd();
vtkTypeBool IsAtEnd();
protected:
vtkAlgorithm *Algorithm;
......
......@@ -59,7 +59,7 @@ void vtkImageProgressIterator<DType>::NextSpan()
}
template <class DType>
int vtkImageProgressIterator<DType>::IsAtEnd()
vtkTypeBool vtkImageProgressIterator<DType>::IsAtEnd()
{
if(this->Algorithm->GetAbortExecute())
{
......
......@@ -668,7 +668,7 @@ public:
}
// Is the cursor at the end of the table? (ie. no more surfel?)
int IsAtEnd()
vtkTypeBool IsAtEnd()
{
return this->AtEnd;
}
......
......@@ -1606,7 +1606,7 @@ public:
}
// Is the current state after the right point?
int IsAtEnd()
vtkTypeBool IsAtEnd()
{
return this->X>this->X1;
}
......
......@@ -75,7 +75,7 @@ void vtkBridgeCellIterator::Begin()
//-----------------------------------------------------------------------------
// Description:
// Is there no cell at iterator position? (exit condition).
int vtkBridgeCellIterator::IsAtEnd()
vtkTypeBool vtkBridgeCellIterator::IsAtEnd()
{
int result=1;
......
......@@ -55,7 +55,7 @@ public:
/**
* Is there no cell at iterator position? (exit condition).
*/
int IsAtEnd() override;
vtkTypeBool IsAtEnd() override;
/**
* Create an empty cell.
......
......@@ -86,7 +86,7 @@ void vtkBridgeCellIteratorOnCellBoundaries::Begin()
//-----------------------------------------------------------------------------
// Description:
// Is there no cell at iterator position? (exit condition).
int vtkBridgeCellIteratorOnCellBoundaries::IsAtEnd()
vtkTypeBool vtkBridgeCellIteratorOnCellBoundaries::IsAtEnd()
{
return this->Dim==-1;
}
......
......@@ -47,7 +47,7 @@ public:
/**
* Is there no cell at iterator position? (exit condition).
*/
int IsAtEnd() override;
vtkTypeBool IsAtEnd() override;
/**
* Cell at current position
......
......@@ -77,7 +77,7 @@ void vtkBridgeCellIteratorOnCellList::Begin()
//-----------------------------------------------------------------------------
// Description:
// Is there no cell at iterator position? (exit condition).
int vtkBridgeCellIteratorOnCellList::IsAtEnd()
vtkTypeBool vtkBridgeCellIteratorOnCellList::IsAtEnd()
{
return this->Id>=this->Cells->GetNumberOfIds();
}
......
......@@ -46,7 +46,7 @@ public:
/**
* Is there no cell at iterator position? (exit condition).
*/
int IsAtEnd() override;
vtkTypeBool IsAtEnd() override;
/**
* Cell at current position
......
......@@ -68,7 +68,7 @@ void vtkBridgeCellIteratorOnDataSet::Begin()
//-----------------------------------------------------------------------------
// Description:
// Is there no cell at iterator position? (exit condition).
int vtkBridgeCellIteratorOnDataSet::IsAtEnd()
vtkTypeBool vtkBridgeCellIteratorOnDataSet::IsAtEnd()
{
return (this->Id>=this->Size);
}
......
......@@ -45,7 +45,7 @@ public:
/**
* Is there no cell at iterator position? (exit condition).
*/
int IsAtEnd() override;
vtkTypeBool IsAtEnd() override;
/**
* Cell at current position
......
......@@ -84,7 +84,7 @@ void vtkBridgeCellIteratorOne::Begin()
//-----------------------------------------------------------------------------
// Description:
// Is there no cell at iterator position? (exit condition).
int vtkBridgeCellIteratorOne::IsAtEnd()
vtkTypeBool vtkBridgeCellIteratorOne::IsAtEnd()
{
return this->cIsAtEnd;
}
......
......@@ -47,7 +47,7 @@ public:
/**
* Is there no cell at iterator position? (exit condition).
*/
int IsAtEnd() override;
vtkTypeBool IsAtEnd() override;
/**
* Cell at current position
......
......@@ -74,7 +74,7 @@ void vtkBridgePointIterator::Begin()
//-----------------------------------------------------------------------------
// Description:
// Is there no point at iterator position? (exit condition).
int vtkBridgePointIterator::IsAtEnd()
vtkTypeBool vtkBridgePointIterator::IsAtEnd()
{
int result=1;
......
......@@ -50,7 +50,7 @@ public:
/**
* Is there no point at iterator position? (exit condition).
*/
int IsAtEnd() override;
vtkTypeBool IsAtEnd() override;
/**
* Move iterator to next position. (loop progression).
......
......@@ -70,7 +70,7 @@ void vtkBridgePointIteratorOnCell::Begin()
//-----------------------------------------------------------------------------
// Description:
// Is there no point at iterator position? (exit condition).
int vtkBridgePointIteratorOnCell::IsAtEnd()
vtkTypeBool vtkBridgePointIteratorOnCell::IsAtEnd()
{
return (this->PtIds==nullptr)||(this->Cursor>=this->PtIds->GetNumberOfIds());
}
......
......@@ -46,7 +46,7 @@ public:
/**
* Is there no point at iterator position? (exit condition).
*/
int IsAtEnd() override;
vtkTypeBool IsAtEnd() override;
/**
* Move iterator to next position. (loop progression).
......
......@@ -63,7 +63,7 @@ void vtkBridgePointIteratorOnDataSet::Begin()
//-----------------------------------------------------------------------------
// Description:
// Is there no point at iterator position? (exit condition).
int vtkBridgePointIteratorOnDataSet::IsAtEnd()
vtkTypeBool vtkBridgePointIteratorOnDataSet::IsAtEnd()
{
return (this->Id<0) || (this->Id>=this->Size);
}
......
......@@ -45,7 +45,7 @@ public:
/**
* Is there no point at iterator position? (exit condition).
*/
int IsAtEnd() override;
vtkTypeBool IsAtEnd() override;
/**
* Move iterator to next position. (loop progression).
......
......@@ -63,7 +63,7 @@ void vtkBridgePointIteratorOne::Begin()
//-----------------------------------------------------------------------------
// Description:
// Is there no point at iterator position? (exit condition).
int vtkBridgePointIteratorOne::IsAtEnd()
vtkTypeBool vtkBridgePointIteratorOne::IsAtEnd()
{
return this->cIsAtEnd;
}
......
......@@ -42,7 +42,7 @@ public:
/**
* Is there no point at iterator position? (exit condition).
*/
int IsAtEnd() override;
vtkTypeBool IsAtEnd() override;
/**
* Move iterator to next position. (loop progression).
......
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