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/FITKOCCHDF5Writer.h

105 lines
2.7 KiB
C

/*****************************************************************//**
*
* @file FITKHDF5Writer.h
* @brief HDF5 线
* @author fulipeng (flipengqd@yeah.net)
* @date 2024-09-09
*
*********************************************************************/
#ifndef __FITKABAQUSABAQUSWRITER_H__
#define __FITKABAQUSABAQUSWRITER_H__
#include "FITKGeoOCCIOHDF5API.h"
#include "FITK_Kernel/FITKCore/FITKCoreMacros.h"
#include "FITK_Interface/FITKInterfaceIO/FITKAbstractHDF5Writer.h"
ForwardDeclarNS(Core, FITKAbstractDataObject);
ForwardDeclarNS(H5, H5File);
ForwardDeclarNS(H5, Group);
ForwardDeclarNS(H5, H5Object);
ForwardDeclarNS(H5, DataType);
namespace IO
{
/**
* @brief HDF5
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
class FITKGEOOCCIOHDF5API FITKOCCHDF5Writer : public FITKAbstractHDF5Writer
{
public:
/**
* @brief Construct a new FITKOCCHDF5Writer object
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
explicit FITKOCCHDF5Writer() = default;
virtual ~FITKOCCHDF5Writer() = default;
/**
* @brief run
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
void run() override;
/**
* @brief
* @param Progress
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
void sendCalculateProgress(int Progress);
/**
* @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;
private:
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
bool writeCommDatas();
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
bool writeDatumDatas();
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
bool writeInfo();
/**
* @brief
* @return true false
* @author fulipeng (fulipengqd@yeah.net)
* @date 2024-09-09
*/
bool writeVersion();
private:
};
}
#endif