Public Member Functions | |
KeyValuePair () | |
Null key-value pair initializer. More... | |
KeyValuePair (const TKey &key, const TValue &value) | |
template<typename OtherK , typename OtherV > | |
KeyValuePair (const std::pair< OtherK, OtherV > &pair) | |
const TKey & | get_Key () const |
const TValue & | get_Value () const |
bool | IsNull () const |
Always returns false. More... | |
bool | operator< (const KeyValuePair &kvp) const |
String | ToString () const |
int | GetHashCode () const |
Pair of key and value. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type.
TKey | Key type. |
TValue | Value type. |
|
inline |
Null key-value pair initializer.
|
inline |
Constructor.
key | Key. |
value | Value. |
|
inline |
Type conversion constructor.
OtherK | Other key type. |
OtherV | Other value type. |
pair | Pair value. |
|
inline |
Gets key.
|
inline |
Gets value.
|
inline |
Calculates key-value pair hash by xoring key's and value's hashes.
|
inline |
Always returns false.
|
inline |
Patch for classes inherited from IComparer<KeyValuePair<TKey, TValue>>, doesn't compare anything.
kvp | Dummy argument. |
|
inline |
Converts key-value pair to string.