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/Models/iPvtParaItemGroup.h

33 lines
745 B
C

#pragma once
#include "iPvtParaItem.h"
/// @brief PVT所用组合
class I_XMLMANAGER_EXPORT iPvtParaItemGroup : public iModelInfoBase
{
public:
iPvtParaItemGroup();
~iPvtParaItemGroup();
// 解析xml节点到List
virtual void parseInfo(const QDomElement& e);
// 把List分配到成员变量
// 输入开始的m_listValues中index并且返回下一个index
virtual int allocateInfo(int nIndex);
// 写入xml
void writeInfo(QDomElement& e,QDomDocument &doc);
protected:
virtual void initXmlTags();
public:
vecPvtParaItemsPtr m_vecPvtParaItems;
// xml解析的数据项
QStringList m_listInputs; //输入参数列表
};
typedef QVector<iPvtParaItemGroup*> vecPvtParaItemGroupsPtr;