24#ifndef DD_CACHE__LOCAL_MULTI_MAP_INCLUDED 
   25#define DD_CACHE__LOCAL_MULTI_MAP_INCLUDED 
   36template <
typename K, 
typename E>
 
   89    return m_map<const T *>()->begin();
 
   94    return m_map<const T *>()->begin();
 
  107    return m_map<const T *>()->end();
 
  112    return m_map<const T *>()->end();
 
  126  template <
typename K>
 
  128    m_map<K>()->get(
key, element);
 
  169  size_t size()
 const { 
return m_map<const T *>()->size(); }
 
Implementation of a dictionary client.
Definition: cache_element.h:69
 
Implementation of a map between a key type and an element type.
Definition: element_map.h:72
 
Implementation of a local set of maps for a given object type.
Definition: local_multi_map.h:53
 
void dump() const
Debug dump of the local multi map to stderr.
Definition: local_multi_map.cc:130
 
Multi_map_base< T >::Iterator begin()
Definition: local_multi_map.h:93
 
void erase()
Remove and delete all objects from the map.
Definition: local_multi_map.cc:110
 
size_t size() const
Get the number of elements in the map.
Definition: local_multi_map.h:169
 
Multi_map_base< T >::Const_iterator begin() const
Get an iterator to the beginning of the map.
Definition: local_multi_map.h:88
 
const Element_map< K, Cache_element< T > > * m_map() const
Definition: local_multi_map.h:74
 
Multi_map_base< T >::Const_iterator end() const
Get an iterator to one past the end of the map.
Definition: local_multi_map.h:106
 
void get(const K &key, Cache_element< T > **element) const
Get an element from the map handling the given key type.
Definition: local_multi_map.h:127
 
Element_map< K, Cache_element< T > > * m_map()
Template helper function getting the element map.
Definition: local_multi_map.h:69
 
void remove(Cache_element< T > *element)
Remove an element from the map.
Definition: local_multi_map.cc:86
 
Multi_map_base< T >::Iterator end()
Definition: local_multi_map.h:111
 
void put(Cache_element< T > *element)
Put a new element into the map.
Definition: local_multi_map.cc:59
 
Implementation of a set of maps for a given object type.
Definition: multi_map_base.h:64
 
Element_map< constT *, Cache_element< T > >::Iterator Iterator
Definition: multi_map_base.h:128
 
Element_map< constT *, Cache_element< T > >::Const_iterator Const_iterator
Definition: multi_map_base.h:126
 
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:43
 
required string key
Definition: replication_asynchronous_connection_failover.proto:60