Elm
1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/util/delegate.h>
Public Member Functions | |
MapDelegate (C &container, const I &identifier) | |
MapDelegate (const MapDelegate &delegate) | |
operator T (void) const | |
const T & | operator* (void) const |
MapDelegate< C, I, T > & | operator= (const T &value) |
MapDelegate< C, I, T > & | operator= (const MapDelegate< C, I, T > &delegate) |
A delegate to reference item of concept::MutableMap.
C | Type of the container. |
I | Type of the identifier. |
T | Type of the item. |
D | Type to get the default value (as the get() operation requires a default value, default to Default class with a value of 0). |
elm::MapDelegate< C, I, T, D >::MapDelegate | ( | C & | container, |
const I & | identifier | ||
) |
Build a delegate for an item of a map.
container | Item container map. |
identifier | Item map identifier. |
elm::MapDelegate< C, I, T, D >::MapDelegate | ( | const MapDelegate< C, I, T, D > & | delegate | ) |
Build a delegate by cloning.
delegate | Delegate to clone. |
elm::MapDelegate< C, I, T, D >::operator T | ( | void | ) | const |
const T& elm::MapDelegate< C, I, T, D >::operator* | ( | void | ) | const |
MapDelegate<C, I, T>& elm::MapDelegate< C, I, T, D >::operator= | ( | const T & | value | ) |
MapDelegate<C, I, T>& elm::MapDelegate< C, I, T, D >::operator= | ( | const MapDelegate< C, I, T > & | delegate | ) |