#ifndef CFDSTRUCTDATAMANAGERBASE_H #define CFDSTRUCTDATAMANAGERBASE_H #include #include "CFDStructDataManager_global.h" #include "CUIProperty/CUISigsCenter.h" #include "CUIProperty/CUIConfig.h" #include "CUIProperty/CUIDefine.h" #include "rapidjson/document.h" #include "rapidjson/writer.h" #include "rapidjson/stringbuffer.h" class CFDSTRUCTDATAMANAGER_EXPORT CFDStructDataManagerBase : public QObject { Q_OBJECT public: explicit CFDStructDataManagerBase(QObject *parent = nullptr); ~CFDStructDataManagerBase(); // 获取参数界面的配置 virtual CUIConfig* getParamUIConfig(); virtual void saveDataToDom(rapidjson::Document &dom); signals: protected: CUIConfig* m_uiConfig = nullptr; CUISigsCenter* m_cuiSigsCenter = nullptr; protected: virtual void jsonAdd(rapidjson::Document& document, QVariant value, QVector path); }; #endif // CFDSTRUCTDATAMANAGERBASE_H