TriTempFileClr.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #pragma once
  2. #include "TriTempFile.h"
  3. #include "TriTempItemClr.h"
  4. namespace OTSINTERFACE {
  5. using namespace System::Collections::Generic;
  6. using namespace System;
  7. using namespace OTSDATA;
  8. using namespace OTSMODEL;
  9. public ref class CTriTempFileClr
  10. {
  11. public:
  12. CTriTempFileClr(); // constructor
  13. CTriTempFileClr(CTriTempFilePtr); // copy constructor
  14. !CTriTempFileClr();
  15. ~CTriTempFileClr();
  16. CTriTempFilePtr GetTriTempFilePtr();
  17. bool Init();
  18. // name
  19. String^ GetName();
  20. void SetName(String^ a_strName);
  21. // version
  22. String^ GetVersion();
  23. void SetVersion(String^ a_strVersion);
  24. // triangle template list
  25. CTriTempItemListClr^ GetTriTempItemList();
  26. void SetTriTempItemList(CTriTempItemListClr^ a_listTriTemp, bool a_bClear);
  27. //CTriTempItemClr^ GetTriTempByIndex(int a_nIndex);
  28. //CTriTempItemClr^ GetTriTempByName(String^ a_strPartSizeName);
  29. //// part STD data
  30. //CPartSTDDataClr^ GetPartSTDData();
  31. //void SetPartSTDData(CPartSTDDataClr^ a_pPartSTDData);
  32. //bool GetPartNameList(List<String^>^%);
  33. private:
  34. CTriTempFilePtr* m_LpTempFile;
  35. };
  36. typedef System::Collections::Generic::List<CTriTempFileClr^> CTriTempFileListClr;
  37. }