#include <coherence/io/pof/PofHelper.hpp>
Inherits AbstractMap.
Public Types | ||||||||||
typedef spec::Handle | Handle | |||||||||
WriteableEntrySetMap Handle definition. | ||||||||||
typedef spec::View | View | |||||||||
WriteableEntrySetMap View definition. | ||||||||||
typedef spec::Holder | Holder | |||||||||
WriteableEntrySetMap Holder definition. | ||||||||||
Public Member Functions | ||||||||||
virtual Object::Holder | put (Object::View vKey, Object::Holder ohValue) | |||||||||
Associate the specified value with the specified key in this map. If the map previously contained a mapping for this key, the old value is replaced by the specified value.
| ||||||||||
virtual Object::Holder | remove (Object::View vKey) | |||||||||
Remove the mapping for this key from this map if it is present.
Return the value to which the map previously associated the key, or
| ||||||||||
virtual void | clear () | |||||||||
Remove all mappings from this map.
| ||||||||||
virtual Set::Handle | entrySet () | |||||||||
Return a set of the mappings contained in this map. Each element in the returned set is a Map::Entry::Handle. The set is backed by the map, so changes to one are reflected in the other. If the map is modified while an iteration over the set is in progress, the results of the iteration are undefined.
| ||||||||||
virtual Set::View | entrySet () const | |||||||||
Return a set of the mappings contained in this map. Each element in the returned set is a Map::Entry::View. The set is backed by the map, so changes to the map are reflected in the set. If the map is modified while an iteration over the set is in progress, the results of the iteration are undefined.
| ||||||||||
Protected Member Functions | ||||||||||
WriteableEntrySetMap (Set::View vSetEntries) | ||||||||||
Construct a new WriteableEntrySetMap that is backed by the given Set of Map::Entry objects. | ||||||||||
Protected Attributes | ||||||||||
FinalView< Set > | f_vSetEntries | |||||||||
The backing Set of Map::Entry objects. |
WriteableEntrySetMap | ( | Set::View | vSetEntries | ) | [protected] |
Construct a new WriteableEntrySetMap that is backed by the given Set of Map::Entry objects.
vSetEntries | a Set of Map::Entry objects in the new WriteableEntrySetMap; must not be NULL |