Represents a Key-Value-Pair similar std::pair which is strictly ordered by it's key. More...
#include <shark/Core/utility/KeyValuePair.h>
Public Member Functions | |
KeyValuePair () | |
KeyValuePair (Key const &key, Value const &value) | |
template<class Pair > | |
KeyValuePair (Pair const &pair) | |
template<class K , class V > | |
bool | operator== (KeyValuePair< K, V > const &pair) const |
template<class K , class V > | |
bool | operator< (KeyValuePair< K, V > const &pair) const |
Public Attributes | |
Key | key |
Value | value |
Represents a Key-Value-Pair similar std::pair which is strictly ordered by it's key.
Key must be less-than comparable using operator<
Definition at line 47 of file KeyValuePair.h.
|
inline |
Definition at line 52 of file KeyValuePair.h.
|
inline |
Definition at line 53 of file KeyValuePair.h.
|
inline |
Definition at line 57 of file KeyValuePair.h.
|
inline |
Definition at line 65 of file KeyValuePair.h.
Referenced by shark::makeKeyValuePair().
|
inline |
Definition at line 61 of file KeyValuePair.h.
References shark::KeyValuePair< Key, Value >::key.
Referenced by shark::makeKeyValuePair().
Key shark::KeyValuePair< Key, Value >::key |
Definition at line 49 of file KeyValuePair.h.
Referenced by shark::makeKeyValuePair(), shark::KeyValuePair< Key, Value >::operator==(), and shark::swap().
Value shark::KeyValuePair< Key, Value >::value |
Definition at line 50 of file KeyValuePair.h.
Referenced by shark::makeKeyValuePair(), and shark::swap().