#pragma once #include "iXmlUtilBase.h" #include "iUnitItem.h" #include "iUnitGroup.h" #include "iXmlManager_global.h" // 单位制管理 class I_XMLMANAGER_EXPORT iXmlUtilUnit : public iXmlUtilBase { public: // 加载xml static bool loadStructs(vecUnitGroupPtr& vecUnitGroups, QString sFile = ""); // //填写xml // static bool modifyUnitXml(vecUnitGroupPtr& vecUnitGroups, QString sFile = ""); //新建xml static bool newUnitXml(vecUnitGroupPtr& vecUnitGroups, QString sFile = ""); //删除单位配置信息 static void deleteUnitGroup(vecUnitGroupPtr& vecUnitGroup); //复制单位配置信息 static void copyUnitGroup(vecUnitGroupPtr& vecUnitGroupOriginal, vecUnitGroupPtr& vecUnitGroupNew); };