------------------------------------------------------------------------------
| 1453 | |
| 1454 | //------------------------------------------------------------------------------ |
| 1455 | vtkHDF::ScopedH5GHandle vtkHDFWriter::Implementation::GetSubfileNonNullPart( |
| 1456 | const std::string& blockPath, int& type) |
| 1457 | { |
| 1458 | for (auto& fileRoot : this->Subfiles) |
| 1459 | { |
| 1460 | vtkHDF::ScopedH5GHandle blockG = this->OpenExistingGroup(fileRoot, blockPath.c_str()); |
| 1461 | if (blockG == H5I_INVALID_HID) |
| 1462 | { |
| 1463 | vtkWarningWithObjectMacro( |
| 1464 | this->Writer, "Could not find group " << blockPath << " in subfile " << blockG); |
| 1465 | } |
| 1466 | |
| 1467 | if (H5Aexists(blockG, "Type") >= 0 && vtkHDFUtilities::ReadDataSetType(blockG, type)) |
| 1468 | { |
| 1469 | return blockG; |
| 1470 | } |
| 1471 | } |
| 1472 | |
| 1473 | // Not found |
| 1474 | return H5I_INVALID_HID; |
| 1475 | } |
| 1476 | |
| 1477 | //------------------------------------------------------------------------------ |
| 1478 | vtkHDFWriter::Implementation::IndexingMode vtkHDFWriter::Implementation::GetDatasetIndexationMode( |
no test coverage detected