Chemical Data Processing Library C++ API - Version 1.1.1
Classes | Namespaces | Functions
MultiMap.hpp File Reference

Definition of the class CDPL::Util::MultiMap. More...

#include <map>
#include <functional>
#include <utility>
#include <string>
#include <cstddef>
#include <memory>
#include "CDPL/Base/Exceptions.hpp"

Go to the source code of this file.

Classes

struct  CDPL::Util::MultiMapDefaultValue< ValueType, Allow >
 
struct  CDPL::Util::MultiMapDefaultValue< ValueType, false >
 
class  CDPL::Util::MultiMap< Key, Value, AllowDefValues, KeyCompFunc >
 A multiple sorted associative container that maps keys to values. More...
 

Namespaces

 CDPL
 The namespace of the Chemical Data Processing Library.
 
 CDPL::Util
 Contains general purpose algorithms, containers, functors and other classes.
 

Functions

template<typename Key , typename Value , bool AllowDefValues, typename KeyCompFunc >
bool CDPL::Util::operator== (const MultiMap< Key, Value, AllowDefValues, KeyCompFunc > &map1, const MultiMap< Key, Value, AllowDefValues, KeyCompFunc > &map2)
 Equality comparison operator. More...
 
template<typename Key , typename Value , bool AllowDefValues, typename KeyCompFunc >
bool CDPL::Util::operator!= (const MultiMap< Key, Value, AllowDefValues, KeyCompFunc > &map1, const MultiMap< Key, Value, AllowDefValues, KeyCompFunc > &map2)
 Inequality comparison operator. More...
 
template<typename Key , typename Value , bool AllowDefValues, typename KeyCompFunc >
bool CDPL::Util::operator<= (const MultiMap< Key, Value, AllowDefValues, KeyCompFunc > &map1, const MultiMap< Key, Value, AllowDefValues, KeyCompFunc > &map2)
 Less or equal comparison operator. More...
 
template<typename Key , typename Value , bool AllowDefValues, typename KeyCompFunc >
bool CDPL::Util::operator>= (const MultiMap< Key, Value, AllowDefValues, KeyCompFunc > &map1, const MultiMap< Key, Value, AllowDefValues, KeyCompFunc > &map2)
 Greater or equal comparison operator. More...
 
template<typename Key , typename Value , bool AllowDefValues, typename KeyCompFunc >
bool CDPL::Util::operator< (const MultiMap< Key, Value, AllowDefValues, KeyCompFunc > &map1, const MultiMap< Key, Value, AllowDefValues, KeyCompFunc > &map2)
 Less than comparison operator. More...
 
template<typename Key , typename Value , bool AllowDefValues, typename KeyCompFunc >
bool CDPL::Util::operator> (const MultiMap< Key, Value, AllowDefValues, KeyCompFunc > &map1, const MultiMap< Key, Value, AllowDefValues, KeyCompFunc > &map2)
 Greater than comparison operator. More...
 

Detailed Description

Definition of the class CDPL::Util::MultiMap.