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/mData/mProjectManager/DataModels/ZxDataObjectStrEx.h

59 lines
1.3 KiB
C

#pragma once
#include "ZxDataObjectStr.h"
// DataObjectStrEx
class M_PROJECTMANAGER_EXPORT ZxDataObjectStrEx
: public ZxDataObjectStr
{
// ZX_DECLARE_DYNAMIC
public:
ZxDataObjectStrEx(ZxDataObject *pParent);
ZxDataObjectStrEx(const ZxDataObjectStrEx& other);
virtual ~ZxDataObjectStrEx();
ZxDataObjectStrEx &operator = (const ZxDataObjectStrEx& other);
bool operator == (const ZxDataObjectStrEx& other) const;
bool operator != (const ZxDataObjectStrEx& other) const;
public:
// 接口
virtual ZxDataObject* clone();
// 20240604为了方便新增内部解析
virtual bool _parseData(VecVariant vec, int& n);
virtual bool _sumUpData(VecVariant& vec);
// 序列化
virtual void onSerialize(ZxSerializer* ser);
virtual void onDeserialize(ZxSerializer* ser);
public:
void setExt6(const QString& s);
QString getExt6() const;
void setExt7(const QString& s);
QString getExt7() const;
void setExt8(const QString& s);
QString getExt8() const;
void setExt9(const QString& s);
QString getExt9() const;
void setExt10(const QString& s);
QString getExt10() const;
protected:
QString m_sExt6;
QString m_sExt7;
QString m_sExt8;
QString m_sExt9;
QString m_sExt10;
};