OTSFeatureClr.h 785 B

123456789101112131415161718192021222324252627282930313233
  1. #pragma once
  2. #include "OTSSegmentClr.h"
  3. #include "OTSFeature.h"
  4. namespace OTSCLRINTERFACE {
  5. using namespace System;
  6. using namespace OTSDATA;
  7. public ref class COTSFeatureClr : public Object
  8. {
  9. public:
  10. COTSFeatureClr();
  11. COTSFeatureClr(COTSFeatureClr^);
  12. COTSFeatureClr(COTSFeaturePtr); //can only be used in C++, because the original C++ type. // copy constructor
  13. !COTSFeatureClr();
  14. ~COTSFeatureClr();
  15. COTSFeaturePtr GetOTSFeaturePtr(); //can only be used in C++, because the original C++ type.
  16. COTSSegmentListClr^ GetSegmentsList(); // segments list
  17. void SetSegmentsList(COTSSegmentListClr^ a_plistSegment, bool a_bClear);
  18. COTSSegmentClr^ GetSegmentByIndex(int a_nIndex);
  19. protected:
  20. COTSFeaturePtr* mFeature;
  21. };
  22. }