OTSSegmentClr.h 912 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #pragma once
  2. #include "OTSSegment.h"
  3. namespace OTSCLRINTERFACE {
  4. using namespace System;
  5. using namespace OTSDATA;
  6. public ref class COTSSegmentClr
  7. {
  8. public:
  9. // constructor
  10. COTSSegmentClr(); // constructor
  11. COTSSegmentClr(long a_nHeight, long a_nStart, long a_nLength); // constructor
  12. COTSSegmentClr(COTSSegmentPtr); // copy constructor
  13. COTSSegmentClr(COTSSegmentClr^);
  14. COTSSegmentClr(COTSSegment*);
  15. COTSSegmentPtr GetOTSSegmentPtr();
  16. ~COTSSegmentClr();
  17. !COTSSegmentClr();
  18. long GetHeight();
  19. void SetHeight(long a_nHeight);
  20. long GetStart();
  21. void SetStart(long a_nStart);
  22. long GetLength();
  23. void SetLength(long a_nLength);
  24. long GetEnd();
  25. void SetEnd(long end);
  26. void UpDownConection(COTSSegmentClr^);
  27. protected:
  28. COTSSegmentPtr* m_Segment;
  29. };
  30. typedef System::Collections::Generic::List<COTSSegmentClr^> COTSSegmentListClr;
  31. }