Commit d715a83e authored by Sean McBride's avatar Sean McBride

Changed ProcessRequest return value from int to vtkTypeBool

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

int\s*ProcessRequest
->
vtkTypeBool ProcessRequest

Plus a few manual changes missed due to newlines, etc.
parent d1744f3c
......@@ -89,7 +89,7 @@ int vtkmExternalFaces::FillOutputPortInformation(int vtkNotUsed(port),
}
//------------------------------------------------------------------------------
int vtkmExternalFaces::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkmExternalFaces::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
{
......
......@@ -68,7 +68,7 @@ protected:
int FillInputPortInformation(int, vtkInformation *) override;
int FillOutputPortInformation(int, vtkInformation *) override;
int ProcessRequest(vtkInformation*, vtkInformationVector**,
vtkTypeBool ProcessRequest(vtkInformation*, vtkInformationVector**,
vtkInformationVector*) override;
virtual int RequestData(vtkInformation *, vtkInformationVector **,
vtkInformationVector *);
......
......@@ -42,7 +42,7 @@ public:
vtkGetMacro(NumRequestUpdateTime, int);
vtkGetMacro(NumRequestTimeDependentInformation, int);
int ProcessRequest(vtkInformation* request, vtkInformationVector** inputVector, vtkInformationVector* outputVector) override
vtkTypeBool ProcessRequest(vtkInformation* request, vtkInformationVector** inputVector, vtkInformationVector* outputVector) override
{
if(request->Has(vtkDemandDrivenPipeline::REQUEST_INFORMATION()))
{
......
......@@ -712,7 +712,7 @@ void vtkAlgorithm::SetExecutive(vtkExecutive* newExecutive)
}
//----------------------------------------------------------------------------
int vtkAlgorithm::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkAlgorithm::ProcessRequest(vtkInformation* request,
vtkCollection* inInfo,
vtkInformationVector* outInfo)
{
......@@ -741,7 +741,7 @@ int vtkAlgorithm::ProcessRequest(vtkInformation* request,
}
//----------------------------------------------------------------------------
int vtkAlgorithm::ProcessRequest(vtkInformation* /* request */,
vtkTypeBool vtkAlgorithm::ProcessRequest(vtkInformation* /* request */,
vtkInformationVector**,
vtkInformationVector*)
{
......
......@@ -126,7 +126,7 @@ public:
* It returns the boolean status of the pipeline (false
* means failure).
*/
virtual int ProcessRequest(vtkInformation* request,
virtual vtkTypeBool ProcessRequest(vtkInformation* request,
vtkInformationVector** inInfo,
vtkInformationVector* outInfo);
......@@ -134,7 +134,7 @@ public:
* Version of ProcessRequest() that is wrapped. This converts the
* collection to an array and calls the other version.
*/
int ProcessRequest(vtkInformation* request,
vtkTypeBool ProcessRequest(vtkInformation* request,
vtkCollection* inInfo,
vtkInformationVector* outInfo);
......
......@@ -42,7 +42,7 @@ void vtkAnnotationLayersAlgorithm::PrintSelf(ostream& os, vtkIndent indent)
}
//----------------------------------------------------------------------------
int vtkAnnotationLayersAlgorithm::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkAnnotationLayersAlgorithm::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
{
......
......@@ -49,7 +49,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation*,
vtkTypeBool ProcessRequest(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*) override;
......
......@@ -48,7 +48,7 @@ void vtkArrayDataAlgorithm::PrintSelf(ostream& os, vtkIndent indent)
}
//----------------------------------------------------------------------------
int vtkArrayDataAlgorithm::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkArrayDataAlgorithm::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
{
......
......@@ -60,7 +60,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation*,
vtkTypeBool ProcessRequest(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*) override;
......
......@@ -71,7 +71,7 @@ vtkDataObject* vtkCompositeDataSetAlgorithm::GetInput(int port)
}
//----------------------------------------------------------------------------
int vtkCompositeDataSetAlgorithm::ProcessRequest(
vtkTypeBool vtkCompositeDataSetAlgorithm::ProcessRequest(
vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
......
......@@ -57,7 +57,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation* request,
vtkTypeBool ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector) override;
......
......@@ -76,7 +76,7 @@ vtkDataObject* vtkDataObjectAlgorithm::GetInput(int port)
}
//----------------------------------------------------------------------------
int vtkDataObjectAlgorithm::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkDataObjectAlgorithm::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
{
......
......@@ -59,7 +59,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation*,
vtkTypeBool ProcessRequest(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*) override;
......
......@@ -152,7 +152,7 @@ vtkDataObject* vtkDataSetAlgorithm::GetInput(int port)
}
//----------------------------------------------------------------------------
int vtkDataSetAlgorithm::ProcessRequest(
vtkTypeBool vtkDataSetAlgorithm::ProcessRequest(
vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
......
......@@ -123,7 +123,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation* request,
vtkTypeBool ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector) override;
......
......@@ -157,7 +157,7 @@ vtkDemandDrivenPipeline::ComputePipelineMTime(vtkInformation* request,
//----------------------------------------------------------------------------
int vtkDemandDrivenPipeline::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkDemandDrivenPipeline::ProcessRequest(vtkInformation* request,
vtkInformationVector** inInfoVec,
vtkInformationVector* outInfoVec)
{
......
......@@ -56,7 +56,7 @@ public:
* Generalized interface for asking the executive to fulfill update
* requests.
*/
int ProcessRequest(vtkInformation* request,
vtkTypeBool ProcessRequest(vtkInformation* request,
vtkInformationVector** inInfo,
vtkInformationVector* outInfo) override;
......
......@@ -47,7 +47,7 @@ void vtkDirectedGraphAlgorithm::PrintSelf(ostream& os, vtkIndent indent)
}
//----------------------------------------------------------------------------
int vtkDirectedGraphAlgorithm::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkDirectedGraphAlgorithm::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
{
......
......@@ -59,7 +59,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation*,
vtkTypeBool ProcessRequest(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*) override;
......
......@@ -73,7 +73,7 @@ vtkEnsembleSource::~vtkEnsembleSource()
}
}
int vtkEnsembleSource::ProcessRequest(vtkInformation *request,
vtkTypeBool vtkEnsembleSource::ProcessRequest(vtkInformation *request,
vtkInformationVector **inputVector,
vtkInformationVector *outputVector)
{
......
......@@ -96,7 +96,7 @@ protected:
friend class vtkInformationEnsembleMemberRequestKey;
int ProcessRequest(vtkInformation *request,
vtkTypeBool ProcessRequest(vtkInformation *request,
vtkInformationVector **inputVector,
vtkInformationVector *outputVector) override;
int FillOutputPortInformation(int, vtkInformation*) override;
......
......@@ -533,7 +533,7 @@ vtkDataObject* vtkExecutive::GetInputData
}
//----------------------------------------------------------------------------
int vtkExecutive::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkExecutive::ProcessRequest(vtkInformation* request,
vtkInformationVector** inInfo,
vtkInformationVector* outInfo)
{
......
......@@ -58,7 +58,7 @@ public:
* Generalized interface for asking the executive to fulfill
* pipeline requests.
*/
virtual int ProcessRequest(vtkInformation* request,
virtual vtkTypeBool ProcessRequest(vtkInformation* request,
vtkInformationVector** inInfo,
vtkInformationVector* outInfo);
......
......@@ -94,7 +94,7 @@ void vtkExplicitStructuredGridAlgorithm::AddInputData(int index, vtkDataObject*
}
//----------------------------------------------------------------------------
int vtkExplicitStructuredGridAlgorithm::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkExplicitStructuredGridAlgorithm::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
{
......
......@@ -45,7 +45,7 @@ public:
/**
* see vtkAlgorithm for details
*/
virtual int ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
virtual vtkTypeBool ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
// this method is not recommended for use, but lots of old style filters
// use it
......
......@@ -47,7 +47,7 @@ void vtkGraphAlgorithm::PrintSelf(ostream& os, vtkIndent indent)
}
//----------------------------------------------------------------------------
int vtkGraphAlgorithm::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkGraphAlgorithm::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
{
......
......@@ -58,7 +58,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation*,
vtkTypeBool ProcessRequest(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*) override;
......
......@@ -70,7 +70,7 @@ vtkDataObject* vtkHierarchicalBoxDataSetAlgorithm::GetInput(int port)
}
//----------------------------------------------------------------------------
int vtkHierarchicalBoxDataSetAlgorithm::ProcessRequest(
vtkTypeBool vtkHierarchicalBoxDataSetAlgorithm::ProcessRequest(
vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
......
......@@ -57,7 +57,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation* request,
vtkTypeBool ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector) override;
......
......@@ -163,7 +163,7 @@ int vtkHyperTreeGridAlgorithm::RequestDataObject( vtkInformation*,
}
//----------------------------------------------------------------------------
int vtkHyperTreeGridAlgorithm::ProcessRequest( vtkInformation* request,
vtkTypeBool vtkHyperTreeGridAlgorithm::ProcessRequest( vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector )
{
......
......@@ -86,7 +86,7 @@ public:
/**
* See vtkAlgorithm for details
*/
virtual int ProcessRequest( vtkInformation*,
vtkTypeBool ProcessRequest( vtkInformation*,
vtkInformationVector**,
vtkInformationVector*) override;
......
......@@ -91,7 +91,7 @@ int vtkImageAlgorithm::RequestData(
}
//----------------------------------------------------------------------------
int vtkImageAlgorithm::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkImageAlgorithm::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
{
......
......@@ -54,7 +54,7 @@ public:
* request will be delegated to one of the following methods: RequestData,
* RequestInformation, or RequestUpdateExtent.
*/
int ProcessRequest(vtkInformation*,
vtkTypeBool ProcessRequest(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*) override;
......
......@@ -79,7 +79,7 @@ vtkMolecule* vtkMoleculeAlgorithm::GetMoleculeInput(int port)
}
//----------------------------------------------------------------------------
int vtkMoleculeAlgorithm::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkMoleculeAlgorithm::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
{
......
......@@ -58,7 +58,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation*,
vtkTypeBool ProcessRequest(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*) override;
......
......@@ -71,7 +71,7 @@ vtkDataObject* vtkMultiBlockDataSetAlgorithm::GetInput(int port)
}
//----------------------------------------------------------------------------
int vtkMultiBlockDataSetAlgorithm::ProcessRequest(
vtkTypeBool vtkMultiBlockDataSetAlgorithm::ProcessRequest(
vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
......
......@@ -57,7 +57,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation* request,
vtkTypeBool ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector) override;
......
......@@ -55,7 +55,7 @@ bool vtkMultiTimeStepAlgorithm::IsInCache(double time, size_t& idx)
}
//----------------------------------------------------------------------------
int vtkMultiTimeStepAlgorithm::ProcessRequest(
vtkTypeBool vtkMultiTimeStepAlgorithm::ProcessRequest(
vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
......
......@@ -97,7 +97,7 @@ protected:
return 1;
}
int ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
vtkTypeBool ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) override;
bool CacheData;
unsigned int NumberOfCacheEntries;
......
......@@ -152,7 +152,7 @@ vtkDataObject* vtkPassInputTypeAlgorithm::GetInput(int port)
}
//----------------------------------------------------------------------------
int vtkPassInputTypeAlgorithm::ProcessRequest(
vtkTypeBool vtkPassInputTypeAlgorithm::ProcessRequest(
vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
......
......@@ -108,7 +108,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation* request,
vtkTypeBool ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector) override;
......
......@@ -76,7 +76,7 @@ vtkDataObject* vtkPiecewiseFunctionAlgorithm::GetInput(int port)
}
//----------------------------------------------------------------------------
int vtkPiecewiseFunctionAlgorithm::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkPiecewiseFunctionAlgorithm::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
{
......
......@@ -59,7 +59,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation*,
vtkTypeBool ProcessRequest(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*) override;
......
......@@ -122,7 +122,7 @@ vtkDataObject* vtkPointSetAlgorithm::GetInput()
}
//----------------------------------------------------------------------------
int vtkPointSetAlgorithm::ProcessRequest(
vtkTypeBool vtkPointSetAlgorithm::ProcessRequest(
vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
......
......@@ -101,7 +101,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation* request,
vtkTypeBool ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector) override;
......
......@@ -78,7 +78,7 @@ vtkPolyData* vtkPolyDataAlgorithm::GetPolyDataInput(int port)
}
//----------------------------------------------------------------------------
int vtkPolyDataAlgorithm::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkPolyDataAlgorithm::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
{
......
......@@ -57,7 +57,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation*,
vtkTypeBool ProcessRequest(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*) override;
......
......@@ -78,7 +78,7 @@ vtkRectilinearGrid* vtkRectilinearGridAlgorithm::GetRectilinearGridInput(int por
}
//----------------------------------------------------------------------------
int vtkRectilinearGridAlgorithm::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkRectilinearGridAlgorithm::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
{
......
......@@ -59,7 +59,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation*,
vtkTypeBool ProcessRequest(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*) override;
......
......@@ -42,7 +42,7 @@ void vtkSelectionAlgorithm::PrintSelf(ostream& os, vtkIndent indent)
}
//----------------------------------------------------------------------------
int vtkSelectionAlgorithm::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkSelectionAlgorithm::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
{
......
......@@ -53,7 +53,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation*,
vtkTypeBool ProcessRequest(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*) override;
......
......@@ -127,7 +127,7 @@ void vtkStreamingDemandDrivenPipeline::PrintSelf(ostream& os, vtkIndent indent)
}
//----------------------------------------------------------------------------
int vtkStreamingDemandDrivenPipeline
vtkTypeBool vtkStreamingDemandDrivenPipeline
::ProcessRequest(vtkInformation* request,
vtkInformationVector** inInfoVec,
vtkInformationVector* outInfoVec)
......
......@@ -54,7 +54,7 @@ public:
* Generalized interface for asking the executive to fulfill update
* requests.
*/
int ProcessRequest(vtkInformation* request,
vtkTypeBool ProcessRequest(vtkInformation* request,
vtkInformationVector** inInfo,
vtkInformationVector* outInfo) override;
......
......@@ -78,7 +78,7 @@ vtkStructuredGrid* vtkStructuredGridAlgorithm::GetStructuredGridInput(int port)
}
//----------------------------------------------------------------------------
int vtkStructuredGridAlgorithm::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkStructuredGridAlgorithm::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
{
......
......@@ -57,7 +57,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation*,
vtkTypeBool ProcessRequest(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*) override;
......
......@@ -48,7 +48,7 @@ void vtkTableAlgorithm::PrintSelf(ostream& os, vtkIndent indent)
}
//----------------------------------------------------------------------------
int vtkTableAlgorithm::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkTableAlgorithm::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
{
......
......@@ -55,7 +55,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation*,
vtkTypeBool ProcessRequest(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*) override;
......
......@@ -47,7 +47,7 @@ void vtkTreeAlgorithm::PrintSelf(ostream& os, vtkIndent indent)
}
//----------------------------------------------------------------------------
int vtkTreeAlgorithm::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkTreeAlgorithm::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
{
......
......@@ -52,7 +52,7 @@ public:
/**
* see vtkAlgorithm for details
*/
int ProcessRequest(vtkInformation*,
vtkTypeBool ProcessRequest(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*) override;
......
......@@ -129,8 +129,7 @@ void vtkTrivialProducer::FillOutputDataInformation(vtkDataObject* output,
}
//----------------------------------------------------------------------------
int
vtkTrivialProducer::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkTrivialProducer::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,
vtkInformationVector* outputVector)
{
......
......@@ -43,7 +43,7 @@ public:
* output data object is never modified, but it is queried to
* fulfill requests.
*/
int ProcessRequest(vtkInformation*,
vtkTypeBool ProcessRequest(vtkInformation*,
vtkInformationVector**,
vtkInformationVector*) override;
......
......@@ -47,7 +47,7 @@ void vtkUndirectedGraphAlgorithm::PrintSelf(ostream& os, vtkIndent indent)
}
//----------------------------------------------------------------------------
int vtkUndirectedGraphAlgorithm::ProcessRequest(vtkInformation* request,
vtkTypeBool vtkUndirectedGraphAlgorithm::ProcessRequest(vtkInformation* request,
vtkInformationVector** inputVector,