----------------------------------------------------------------------------
| 261 | |
| 262 | //---------------------------------------------------------------------------- |
| 263 | void vtkCGNSFileSeriesReader::ChooseActiveFile(int index) |
| 264 | { |
| 265 | std::string fname = |
| 266 | (index < static_cast<int>(this->ActiveFiles.size())) ? this->ActiveFiles[index] : std::string(); |
| 267 | if (this->Reader->GetFileName() == nullptr || this->Reader->GetFileName() != fname) |
| 268 | { |
| 269 | this->Reader->SetFileName(fname.c_str()); |
| 270 | this->Reader->UpdateInformation(); |
| 271 | } |
| 272 | } |
| 273 | |
| 274 | //---------------------------------------------------------------------------- |
| 275 | #if defined(_MSC_VER) |
no test coverage detected