#pragma once #include "OTSSegmentClr.h" #include "OTSFeature.h" namespace OTSCLRINTERFACE { using namespace System; using namespace OTSDATA; public ref class COTSFeatureClr : public Object { public: COTSFeatureClr(); COTSFeatureClr(COTSFeatureClr^); COTSFeatureClr(COTSFeaturePtr); //can only be used in C++, because the original C++ type. // copy constructor !COTSFeatureClr(); ~COTSFeatureClr(); COTSFeaturePtr GetOTSFeaturePtr(); //can only be used in C++, because the original C++ type. COTSSegmentListClr^ GetSegmentsList(); // segments list void SetSegmentsList(COTSSegmentListClr^ a_plistSegment, bool a_bClear); COTSSegmentClr^ GetSegmentByIndex(int a_nIndex); protected: COTSFeaturePtr* mFeature; }; }