------------------------------------------------------------------------------
| 143 | |
| 144 | //------------------------------------------------------------------------------ |
| 145 | bool vtkHDFReader::Implementation::OpenGroupAsVTKGroup(const std::string& groupPath) |
| 146 | { |
| 147 | if (this->VTKGroup >= 0) |
| 148 | { |
| 149 | H5Gclose(this->VTKGroup); |
| 150 | this->VTKGroup = -1; |
| 151 | } |
| 152 | if ((this->VTKGroup = H5Gopen(this->File, groupPath.c_str(), H5P_DEFAULT)) < 0) |
| 153 | { |
| 154 | // the file doesn't exist or we try to read a non-VTKHDF file |
| 155 | return false; |
| 156 | } |
| 157 | |
| 158 | return true; |
| 159 | } |
| 160 | |
| 161 | //------------------------------------------------------------------------------ |
| 162 | bool vtkHDFReader::Implementation::RetrieveHDFInformation(const std::string& rootName) |
no test coverage detected