You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
AppFlow/FITK_Interface/FITKInterfaceIO/FITKAbstractHDF5Reader.h

75 lines
1.8 KiB
C

/**
*
* @file FITKAbstractHDF5Reader.h
* @brief HDF5
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-29
*
*/
#ifndef _FITKABSTRACTHDF5READER_H__
#define _FITKABSTRACTHDF5READER_H__
#include "FITKInterfaceIOAPI.h"
#include "FITKAbstractIO.h"
#include "FITK_Kernel/FITKCore/FITKCoreMacros.h"
#include <QStringList>
ForwardDeclarNS(H5, H5File);
ForwardDeclarNS(H5, Group);
ForwardDeclarNS(H5, H5Object);
ForwardDeclarNS(H5, DataType);
namespace IO
{
/**
* @brief HDF5
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-29
*/
class FITKInterfaceIOAPI FITKAbstractHDF5Reader : public Interface::FITKAbstractIO
{
public:
explicit FITKAbstractHDF5Reader() = default;
virtual ~FITKAbstractHDF5Reader() = default;
/**
* @brief H5
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-29
*/
void setH5Root(H5::H5File* h5File);
/**
* @brief
* param v
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-29
*/
void setVersion(double v);
/**
* @brief
* param p -1 0-100
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-29
*/
void sendCurrentPercent(int p = -1);
protected:
/**
* @brief H5
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-29
*/
H5::H5File* _h5File{};
/**
* @brief H5
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-05-29
*/
double _version = -1;
};
}
#endif