------------------------------------------------------------------------------
| 290 | |
| 291 | //------------------------------------------------------------------------------ |
| 292 | bool vtkHDFReader::Implementation::HasAttribute(const char* groupName, const char* attributeName) |
| 293 | { |
| 294 | vtkHDF::ScopedH5GHandle groupID = H5Gopen(this->File, groupName, H5P_DEFAULT); |
| 295 | if (groupID < 0) |
| 296 | { |
| 297 | return false; |
| 298 | } |
| 299 | return H5Aexists(groupID, attributeName) > 0; |
| 300 | } |
| 301 | |
| 302 | //------------------------------------------------------------------------------ |
| 303 | bool vtkHDFReader::Implementation::HasDataset(const char* datasetName) |
no test coverage detected