Base Framework
|
Association of value with value. More...
#include <base/collection/Association.h>
Public Member Functions | |
Association () | |
Association (const KEY &_key) | |
Association (KEY &&_key) | |
Association (const Association ©) | |
Association (Association &&move) | |
Association (const KEY &_key, const VALUE &_value) | |
Association (const KEY &_key, VALUE &&_value) | |
Association (KEY &&_key, VALUE &&_value) | |
Association (KEY &&_key, const VALUE &_value) | |
Association & | operator= (const Association &assign) |
Association & | operator= (Association &&assign) |
const KEY & | getKey () const noexcept |
VALUE & | getValue () noexcept |
const VALUE & | getValue () const noexcept |
void | setValue (const VALUE &value) |
void | setValue (VALUE &&value) |
bool | operator== (const Association &compare) const |
bool | operator!= (const Association &compare) const |
bool | operator< (const Association &compare) const |
bool | operator<= (const Association &compare) const |
bool | operator>= (const Association &compare) const |
bool | operator> (const Association &compare) const |
bool | operator== (const KEY &compare) const |
bool | operator!= (const KEY &compare) const |
bool | operator< (const KEY &compare) const |
bool | operator<= (const KEY &compare) const |
bool | operator>= (const KEY &compare) const |
bool | operator> (const KEY &compare) const |
operator const KEY & () const noexcept | |
Association of value with value.
Association of value with other value. An association has the properties of its key (i.e. the key is the only significant when comparing associations with each other). The value of the association is the associated value.
|
inline |
Default initializes association.
|
inline |
Initializes association with the specified key and uninitalized value.
key | The key. |
|
inline |
Initializes association with the specified key and uninitalized value.
key | The key. |
|
inline |
Initializes association from other association.
|
inline |
Initializes association from other association.
|
inline |
Initializes association with the specified key and value.
key | The key. |
value | The value of the association. |
|
inline |
Initializes association with the specified key and value.
key | The key. |
value | The value of the association. |
|
inline |
Initializes association with the specified key and value.
key | The key. |
value | The value of the association. |
|
inline |
Initializes association with the specified key and value.
key | The key. |
value | The value of the association. |
|
inlinenoexcept |
Returns the key value of the association.
|
inlinenoexcept |
Returns the value of the association.
|
inlinenoexcept |
Returns the value of the association.
|
inlinenoexcept |
Returns the key value of the association. Requires for implicit comparison.
|
inline |
Returns true if the associations are not equal.
|
inline |
Returns true if the associations are not equal.
|
inline |
Returns true if this association is less than the specified association.
|
inline |
Returns true if this association is less than the specified association.
|
inline |
Returns true if this association is less than or equal to the specified association.
|
inline |
Returns true if this association is less than or equal to the specified association.
|
inline |
Returns true if the associations are equal.
|
inline |
Returns true if the associations are equal.
|
inline |
Returns true if this association is greater that the specified association.
|
inline |
Returns true if this association is greater than the specified association.
|
inline |
Returns true if this association is greater than or equal to the specified association.
|
inline |
Returns true if this association is less than or equal to the specified association.
|
inline |
Sets the value of the association.
value | The new value. |
|
inline |
Sets the value of the association.
value | The new value. |