StageClr.h 886 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #pragma once
  2. #include "HoleClr.h"
  3. #include "Stage.h"
  4. namespace OTSINTERFACE {
  5. using namespace OTSDATA;
  6. using namespace System;
  7. using namespace OTSMODEL;
  8. ref class CHoleClr;
  9. public ref class CStageClr :public Object
  10. {
  11. public:
  12. CStageClr(); // constructor
  13. CStageClr(CStagePtr pStage); // copy constructor
  14. CStageClr(CStage*);
  15. ~CStageClr();
  16. !CStageClr();
  17. // stage name
  18. String^ GetName();
  19. void SetName(String ^ a_strName);
  20. // boundary
  21. CDomainClr^ GetBourary();
  22. void SetBoundary(CDomainClr^ a_poBouray);
  23. // std
  24. CDomainClr^ GetSTD();
  25. void SetSTD(CDomainClr^ a_poSTD);
  26. // sample holes list
  27. CHoleListClr^ GetHoleList();
  28. void SetHoleList(CHoleListClr^ a_listHoles);
  29. // get stage pointer
  30. CStagePtr GetStagePtr();
  31. protected:
  32. CStagePtr *m_Stage;
  33. };
  34. typedef System::Collections::Generic::List<CStageClr^> CStagesListClr;
  35. }