Apache Mesos
Public Member Functions | List of all members
Multimap< K, V > Class Template Reference

#include <multimap.hpp>

Inheritance diagram for Multimap< K, V >:

Public Member Functions

 Multimap ()
 
 Multimap (std::initializer_list< std::pair< const K, V >> list)
 
void put (const K &key, const V &value)
 
std::list< V > get (const K &key) const
 
std::set< K > keys () const
 
bool remove (const K &key)
 
bool remove (const K &key, const V &value)
 
bool contains (const K &key) const
 
bool contains (const K &key, const V &value) const
 

Constructor & Destructor Documentation

template<typename K, typename V>
Multimap< K, V >::Multimap ( )
inline
template<typename K, typename V>
Multimap< K, V >::Multimap ( std::initializer_list< std::pair< const K, V >>  list)

Member Function Documentation

template<typename K, typename V >
bool Multimap< K, V >::contains ( const K &  key) const
template<typename K, typename V>
bool Multimap< K, V >::contains ( const K &  key,
const V &  value 
) const
template<typename K, typename V >
std::list< V > Multimap< K, V >::get ( const K &  key) const
template<typename K , typename V >
std::set< K > Multimap< K, V >::keys ( ) const
template<typename K, typename V>
void Multimap< K, V >::put ( const K &  key,
const V &  value 
)
template<typename K, typename V >
bool Multimap< K, V >::remove ( const K &  key)
template<typename K, typename V>
bool Multimap< K, V >::remove ( const K &  key,
const V &  value 
)

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