#pragma once enum RcpSortingType { RCP_SORT_TYPE_SIZE=0, RCP_SORT_TYPE_PEAK, RCP_SORT_TYPE_COUNT }; enum RcpSortingData_Order { RCP_SORT_DATA_ORDER_DECEND=0, RCP_SORT_DATA_ORDER_ASCEND, RCP_SORT_DATA_ORDER_COUNT }; enum RcpSortingPriority { RCP_SORT_PRIORITY_NONE=0, RCP_SORT_PRIORITY_CIRCLE, RCP_SORT_PRIORITY_SCRATCH,RCP_SORT_PRIORITY_DENT, RCP_SORT_PRIORITY_PROTRUSION, RCP_SORT_PRIORITY_BUBBLE, RCP_SORT_PRIORITY_COUNT }; const CString strSortingPriority[RCP_SORT_PRIORITY_COUNT] = {_T("NONE"), _T("TFE"), _T("SCR"), _T("MHD"), _T("MHP"), _T("BL")}; const CString strSortingPriorityText[RCP_SORT_PRIORITY_COUNT] = {_T("NONE"), _T("CIRCLE"), _T("SCRATCH"), _T("DENT"), _T("PROTRUSION"), _T("BUBBLE")}; class AFX_EXT_CLASS CRcpSortingInfo { public: CRcpSortingInfo(void); virtual ~CRcpSortingInfo(void); public: void Reset(); // getter void GetInfo(CRcpSortingInfo& rhs); int GetSortingType() const { return m_nSortType; } int GetSortingData() const { return m_nSortData; } int GetSortingPriority() const { return m_nSortPriority; } // setter void SetInfo(const CRcpSortingInfo& rhs); void SetSortingType(int nType) { m_nSortType = nType; } void SetSortingData(int nData) { m_nSortData = nData; } void SetSortingPriority(int nPriority) { m_nSortPriority = nPriority; } public: int m_nSortType; int m_nSortData; int m_nSortPriority; };