00001
00018 #ifndef INC_MI32_MISTRINGLIST_H
00019 #define INC_MI32_MISTRINGLIST_H
00020
00021 #ifndef INC_MI32_MISTRING_H
00022 #include <mi32/mistring.h>
00023 #endif
00024
00025 #ifndef INC_MI32_MILIST_H
00026 #include <mi32/milist.h>
00027 #endif
00028
00029
00030 #ifdef MISYSTEMDLL
00031 #define CLASSLIBEXPORT MI_DLLCLASSEXPORT
00032 #else
00033 #define CLASSLIBEXPORT MI_DLLCLASSIMPORT
00034 #endif
00035
00036 class CLASSLIBEXPORT MISTRINGLIST : public MILIST<MISTRING> {
00037 public:
00038
00042 bool ContainsNoCase (
00043 const MISTRING& string
00044 ) const {
00045 for (CONST_ITERATOR it = Begin(); (it != End()); ++it) {
00046 if (it->CompareNoCase(string) == 0) return (true);
00047 }
00048 return (false);
00049 }
00050
00051 };
00052
00053 #undef CLASSLIBEXPORT
00054 #endif // INC_MI32_MISTRINGLIST_H