#pragma once #include "PointNameEx.h" #include "WellBranch.h" #include "WellGroupParameter.h" #include 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 WellBranches; CWellGroupParameter* m_pParameter; CHowToViewPoint* m_pHowTowViewPointWell; void Clone(const CWellGroup& other); };