00001 00021 #ifndef INC_MI32_GETSTRF_H 00022 #define INC_MI32_GETSTRF_H 00023 00024 #ifndef INC_MI32_FILTBASE_H 00025 #include <mi32/filtbase.h> 00026 #endif 00027 00028 //------------------------------------------------------------------------------------------------------------------- 00030 class GETSTRINGFILTER : public FILTER_BASE { 00031 public: 00032 00035 bool IsValid ( 00036 const MISTRING& string 00037 ) { Clear(); return (v_IsValid(string)); } 00038 00041 bool MakeValid ( 00042 MISTRING& string 00043 ) { return (v_MakeValid(string)); } 00044 00045 protected: 00046 00047 virtual ~GETSTRINGFILTER () = 0; 00048 00049 private: 00050 00054 virtual bool v_IsValid ( 00055 const MISTRING& string 00056 ); 00057 00062 virtual bool v_MakeValid ( 00063 MISTRING& string 00064 ); 00065 }; 00066 00067 00068 #endif
1.6.1