MCPcopy Create free account
hub / github.com/Kitware/VTK / GetGroupName

Method GetGroupName

IO/HDF/vtkHDFWriterImplementation.cxx:214–225  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

212
213//------------------------------------------------------------------------------
214std::string vtkHDFWriter::Implementation::GetGroupName(hid_t group)
215{
216 size_t len = H5Iget_name(group, nullptr, 0);
217 if (len == 0)
218 {
219 return std::string("");
220 }
221 std::string buffer;
222 buffer.resize(len);
223 H5Iget_name(group, &buffer.front(), len + 1);
224 return buffer;
225}
226
227//------------------------------------------------------------------------------
228bool vtkHDFWriter::Implementation::CreateStepsGroup(hid_t group)

Callers 6

CreateVirtualDatasetMethod · 0.95
GetPrimitiveMethod · 0.95
WriteSumStepsMethod · 0.95
WriteSumStepsPolyDataMethod · 0.95
AppendMultiblockMethod · 0.45

Calls 4

H5Iget_nameFunction · 0.85
stringClass · 0.50
resizeMethod · 0.45
frontMethod · 0.45

Tested by

no test coverage detected