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 "iModelDesc.h"
|
|
|
|
|
|
|
|
|
|
/// @brief 模型描述组合
|
|
|
|
|
class I_XMLMANAGER_EXPORT iModelDescGroup : public iModelInfoBase
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
iModelDescGroup(QObject* parent = 0);
|
|
|
|
|
~iModelDescGroup();
|
|
|
|
|
|
|
|
|
|
// 解析xml节点到List
|
|
|
|
|
virtual void parseInfo(const QDomElement& e);
|
|
|
|
|
// 把List分配到成员变量
|
|
|
|
|
// 输入开始的m_listValues中index,并且返回下一个index
|
|
|
|
|
virtual int allocateInfo(int nIndex);
|
|
|
|
|
|
|
|
|
|
// 序列化
|
|
|
|
|
virtual void onSerialize(ZxSerializer* ser);
|
|
|
|
|
virtual void onDeserialize(ZxSerializer* ser);
|
|
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
virtual void initXmlTags();
|
|
|
|
|
|
|
|
|
|
public:
|
|
|
|
|
|
|
|
|
|
vecModelDescsPtr m_vecModelDescs;
|
|
|
|
|
QString m_sSerie;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
typedef QVector<iModelDescGroup*> vecModelDescGroupsPtr;
|