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 K , class V > | |
KeyValuePair (KeyValuePair< K, V > 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 |
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 |
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 |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int) |
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 42 of file KeyValuePair.h.
|
inline |
Definition at line 46 of file KeyValuePair.h.
|
inline |
Definition at line 47 of file KeyValuePair.h.
|
inline |
Definition at line 51 of file KeyValuePair.h.
|
inline |
Definition at line 59 of file KeyValuePair.h.
References shark::KeyValuePair< Key, Value >::key.
|
inline |
Definition at line 63 of file KeyValuePair.h.
|
inline |
Definition at line 67 of file KeyValuePair.h.
|
inline |
Definition at line 55 of file KeyValuePair.h.
References shark::KeyValuePair< Key, Value >::key.
|
inline |
Definition at line 71 of file KeyValuePair.h.
References shark::KeyValuePair< Key, Value >::key.
|
inline |
Definition at line 75 of file KeyValuePair.h.
References shark::KeyValuePair< Key, Value >::key.
|
inline |
Definition at line 80 of file KeyValuePair.h.
References shark::KeyValuePair< Key, Value >::key, and shark::KeyValuePair< Key, Value >::value.
Key shark::KeyValuePair< Key, Value >::key |
Definition at line 43 of file KeyValuePair.h.
Referenced by shark::makeKeyValuePair(), shark::KeyValuePair< Key, Value >::operator!=(), shark::KeyValuePair< Key, Value >::operator==(), shark::KeyValuePair< Key, Value >::operator>(), shark::KeyValuePair< Key, Value >::operator>=(), shark::KeyValuePair< Key, Value >::serialize(), and shark::swap().
Value shark::KeyValuePair< Key, Value >::value |
Definition at line 44 of file KeyValuePair.h.
Referenced by shark::makeKeyValuePair(), shark::KeyValuePair< Key, Value >::serialize(), and shark::swap().