#include <coherence/util/ConverterCollections.hpp>
Inherits Object, and Converter.
Public Types | ||||
typedef spec::Handle | Handle | |||
EntryConverter Handle definition. | ||||
typedef spec::View | View | |||
EntryConverter View definition. | ||||
typedef spec::Holder | Holder | |||
EntryConverter Holder definition. | ||||
Public Member Functions | ||||
EntryConverter (Converter::View vConvKey, Converter::View vConvVal) | ||||
Create a Map entry Converter. | ||||
EntryConverter (const EntryConverter &that) | ||||
Copy constructor. | ||||
virtual Object::Holder | convert (Object::Holder oh) const | |||
Convert an Object referenced by the supplied holder.
| ||||
virtual Converter::View | getKeyConverter () const | |||
| ||||
virtual Converter::View | getValueConverter () const | |||
| ||||
Static Public Member Functions | ||||
static Converter::View | getKeyConverter (EntryConverter::View vConvert) | |||
| ||||
static Converter::View | getValueConverter (EntryConverter::View vConvert) | |||
| ||||
static Object::View | convertKey (EntryConverter::View vConvert, Object::View vKey) | |||
Convert the key of the map entry referenced by the supplied handle using the supplied EntryConverter. | ||||
static Object::Holder | convertValue (EntryConverter::View vConvert, Object::Holder ohValue) | |||
Convert the value of the map entry referenced by the supplied view using the supplied EntryConverter. | ||||
Protected Attributes | ||||
FinalView< Converter > | f_vConvKey | |||
The key Converter. | ||||
FinalView< Converter > | f_vConvVal | |||
The value Converter. |
EntryConverter | ( | Converter::View | vConvKey, | |
Converter::View | vConvVal | |||
) |
static Converter::View getKeyConverter | ( | EntryConverter::View | vConvert | ) | [static] |
static Converter::View getValueConverter | ( | EntryConverter::View | vConvert | ) | [static] |
static Object::View convertKey | ( | EntryConverter::View | vConvert, | |
Object::View | vKey | |||
) | [static] |
Convert the key of the map entry referenced by the supplied handle using the supplied EntryConverter.
vConvert | a view of the EntryConverter to use | |
vKey | a view to the key to convert |
static Object::Holder convertValue | ( | EntryConverter::View | vConvert, | |
Object::Holder | ohValue | |||
) | [static] |
Convert the value of the map entry referenced by the supplied view using the supplied EntryConverter.
vConvert | a view of the EntryConverter to use | |
ohValue | a holder to the value to convert |