00001 #ifndef gLISTEXT_X_H 00002 #define gLISTEXT_X_H 00003 00004 #include "glist.h" 00005 //////////////////////////////////////////////////////////// 00006 class gSmartList : public gList { 00007 public: 00008 gSmartList (char* s=nil, char aSmartChr=',') ; 00009 virtual ~gSmartList () ; 00010 00011 // Get methods 00012 virtual unsigned MatchWhere (char* s) ; 00013 00014 // Set methods 00015 virtual bool SetSmartChr (char aSmartChr) ; 00016 00017 virtual int AddFromStr (char* s) ; 00018 virtual int AddFromString (gString& aS) ; 00019 virtual int AddFromList (gList& aL) ; 00020 00021 protected: 00022 char smartChr; 00023 gString sSmartChr; 00024 00025 private: 00026 // Operators,empty 00027 gSmartList (gSmartList& ) ; //empty 00028 gSmartList& operator= (gSmartList& ) ; //empty 00029 }; 00030 //////////////////////////////////////////////////////////// 00031 #endif //gLISTEXT_X_H 00032