#pragma once #include "OTSSegment.h" namespace OTSCLRINTERFACE { using namespace System; using namespace OTSDATA; public ref class COTSSegmentClr { public: // constructor COTSSegmentClr(); // constructor COTSSegmentClr(long a_nHeight, long a_nStart, long a_nLength); // constructor COTSSegmentClr(COTSSegmentPtr); // copy constructor COTSSegmentClr(COTSSegmentClr^); COTSSegmentClr(COTSSegment*); COTSSegmentPtr GetOTSSegmentPtr(); ~COTSSegmentClr(); !COTSSegmentClr(); long GetHeight(); void SetHeight(long a_nHeight); long GetStart(); void SetStart(long a_nStart); long GetLength(); void SetLength(long a_nLength); long GetEnd(); void SetEnd(long end); void UpDownConection(COTSSegmentClr^); protected: COTSSegmentPtr* m_Segment; }; typedef System::Collections::Generic::List COTSSegmentListClr; }