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/FITKInterfacePhysics/FITKAnalyticalExpressField.h

85 lines
2.1 KiB
C

/**
*
* @file FITKAnalyticalExpressField.h
* @brief
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-07-11
*
*/
#ifndef __FITK_ANALY_EXPRESS_FIELD_H__
#define __FITK_ANALY_EXPRESS_FIELD_H__
#include "FITKAbstractFields.h"
namespace Interface
{
/**
* @brief
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-07-11
*/
class FITKInterfacePhysicsAPI FITKFieldAanlyticalExpress :
public FITKAbstractFiled
{
public:
/**
* @brief Construct a new FITKFieldAanlyticalExpress object
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-07-11
*/
explicit FITKFieldAanlyticalExpress() = default;
/**
* @brief Destroy the FITKFieldAanlyticalExpress object
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-07-11
*/
virtual ~FITKFieldAanlyticalExpress() = default;
/**
* @brief
* @return FITKFieldType
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-07-11
*/
virtual FITKFieldType getFieldType() override;
/**
* @brief
* @param express
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-07-11
*/
void setExpression(const QString& express);
/**
* @brief
* @return QString
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-07-11
*/
QString getExpression() const;
/**
* @brief ,id
* @param[i] obj
* @return true
* @return false
* @author LiBaojun (libaojunqd@foxmail.com)
* @date 2024-07-12
*/
bool copy(FITKAbstractDataObject* obj) override;
private:
/**
* @brief
* @author libaojun (libaojunqd@foxmail.com)
* @date 2024-07-11
*/
QString _expression{};
};
}
#endif