Apache Mesos
Public Member Functions | List of all members
multihashmap< Key, Value, Hash, Equal > Class Template Reference

#include <multihashmap.hpp>

Inheritance diagram for multihashmap< Key, Value, Hash, Equal >:

Public Member Functions

 multihashmap ()
 
 multihashmap (const std::multimap< Key, Value > &multimap)
 
 multihashmap (std::multimap< Key, Value > &&multimap)
 
 multihashmap (std::initializer_list< std::pair< const Key, Value >> list)
 
void put (const Key &key, const Value &value)
 
std::list< Value > get (const Key &key) const
 
std::set< Key > keys () const
 
bool remove (const Key &key)
 
bool remove (const Key &key, const Value &value)
 
bool contains (const Key &key) const
 
bool contains (const Key &key, const Value &value) const
 

Constructor & Destructor Documentation

template<typename Key, typename Value, typename Hash = std::hash<Key>, typename Equal = std::equal_to<Key>>
multihashmap< Key, Value, Hash, Equal >::multihashmap ( )
inline
template<typename Key, typename Value, typename Hash , typename Equal >
multihashmap< Key, Value, Hash, Equal >::multihashmap ( const std::multimap< Key, Value > &  multimap)
template<typename Key, typename Value, typename Hash , typename Equal >
multihashmap< Key, Value, Hash, Equal >::multihashmap ( std::multimap< Key, Value > &&  multimap)
template<typename Key, typename Value, typename Hash , typename Equal >
multihashmap< Key, Value, Hash, Equal >::multihashmap ( std::initializer_list< std::pair< const Key, Value >>  list)

Member Function Documentation

template<typename Key, typename Value , typename Hash , typename Equal >
bool multihashmap< Key, Value, Hash, Equal >::contains ( const Key &  key) const
template<typename Key, typename Value, typename Hash , typename Equal >
bool multihashmap< Key, Value, Hash, Equal >::contains ( const Key &  key,
const Value &  value 
) const
template<typename Key, typename Value , typename Hash , typename Equal >
std::list< Value > multihashmap< Key, Value, Hash, Equal >::get ( const Key &  key) const
template<typename Key , typename Value , typename Hash , typename Equal >
std::set< Key > multihashmap< Key, Value, Hash, Equal >::keys ( ) const
template<typename Key, typename Value, typename Hash , typename Equal >
void multihashmap< Key, Value, Hash, Equal >::put ( const Key &  key,
const Value &  value 
)
template<typename Key, typename Value , typename Hash , typename Equal >
bool multihashmap< Key, Value, Hash, Equal >::remove ( const Key &  key)
template<typename Key, typename Value, typename Hash , typename Equal >
bool multihashmap< Key, Value, Hash, Equal >::remove ( const Key &  key,
const Value &  value 
)

The documentation for this class was generated from the following file: