00001
00002
00003
00004
00005
00006
00007 #ifndef __UNICONFPAIR_H
00008 #define __UNICONFPAIR_H
00009
00010 #include "uniconfkey.h"
00011 #include "wvstring.h"
00012 #include "wvhashtable.h"
00013
00014
00016 class UniConfPair
00017 {
00018 UniConfKey xkey;
00019 WvString xvalue;
00021 public:
00027 UniConfPair(const UniConfKey &key, WvStringParm value)
00028 : xkey(key), xvalue(value) { }
00029
00030
00031 const UniConfKey &key() const
00032 { return xkey; }
00033
00034 const WvString &value()
00035 { return xvalue; }
00036
00037 void setvalue(WvStringParm value) { xvalue = value; }
00038
00039 void setkey(UniConfKey &key) { xkey = key; }
00040 };
00041
00042 DeclareWvList(UniConfPair);
00043
00044 #endif //__UNICONFPAIR_H