#include "FITKAnalyticalExpressField.h" namespace Interface { FITKAbstractFiled::FITKFieldType FITKFieldAanlyticalExpress::getFieldType() { //解析场 return FITKAbstractFiled::FITKFieldType::FFTAnalytical; } void FITKFieldAanlyticalExpress::setExpression(const QString& express) { //表达式 _expression = express; } QString FITKFieldAanlyticalExpress::getExpression() const { //表达式 return _expression; } bool FITKFieldAanlyticalExpress::copy(FITKAbstractDataObject* obj) { FITKFieldAanlyticalExpress* fe = dynamic_cast(obj); if (fe == nullptr) return false; _expression = fe->getExpression(); return FITKAbstractFiled::copy(obj); } }