#pragma once #include "iXmlUtilBase.h" #include "iXmlCurveDictConfig.h" class I_XMLMANAGER_EXPORT iXmlUtilCurveDictConfig : public iXmlUtilBase { public: /// @brief 加载曲线字典 /// @param pVecXmlTables结果载体 /// @param sFile:Xml对应文件,如果为空,则自动指向 CurveDictionary.xml /// @param sTableSpecial如果非空,则仅仅提取指定表结构 static bool loadStructs(vecXmlCurveItemsPtr* pVecCurveItems, QString sFile, QString sCurveSpecial = ""); static bool createChildByID(vecXmlCurveItemsPtr* pVecCurveItems); static iXmlCurveItem* getItemParentByID(vecXmlCurveItemsPtr* pVecCurveItems, QString sID); /// @brief 修改特定曲线字典信息 /// @param sCurve /// @param p 待修改的字段新的信息 /// @param sFile:Xml对应文件,如果为空,则自动指向 CurveDictionary.xml // static bool modifyCurveItems(QString sCurve, // iXmlCurveItem* p, // QString sFile); };