Add HDFDescriptor class that will describe HDF files.
The checks for the headers at the start of HDF4 & HDF5 files have been put in a static isHDF member to encapsulate the details about checking for a HDF file and make it reusable. It will not retain an open file handle to the file so does not inherit from the standard FileDescriptor. Refs #7263
Showing
- Code/Mantid/Framework/Kernel/CMakeLists.txt 3 additions, 0 deletionsCode/Mantid/Framework/Kernel/CMakeLists.txt
- Code/Mantid/Framework/Kernel/inc/MantidKernel/HDFDescriptor.h 91 additions, 0 deletions.../Mantid/Framework/Kernel/inc/MantidKernel/HDFDescriptor.h
- Code/Mantid/Framework/Kernel/src/HDFDescriptor.cpp 161 additions, 0 deletionsCode/Mantid/Framework/Kernel/src/HDFDescriptor.cpp
- Code/Mantid/Framework/Kernel/test/HDFDescriptorTest.h 136 additions, 0 deletionsCode/Mantid/Framework/Kernel/test/HDFDescriptorTest.h
Please register or sign in to comment