Skip to content

Make vtkHDFReader impl more stateless

Move some vtkHDFReaderImplementation methods into a stateless version.

List of new stateless methods in vtkHDFUtilities:

  • Open() -> will be the responsability of the caller to call retrieveHDFInformation
  • TemplateTypeToHdfNativeType()
  • GetAttribute()
  • GetNumberOfSteps()
  • GetDimensions()
  • RetrieveHDFInformation()
  • FileInfoCallBack()
  • GetArrayNames()
  • GetOrderedChildrenOfGroup()
  • OpenDataSet()
  • NewArrayForGroup()
  • GetMetadata()
  • GetFieldArraySize()
  • GetArrayOffset()
  • NewFieldArray()

List of protected/private methods moved to empty namespace vtkHDFUtilties.cxx:

  • struct of TypeDescription
  • GetTypeDescription()
  • NewArray()
  • NewStringArray()
  • ReadDataSetType()
  • NewVtkDataArray()
  • BuildTypeReaderMap()
  • AddName()

Merge request reports