DeSiGNAR  0.5a
Data Structures General Library
Public Types | Public Member Functions | List of all members
Designar::GenMap< Key, Value, Cmp, BaseSet > Class Template Reference

#include <map.H>

Inheritance diagram for Designar::GenMap< Key, Value, Cmp, BaseSet >:
Inheritance graph
[legend]
Collaboration diagram for Designar::GenMap< Key, Value, Cmp, BaseSet >:
Collaboration graph
[legend]

Public Types

using KeyType = Key
 
using ValueType = Value
 
using SizeType = nat_t
 
using CmpType = Cmp
 

Public Member Functions

Cmp & get_cmp ()
 
const Cmp & get_cmp () const
 
Value * insert (const Key &k, const Value &v)
 
Value * insert (Key &&k, const Value &v)
 
Value * insert (const Key &k, Value &&v)
 
Value * insert (Key &&k, Value &&v)
 
Value * append (const Key &k, const Value &v)
 
Value * append (Key &&k, const Value &v)
 
Value * append (const Key &k, Value &&v)
 
Value * append (Key &&k, Value &&v)
 
Value * search (const Key &k)
 
Value * search (Key &&k)
 
const Value * search (const Key &k) const
 
const Value * search (Key &&k) const
 
Value * search_or_insert (const Key &k, const Value &v)
 
Value * search_or_insert (Key &&k, const Value &v)
 
Value * search_or_insert (const Key &k, Value &&v)
 
Value * search_or_insert (Key &&k, Value &&v)
 
Value * search_or_insert (const Key &k)
 
Value * search_or_insert (Key &&k)
 
Value & find (const Key &k)
 
const Value & find (const Key &k) const
 
Value & find (Key &&k)
 
const Value & find (Key &&k) const
 
bool has (const Key &k) const
 
bool has (Key &&k) const
 
bool remove (const Key &k)
 
Value & operator[] (const Key &k)
 
const Value & operator[] (const Key &k) const
 
Value & operator[] (Key &&k)
 
const Value & operator[] (Key &&k) const
 

Member Typedef Documentation

template<typename Key, typename Value, class Cmp, class BaseSet>
using Designar::GenMap< Key, Value, Cmp, BaseSet >::CmpType = Cmp
template<typename Key, typename Value, class Cmp, class BaseSet>
using Designar::GenMap< Key, Value, Cmp, BaseSet >::KeyType = Key
template<typename Key, typename Value, class Cmp, class BaseSet>
using Designar::GenMap< Key, Value, Cmp, BaseSet >::SizeType = nat_t
template<typename Key, typename Value, class Cmp, class BaseSet>
using Designar::GenMap< Key, Value, Cmp, BaseSet >::ValueType = Value

Member Function Documentation

template<typename Key, typename Value, class Cmp, class BaseSet>
Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::append ( const Key &  k,
const Value &  v 
)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::append ( Key &&  k,
const Value &  v 
)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::append ( const Key &  k,
Value &&  v 
)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::append ( Key &&  k,
Value &&  v 
)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value& Designar::GenMap< Key, Value, Cmp, BaseSet >::find ( const Key &  k)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
const Value& Designar::GenMap< Key, Value, Cmp, BaseSet >::find ( const Key &  k) const
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value& Designar::GenMap< Key, Value, Cmp, BaseSet >::find ( Key &&  k)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
const Value& Designar::GenMap< Key, Value, Cmp, BaseSet >::find ( Key &&  k) const
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Cmp& Designar::GenMap< Key, Value, Cmp, BaseSet >::get_cmp ( )
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
const Cmp& Designar::GenMap< Key, Value, Cmp, BaseSet >::get_cmp ( ) const
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
bool Designar::GenMap< Key, Value, Cmp, BaseSet >::has ( const Key &  k) const
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
bool Designar::GenMap< Key, Value, Cmp, BaseSet >::has ( Key &&  k) const
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::insert ( const Key &  k,
const Value &  v 
)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::insert ( Key &&  k,
const Value &  v 
)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::insert ( const Key &  k,
Value &&  v 
)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::insert ( Key &&  k,
Value &&  v 
)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value& Designar::GenMap< Key, Value, Cmp, BaseSet >::operator[] ( const Key &  k)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
const Value& Designar::GenMap< Key, Value, Cmp, BaseSet >::operator[] ( const Key &  k) const
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value& Designar::GenMap< Key, Value, Cmp, BaseSet >::operator[] ( Key &&  k)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
const Value& Designar::GenMap< Key, Value, Cmp, BaseSet >::operator[] ( Key &&  k) const
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
bool Designar::GenMap< Key, Value, Cmp, BaseSet >::remove ( const Key &  k)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::search ( const Key &  k)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::search ( Key &&  k)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
const Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::search ( const Key &  k) const
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
const Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::search ( Key &&  k) const
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::search_or_insert ( const Key &  k,
const Value &  v 
)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::search_or_insert ( Key &&  k,
const Value &  v 
)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::search_or_insert ( const Key &  k,
Value &&  v 
)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::search_or_insert ( Key &&  k,
Value &&  v 
)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::search_or_insert ( const Key &  k)
inline
template<typename Key, typename Value, class Cmp, class BaseSet>
Value* Designar::GenMap< Key, Value, Cmp, BaseSet >::search_or_insert ( Key &&  k)
inline

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