#include <coherence/util/ConverterCollections.hpp>
Inherits MapEvent.
Public Types | |
typedef spec::Handle | Handle |
ConverterMapEvent Handle definition. | |
typedef spec::View | View |
ConverterMapEvent View definition. | |
typedef spec::Holder | Holder |
ConverterMapEvent Holder definition. | |
Public Member Functions | |
virtual Object::View | getKey () const |
Return a key associated with this event.
| |
virtual Object::View | getOldValue () const |
Return an old value associated with this event. The old value represents a value deleted from or updated in a map. It is always NULL for "insert" notifications.
| |
virtual Object::View | getNewValue () const |
Return a new value associated with this event. The new value represents a new value inserted into or updated in a map. It is always NULL for "delete" notifications.
| |
virtual MapEvent::View | getMapEvent () const |
Return the underlying MapEvent. | |
virtual Converter::View | getConverterKeyUp () const |
Return the Converter used to view the underlying MapEvent's key through. | |
virtual Converter::View | getConverterValueUp () const |
Return the Converter used to view the underlying MapEvent's value through. | |
virtual void | setKey (Object::View voKey) |
Set the cached converted key associated with this event. | |
virtual void | setOldValue (Object::View voValue) |
Set the cached converted old value associated with this event. | |
virtual void | setNewValue (Object::View voValue) |
Set the cached converted new value associated with this event. | |
virtual bool | isKeyConverted () const |
Check if the event's key has been converted. | |
virtual bool | isOldValueConverted () const |
Check if the event's old value has been converted. | |
virtual bool | isNewValueConverted () const |
Check if the event's new value has been converted. | |
Protected Member Functions | |
ConverterMapEvent (ObservableMap::Handle hMap, MapEvent::View vEvent, Converter::View vConvKey, Converter::View vConvVal) | |
Create a ConverterMapEvent. | |
Protected Attributes | |
MemberView< MapEvent > | m_vEvent |
The underlying MapEvent. | |
MemberView< Converter > | m_vConvKey |
The Converter to view the underlying MapEvent's key. | |
MemberView< Converter > | m_vConvVal |
The Converter to view the underlying MapEvent's value. |
ConverterMapEvent | ( | ObservableMap::Handle | hMap, | |
MapEvent::View | vEvent, | |||
Converter::View | vConvKey, | |||
Converter::View | vConvVal | |||
) | [protected] |
Create a ConverterMapEvent.
virtual MapEvent::View getMapEvent | ( | ) | const [virtual] |
virtual Converter::View getConverterKeyUp | ( | ) | const [virtual] |
virtual Converter::View getConverterValueUp | ( | ) | const [virtual] |
virtual void setKey | ( | Object::View | voKey | ) | [virtual] |
virtual void setOldValue | ( | Object::View | voValue | ) | [virtual] |
Set the cached converted old value associated with this event.
voValue | the new converted "old" value |
virtual void setNewValue | ( | Object::View | voValue | ) | [virtual] |
Set the cached converted new value associated with this event.
voValue | the new converted "new" value |
virtual bool isKeyConverted | ( | ) | const [virtual] |
Check if the event's key has been converted.
virtual bool isOldValueConverted | ( | ) | const [virtual] |
Check if the event's old value has been converted.
virtual bool isNewValueConverted | ( | ) | const [virtual] |
Check if the event's new value has been converted.