00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef INCL_KEY_VALUE_PAIR
00021 #define INCL_KEY_VALUE_PAIR
00022
00024 #include "base/fscapi.h"
00025 #include "base/util/ArrayElement.h"
00026
00030 class KeyValuePair : public ArrayElement {
00031 public:
00032
00033 KeyValuePair(const char* key = NULL, const char* value = NULL) EXTRA_SECTION_00;
00034 ~KeyValuePair() EXTRA_SECTION_00;
00035
00036 ArrayElement* clone() EXTRA_SECTION_00;
00037
00045 void setKey(const char* key) EXTRA_SECTION_00;
00046
00055 void setValue(const char* value) EXTRA_SECTION_00;
00056
00060 const char* getKey() EXTRA_SECTION_00;
00061
00065 const char* getValue() EXTRA_SECTION_00;
00066
00067 private:
00068 char* k;
00069 char* v;
00070 };
00071
00073 #endif