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.
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include "iModelInfoBase.h"
|
|
|
|
|
|
|
|
|
|
/// @brief PVT所用
|
|
|
|
|
class I_XMLMANAGER_EXPORT iPvtParaItem : public iModelInfoBase
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
iPvtParaItem();
|
|
|
|
|
~iPvtParaItem();
|
|
|
|
|
|
|
|
|
|
// 把List分配到成员变量
|
|
|
|
|
// 输入开始的m_listValues中index,并且返回下一个index
|
|
|
|
|
virtual int allocateInfo(int nIndex);
|
|
|
|
|
|
|
|
|
|
// 写入xml
|
|
|
|
|
void writeInfo(QDomElement& e,QDomDocument &doc);
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
virtual void initXmlTags();
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
// xml解析的数据项
|
|
|
|
|
QStringList m_listMethods; //方法列表
|
|
|
|
|
QStringList m_listMembers; //基本参数列表
|
|
|
|
|
QStringList m_listBrothers; //关联类列表
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
typedef QVector<iPvtParaItem*> vecPvtParaItemsPtr;
|