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

79 lines
2.0 KiB
C

/**********************************************************************
* @file FITKOFMeshBoundaryW.h
* @brief boundary
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-09-06
*********************************************************************/
#ifndef __FITKFLOWOFMESHBOUNDARYWRITER_H__
#define __FITKFLOWOFMESHBOUNDARYWRITER_H__
#include "FITKOFDictWriterAPI.h"
#include "FITKOFAbstractDictWriter.h"
class QTextStream;
namespace IO
{
/**
* @brief FITKOFMeshBoundaryW
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-07-15
*/
class FITKOFMeshBoundaryW : public FITKOFAbstractDictWriter
{
public:
explicit FITKOFMeshBoundaryW();
virtual ~FITKOFMeshBoundaryW();
/**
* @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 FoamFile
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-07-19
*/
void dictObjectFoamFile();
bool meshBoundaryW();
private:
/**
* @brief
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-07-19
*/
QString m_fileName{};
/**
* @brief
* @author liuzhonghua (liuzhonghuaszch@163.com)
* @date 2024-09-06
*/
QTextStream* m_stream{};
};
}
#endif