00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef __WVSTRINGTABLE_H
00010 #define __WVSTRINGTABLE_H
00011
00012 #include "wvstring.h"
00013 #include "wvscatterhash.h"
00014
00015 DeclareWvScatterTable2(WvStringTableBase, WvString);
00016
00017 class WvStringTable : public WvStringTableBase
00018 {
00019
00020 WvStringTable(const WvStringTable &t);
00021 public:
00022 WvStringTable(unsigned _numslots = 0) : WvStringTableBase(_numslots) {};
00023 WvString join(const char *joinchars = " \t") const;
00024 void split(WvStringParm s, const char *splitchars = " \t\r\n",
00025 int limit = 0);
00026 void splitstrict(WvStringParm s, const char *splitchars = " \t\r\n",
00027 int limit = 0);
00028 };
00029
00030 #endif // __WVSTRINGTABLE_H