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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# pragma once
# include "iParameter.h"
# include "iParameterGroup.h"
/// @brief 参数描述组合,对于参数跟着模型的特殊处理
class I_XMLMANAGER_EXPORT iParameterGroupSp : public iParameterGroup
{
public :
iParameterGroupSp ( ) ;
~ iParameterGroupSp ( ) ;
// 解析xml节点到List
virtual void parseInfo ( const QDomElement & e ) ;
// 把List分配到成员变量
// 输入开始的m_listValues中index, 并且返回下一个index
virtual int allocateInfo ( int nIndex ) ;
bool isGroupOf ( QString sSeries , QString sWbs , QString sWel , QString sRes ) ;
bool isMemberOk ( QString sMem , QString sValue ) ;
// 序列化
virtual void onSerialize ( ZxSerializer * ser ) ;
virtual void onDeserialize ( ZxSerializer * ser ) ;
protected :
virtual void initXmlTags ( ) ;
public :
// xml解析的数据项
QString m_sSerie ; //序列
QString m_sWbs ; //井储,支持多个,以;分割
QString m_sWel ; //井型,支持多个,以;分割
QString m_sRes ; //油藏类型,支持多个,以;分割
QString m_sBdy ; //边界类型,支持多个,以;分割
// vecParametersPtr m_vecParameters;
} ;
typedef QVector < iParameterGroupSp * > vecParameterGroupSpsPtr ;