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/FITKOFDictWriter/FITKOFOperatingConditionsW.h

92 lines
2.2 KiB
C

/**********************************************************************
* @file FITKOFOperatingConditionsW.h
* @brief
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-09-05
*********************************************************************/
#ifndef __FITKFLOWOFOperatingConditionsWRITER_H__
#define __FITKFLOWOFOperatingConditionsWRITER_H__
#include "FITKOFDictWriterAPI.h"
#include "FITKOFAbstractDictWriter.h"
namespace Interface
{
class FITKOFPhysicsData;
}
namespace DICT
{
class FITKDictVector;
class FITKDictArray;
}
namespace IO
{
/**
* @brief setFieldsDict
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-07-15
*/
class FITKOFOperatingConditionsW : public FITKOFAbstractDictWriter
{
public:
explicit FITKOFOperatingConditionsW();
virtual ~FITKOFOperatingConditionsW();
/**
* @brief
* @param[i] filePath
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-07-19
*/
void setFilePath(const QString& filePath) override;
/**
* @brief run
* @return true: false:
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-07-15
*/
bool run() override;
/**
* @brief
* @return QString
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-07-19
*/
QString getFileName() override;
private:
/**
* @brief
* @return void
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-09-05
*/
bool gravitationalFileW();
/**
* @brief
* @return bool
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-09-05
*/
bool accelerationFileW();
private:
/**
* @brief
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-07-19
*/
QString m_fileName{};
Interface::FITKOFPhysicsData* m_physicsData{};
};
}
#endif