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.
nmWATI/Include/iData/iXmlManager/iXmlUtilCurveDictConfig.h

29 lines
1.1 KiB
C++

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#pragma once
#include "iXmlUtilBase.h"
#include "iXmlCurveDictConfig.h"
class I_XMLMANAGER_EXPORT iXmlUtilCurveDictConfig : public iXmlUtilBase
{
public:
/// @brief 加载曲线字典
/// @param pVecXmlTables结果载体
/// @param sFileXml对应文件如果为空则自动指向 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 sFileXml对应文件如果为空则自动指向 CurveDictionary.xml
// static bool modifyCurveItems(QString sCurve,
// iXmlCurveItem* p,
// QString sFile);
};