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

Definition of the class CDPL::Util::Map. 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::MapDefaultValue< ValueType, Allow >
 
struct  CDPL::Util::MapDefaultValue< ValueType, false >
 
class  CDPL::Util::Map< Key, Value, AllowDefValues, KeyCompFunc >
 A unique 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 Map< Key, Value, AllowDefValues, KeyCompFunc > &map1, const Map< Key, Value, AllowDefValues, KeyCompFunc > &map2)
 Equality comparison operator. More...
 
template<typename Key , typename Value , bool AllowDefValues, typename KeyCompFunc >
bool CDPL::Util::operator!= (const Map< Key, Value, AllowDefValues, KeyCompFunc > &map1, const Map< Key, Value, AllowDefValues, KeyCompFunc > &map2)
 Inequality comparison operator. More...
 
template<typename Key , typename Value , bool AllowDefValues, typename KeyCompFunc >
bool CDPL::Util::operator<= (const Map< Key, Value, AllowDefValues, KeyCompFunc > &map1, const Map< 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 Map< Key, Value, AllowDefValues, KeyCompFunc > &map1, const Map< 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 Map< Key, Value, AllowDefValues, KeyCompFunc > &map1, const Map< Key, Value, AllowDefValues, KeyCompFunc > &map2)
 Less than comparison operator. More...
 
template<typename Key , typename Value , bool AllowDefValues, typename KeyCompFunc >
bool CDPL::Util::operator> (const Map< Key, Value, AllowDefValues, KeyCompFunc > &map1, const Map< Key, Value, AllowDefValues, KeyCompFunc > &map2)
 Greater than comparison operator. More...
 

Detailed Description

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