Commit ce3a6c01 authored by Ken Martin's avatar Ken Martin

ENH: some fixes and updates

parent 68418d2a
......@@ -69,28 +69,28 @@ FILE (READ ${CXX_FILE} CXX_CONTENTS)
STRING (REGEX REPLACE
"::ExecuteInformation[ \t]*\\([^{]*{"
"::ExecuteInformation (\n vtkInformation * vtkNotUsed(request),\n vtkInformationVector *inputVector,\n vtkInformationVector *outputVector)\n{"
"::ExecuteInformation (\n vtkInformation * vtkNotUsed(request),\n vtkInformationVector **inputVector,\n vtkInformationVector *outputVector)\n{"
CXX_CONTENTS "${CXX_CONTENTS}")
# add outInfo only once
IF (NOT "${CXX_CONTENTS}" MATCHES ".*::ExecuteInformation[^{]*{\n // get the info objects.*")
STRING (REGEX REPLACE
"::ExecuteInformation[ \t]*\\([^{]*{"
"::ExecuteInformation (\n vtkInformation * vtkNotUsed(request),\n vtkInformationVector *inputVector,\n vtkInformationVector *outputVector)\n{\n // get the info objects\n vtkInformation* outInfo = outputVector->GetInformationObject(0);\n vtkInformation *inInfo =\n this->GetInputConnectionInformation(inputVector,0,0);\n"
"::ExecuteInformation (\n vtkInformation * vtkNotUsed(request),\n vtkInformationVector **inputVector,\n vtkInformationVector *outputVector)\n{\n // get the info objects\n vtkInformation* outInfo = outputVector->GetInformationObject(0);\n vtkInformation *inInfo =\n this->GetInputConnectionInformation(inputVector,0,0);\n"
CXX_CONTENTS "${CXX_CONTENTS}")
ENDIF (NOT "${CXX_CONTENTS}" MATCHES ".*::ExecuteInformation[^{]*{\n // get the info objects.*")
STRING (REGEX REPLACE
"::ComputeInputUpdateExtent[ \t]*\\([^,\)]*,[^,\)]*\\)"
"::RequestUpdateExtent (\n vtkInformation * vtkNotUsed(request),\n vtkInformationVector *inputVector,\n vtkInformationVector *outputVector)"
"::RequestUpdateExtent (\n vtkInformation * vtkNotUsed(request),\n vtkInformationVector **inputVector,\n vtkInformationVector *outputVector)"
CXX_CONTENTS "${CXX_CONTENTS}")
# add outInfo only once
IF (NOT "${CXX_CONTENTS}" MATCHES ".*::RequestUpdateExtent[^{]*{\n // get the info objects.*")
STRING (REGEX REPLACE
"::RequestUpdateExtent[ \t]*\\([^{]*{"
"::RequestUpdateExtent (\n vtkInformation * vtkNotUsed(request),\n vtkInformationVector *inputVector,\n vtkInformationVector *outputVector)\n{\n // get the info objects\n vtkInformation* outInfo = outputVector->GetInformationObject(0);\n vtkInformation *inInfo =\n this->GetInputConnectionInformation(inputVector,0,0);\n"
"::RequestUpdateExtent (\n vtkInformation * vtkNotUsed(request),\n vtkInformationVector **inputVector,\n vtkInformationVector *outputVector)\n{\n // get the info objects\n vtkInformation* outInfo = outputVector->GetInformationObject(0);\n vtkInformation *inInfo =\n this->GetInputConnectionInformation(inputVector,0,0);\n"
CXX_CONTENTS "${CXX_CONTENTS}")
ENDIF (NOT "${CXX_CONTENTS}" MATCHES ".*::RequestUpdateExtent[^{]*{\n // get the info objects.*")
......
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