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/iXmlUtilParameter.h

30 lines
761 B
C

#pragma once
#include "iParameterGroup.h"
#include "iParameterGroupSp.h"
#include "iXmlUtilBase.h"
// 加载参数结构体
class I_XMLMANAGER_EXPORT iXmlUtilParameter : public iXmlUtilBase
{
public:
/// @brief 加载参数结构体
/// @param pVecGroups参数结构体
/// @param sFileXml对应文件
static bool loadStructs(vecParameterGroupsPtr *pVec,
QString sFile);
static bool loadStructsEx(vecParameterGroupSpsPtr *pVec,
QString sFile);
/// @brief 保存参数结构体
/// @param pVecGroups参数结构体
/// @param sFileXml对应文件
static bool saveParameters(vecParameterGroupsPtr *pVec,
QString sFile);
};