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/nmNum/nmData/nmDataUtils.h

31 lines
744 B
C++

This file contains ambiguous Unicode characters!

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 "ZxDataObject.h"
#include "nmData_global.h"
class ZxDataProject;
class ZxDataWell;
// 数值试井数据对象如何进行初始加载的方式
class NM_DATA_EXPORT nmDataUtils : public QObject
{
public:
nmDataUtils();
~nmDataUtils();
// 对数据对象的children进行外部扩充ZxDataProject 和 ZxDataWell
static bool extendChildrenOfProj(ZxDataProject* pDataProj);
static bool extendChildrenOfWell(ZxDataWell* pDataWell);
// 将QVector<QPointF> 转换为 QByteArray
static bool convertVP2Ba(QVector<QPointF>& points, QByteArray& byteArray);
// 将QByteArray 转换为 QVector<QPointF>
static bool convertBa2VP(QByteArray& byteArray, QVector<QPointF>& points);
};