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.

43 lines
935 B
C++

#pragma once
#include "PointNameEx.h"
#include "WellBranch.h"
#include "WellGroupParameter.h"
#include <vector>
using namespace::std;
class AFX_EXT_CLASS CWellGroup : public CPointNameEx
{
public:
CWellGroup(void);
~CWellGroup();
void ClearAll();
CWellGroup(const CWellGroup& other);
CWellGroup& operator=(const CWellGroup& other);
void Serialize(CArchive& ar, const short &ver) override;
virtual int Read(CFile& fr, const short& ver);
virtual void Write(CFile& fw, const short& ver);
int ReadDML(CFile &fr, const short &ver);
virtual void WriteDML(CFile &fw, const short& ver, int nBaseTabNum);
virtual void Draw(void* pDC);
virtual bool GetRange(CRect8& range);
virtual int IsInRange(CRect8& range);
virtual void Offset(double dx, double dy);
public:
vector<CWellBranch*> WellBranches;
CWellGroupParameter* m_pParameter;
CHowToViewPoint* m_pHowTowViewPointWell;
void Clone(const CWellGroup& other);
};