-// Copyright (C) 2010-2019 CEA/DEN, EDF R&D
+// Copyright (C) 2010-2021 CEA/DEN, EDF R&D
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
unsigned char FirstCall0;
};
-vtkStandardNewMacro(vtkMEDReader);
+vtkStandardNewMacro(vtkMEDReader)
// vtkInformationKeyMacro(vtkMEDReader, META_DATA, DataObjectMetaData); // Here we need to customize vtkMEDReader::META_DATA method
// start of overload of vtkInformationKeyMacro
return const_cast<char *>(this->Internal->FileName.c_str());
}
-int vtkMEDReader::RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
+int vtkMEDReader::RequestInformation(vtkInformation *request, vtkInformationVector ** /*inputVector*/, vtkInformationVector *outputVector)
{
// std::cout << "########################################## vtkMEDReader::RequestInformation ##########################################" << std::endl;
if(!this->Internal)
return 1;
}
-int vtkMEDReader::RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
+int vtkMEDReader::RequestData(vtkInformation *request, vtkInformationVector ** /*inputVector*/, vtkInformationVector *outputVector)
{
// std::cout << "########################################## vtkMEDReader::RequestData ##########################################" << std::endl;
if(!this->Internal)
// request->Print(cout);
vtkInformation *outInfo(outputVector->GetInformationObject(0));
vtkMultiBlockDataSet *output(vtkMultiBlockDataSet::SafeDownCast(outInfo->Get(vtkDataObject::DATA_OBJECT())));
- bool isUpdated(false);
+ //bool isUpdated(false); // todo: unused
double reqTS(0.);
if(outInfo->Has(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEP()))
reqTS=outInfo->Get(vtkStreamingDemandDrivenPipeline::UPDATE_TIME_STEP());
return (int)this->Internal->TK.getTimesFlagArray()[pos].first;
}
-void vtkMEDReader::UpdateSIL(vtkInformation* request, vtkInformation *info)
+void vtkMEDReader::UpdateSIL(vtkInformation* /*request*/, vtkInformation * /*info*/)
{
if(!this->Internal)
return;