12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- #pragma once
- #include "HoleClr.h"
- #include "Stage.h"
- #include <DomainClr.h>
- namespace OTSCLRINTERFACE {
- using namespace OTSDATA;
- using namespace System;
- using namespace OTSDATA;
- ref class CHoleClr;
- public ref class CStageClr :public Object
- {
- public:
- CStageClr(); // constructor
-
- CStageClr(CStagePtr pStage); // copy constructor
- CStageClr(CStage*);
- ~CStageClr();
- !CStageClr();
- // stage name
- String^ GetName();
- void SetName(String ^ a_strName);
- // boundary
- CDomainClr^ GetBourary();
- void SetBoundary(CDomainClr^ a_poBouray);
- // std
- CDomainClr^ GetSTD();
- void SetSTD(CDomainClr^ a_poSTD);
- // sample holes list
- CHoleListClr^ GetHoleList();
- void SetHoleList(CHoleListClr^ a_listHoles);
-
- // get stage pointer
- CStagePtr GetStagePtr();
- protected:
-
- CStagePtr *m_Stage;
- };
- typedef System::Collections::Generic::List<CStageClr^> CStagesListClr;
- }
|