|
| ACE_Active_Map_Manager_Adapter (ACE_Allocator *alloc=0) |
| Initialize with the ACE_DEFAULT_MAP_SIZE. More...
|
|
| ACE_Active_Map_Manager_Adapter (size_t size, ACE_Allocator *alloc=0) |
|
virtual | ~ACE_Active_Map_Manager_Adapter (void) |
| Close down and release dynamically allocated resources. More...
|
|
virtual int | open (size_t length=ACE_DEFAULT_MAP_SIZE, ACE_Allocator *alloc=0) |
| Initialize a Map with size length. More...
|
|
virtual int | close (void) |
| Close down a Map and release dynamically allocated resources. More...
|
|
virtual int | bind (const KEY &key, const VALUE &value) |
|
virtual int | bind_modify_key (const VALUE &value, KEY &key) |
|
virtual int | create_key (KEY &key) |
|
virtual int | bind_create_key (const VALUE &value, KEY &key) |
|
virtual int | bind_create_key (const VALUE &value) |
|
virtual int | recover_key (const KEY &modified_key, KEY &original_key) |
|
virtual int | rebind (const KEY &key, const VALUE &value) |
|
virtual int | rebind (const KEY &key, const VALUE &value, VALUE &old_value) |
|
virtual int | rebind (const KEY &key, const VALUE &value, KEY &old_key, VALUE &old_value) |
|
virtual int | trybind (const KEY &key, VALUE &value) |
|
virtual int | find (const KEY &key, VALUE &value) |
| Locate value associated with key. More...
|
|
virtual int | find (const KEY &key) |
| Is key in the map? More...
|
|
virtual int | unbind (const KEY &key) |
| Remove key from the map. More...
|
|
virtual int | unbind (const KEY &key, VALUE &value) |
|
virtual size_t | current_size (void) const |
| Return the current size of the map. More...
|
|
virtual size_t | total_size (void) const |
| Return the total size of the map. More...
|
|
virtual void | dump (void) const |
| Dump the state of an object. More...
|
|
ACE_Active_Map_Manager< std::pair< KEY, VALUE > > & | impl (void) |
| Accessor to implementation object. More...
|
|
KEY_ADAPTER & | key_adapter (void) |
| Accessor to key adapter. More...
|
|
virtual | ~ACE_Map (void) |
| Close down and release dynamically allocated resources. More...
|
|
iterator | begin (void) |
| Return forward iterator. More...
|
|
iterator | end (void) |
|
reverse_iterator | rbegin (void) |
| Return reverse iterator. More...
|
|
reverse_iterator | rend (void) |
|
template<class KEY, class VALUE, class KEY_ADAPTER>
class ACE_Active_Map_Manager_Adapter< KEY, VALUE, KEY_ADAPTER >
Defines a map implementation.
Implementation to be provided by <ACE_Active_Map_Manager>.
template<class KEY , class VALUE , class KEY_ADAPTER >
Add value to the map, and the corresponding key produced by the Map is returned through key which is an "out" parameter. For maps that do not naturally produce keys, the map adapters will use the KEY_GENERATOR
class to produce a key. However, the users are responsible for not jeopardizing this key production scheme by using user specified keys with keys produced by the key generator.
Implements ACE_Map< KEY, VALUE >.
template<class KEY , class VALUE , class KEY_ADAPTER >
Add value to the map. The user does not care about the corresponding key produced by the Map. For maps that do not naturally produce keys, the map adapters will use the KEY_GENERATOR
class to produce a key. However, the users are responsible for not jeopardizing this key production scheme by using user specified keys with keys produced by the key generator.
Implements ACE_Map< KEY, VALUE >.
template<class KEY , class VALUE , class KEY_ADAPTER >
Produce a key and return it through key which is an "out" parameter. For maps that do not naturally produce keys, the map adapters will use the KEY_GENERATOR
class to produce a key. However, the users are responsible for not jeopardizing this key production scheme by using user specified keys with keys produced by the key generator.
Implements ACE_Map< KEY, VALUE >.
template<class KEY , class VALUE , class KEY_ADAPTER >
Reassociate key with value. The function fails if key is not in the map for maps that do not allow user specified keys. However, for maps that allow user specified keys, if the key is not in the map, a new key / value association is created.
Implements ACE_Map< KEY, VALUE >.
template<class KEY , class VALUE , class KEY_ADAPTER >
Reassociate key with value, storing the old value into the "out" parameter old_value. The function fails if key is not in the map for maps that do not allow user specified keys. However, for maps that allow user specified keys, if the key is not in the map, a new key / value association is created.
Implements ACE_Map< KEY, VALUE >.
template<class KEY , class VALUE , class KEY_ADAPTER >
Reassociate key with value, storing the old key and value into the "out" parameters old_key and old_value. The function fails if key is not in the map for maps that do not allow user specified keys. However, for maps that allow user specified keys, if the key is not in the map, a new key / value association is created.
Implements ACE_Map< KEY, VALUE >.
template<class KEY , class VALUE , class KEY_ADAPTER >
Associate key with value if and only if key is not in the map. If key is already in the map, then the value parameter is overwritten with the existing value in the map. Returns 0 if a new key / value association is created. Returns 1 if an attempt is made to bind an existing entry. This function fails for maps that do not allow user specified keys.
Implements ACE_Map< KEY, VALUE >.