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_Component/FITKGeoOCCIOHDF5/FITKOCCHDF5Reader.h

115 lines
3.1 KiB
C

/*****************************************************************//**
*
* @file FITKHDF5Reader.h
* @brief HDF5 线
* @author fulipeng (flipengqd@yeah.net)
* @date 2024-09-09
*
*********************************************************************/
#ifndef __FITKOCCHDF5Reader_H__
#define __FITKOCCHDF5Reader_H__
#include "FITKGeoOCCIOHDF5API.h"
#include "FITK_Kernel/FITKCore/FITKCoreMacros.h"
#include "FITK_Interface/FITKInterfaceIO/FITKAbstractHDF5Reader.h"
ForwardDeclarNS(Core, FITKAbstractNDataObject);
ForwardDeclarNS(H5, Group);
ForwardDeclarNS(H5, DataType);
namespace IO
{
/**
* @brief HDF5
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
class FITKGEOOCCIOHDF5API FITKOCCHDF5Reader : public FITKAbstractHDF5Reader
{
public:
/**
* @brief Construct a new FITKOCCHDF5Reader object
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
explicit FITKOCCHDF5Reader() = default;
virtual ~FITKOCCHDF5Reader() = default;
/**
* @brief run
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
void run() override;
/**
* @brief
* @param[i] level 1 normal 2 warning 3error
* @param[i] str
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
void consoleMessage(int level, const QString& str) override;
protected:
private:
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
bool readCommDatas();
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
bool readDatumDatas();
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
bool readInfo();
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
bool readVersion();
/**
* @brief GeoModel
* @param enumName
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
Core::FITKAbstractNDataObject* getGeoCommand(QString enumName);
/**
* @brief GeoDatum
* @param enumName
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
Core::FITKAbstractNDataObject* getGeoDatum(QString enumName);
private:
};
}
#endif