00001 00015 #ifndef INC_RVC_OPCOMPONENT_H 00016 #define INC_RVC_OPCOMPONENT_H 00017 00018 #ifndef INC_MI32_MISTRING_ 00019 #include <mi32/mistring.h> 00020 #endif 00021 00022 namespace RVC { 00023 namespace OP { 00024 00025 //===================================================================================================================== 00026 00028 class COMPONENT { 00029 public: 00030 00032 enum SELECTION { 00033 SELECTION_None = 0, 00034 SELECTION_All = 1, 00035 SELECTION_ByQuery = 2 00036 }; 00037 00039 enum VALUATION { 00040 VALUATION_ByObject = 0, 00041 VALUATION_ByQuery = 1 00042 }; 00043 00045 COMPONENT (); 00046 00048 COMPONENT ( 00049 const COMPONENT& rhs 00050 ); 00051 00053 ~COMPONENT ( 00054 ); 00055 00057 COMPONENT& operator= ( 00058 const COMPONENT& rhs 00059 ); 00060 00062 SELECTION GetSelection ( 00063 ) const { return (m_Selection); } 00064 00066 const MISTRING& GetSelectionQuery ( 00067 ) const { return (m_SelectionQuery); } 00068 00070 VALUATION GetValuation ( 00071 ) const { return (m_Valuation); } 00072 00074 const MISTRING& GetValuationQuery ( 00075 ) const { return (m_ValuationQuery); } 00076 00078 void SetSelection ( 00079 const SELECTION select 00080 ) { m_Selection = select; } 00081 00083 void SetSelectionQuery ( 00084 const MISTRING& query 00085 ) { m_SelectionQuery = query; } 00086 00088 void SetValuation ( 00089 const VALUATION value 00090 ) { m_Valuation = value; } 00091 00093 void SetValuationQuery ( 00094 const MISTRING& query 00095 ) { m_ValuationQuery = query; } 00096 00097 private: 00098 #ifndef GENERATING_DOXYGEN_OUTPUT 00099 SELECTION m_Selection; 00100 VALUATION m_Valuation; 00101 MISTRING m_SelectionQuery; 00102 MISTRING m_ValuationQuery; 00103 #endif // GENERATING_DOXYGEN_OUTPUT 00104 }; 00105 00106 //===================================================================================================================== 00107 00108 } // End namespace OP 00109 } // End namespace RVC 00110 00111 #endif // INC_RVC_OPCOMPONENT_H
1.6.1