File indexing completed on 2025-01-18 10:15:12
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026 #if defined(XERCES_TMPLSINC)
0027 #include <xercesc/util/KeyValuePair.hpp>
0028 #endif
0029
0030 XERCES_CPP_NAMESPACE_BEGIN
0031
0032
0033
0034
0035 template <class TKey, class TValue> KeyValuePair<TKey,TValue>::KeyValuePair()
0036 {
0037 }
0038
0039 template <class TKey, class TValue> KeyValuePair<TKey,TValue>::
0040 KeyValuePair(const TKey& key, const TValue& value) :
0041
0042 fKey(key)
0043 , fValue(value)
0044 {
0045 }
0046
0047 template <class TKey, class TValue> KeyValuePair<TKey,TValue>::
0048 KeyValuePair(const KeyValuePair<TKey,TValue>& toCopy) :
0049
0050 fKey(toCopy.fKey)
0051 , fValue(toCopy.fValue)
0052 {
0053 }
0054
0055 template <class TKey, class TValue> KeyValuePair<TKey,TValue>::~KeyValuePair()
0056 {
0057 }
0058
0059
0060
0061
0062
0063 template <class TKey, class TValue> const TKey&
0064 KeyValuePair<TKey,TValue>::getKey() const
0065 {
0066 return fKey;
0067
0068 }
0069
0070 template <class TKey, class TValue> TKey& KeyValuePair<TKey,TValue>::getKey()
0071 {
0072 return fKey;
0073 }
0074
0075 template <class TKey, class TValue> const TValue&
0076 KeyValuePair<TKey,TValue>::getValue() const
0077 {
0078 return fValue;
0079 }
0080
0081 template <class TKey, class TValue> TValue& KeyValuePair<TKey,TValue>::getValue()
0082 {
0083 return fValue;
0084 }
0085
0086
0087
0088
0089
0090 template <class TKey, class TValue> TKey&
0091 KeyValuePair<TKey,TValue>::setKey(const TKey& newKey)
0092 {
0093 fKey = newKey;
0094 return fKey;
0095 }
0096
0097 template <class TKey, class TValue> TValue&
0098 KeyValuePair<TKey,TValue>::setValue(const TValue& newValue)
0099 {
0100 fValue = newValue;
0101 return fValue;
0102 }
0103
0104 XERCES_CPP_NAMESPACE_END