![]() |
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/data/TreeMap.h>
Classes | |
class | Iter |
class | KeyIter |
class | PairIter |
Public Member Functions | |
TreeMap () | |
TreeMap (const TreeMap< K, T, C > &map) | |
const Comparator< K > & | comparator () const |
Comparator< K > & | comparator () |
E & | equivalence () |
A & | allocator () |
int | count (void) const |
bool | contains (const K &k) const |
bool | isEmpty (void) const |
operator bool (void) const | |
Iter | begin () const |
Iter | end () const |
const T & | get (const K &key, const T &def) const |
Option< T > | get (const K &key) const |
bool | hasKey (const K &k) const |
Iterable< KeyIter > | keys () const |
Iterable< PairIter > | pairs () const |
void | put (const K &key, const T &value) |
void | remove (const K &key) |
void | remove (const Iter &iter) |
![]() | |
bool | isEqual (const T &v1, const T &v2) const |
Additional Inherited Members | |
![]() | |
typedef T | t |
![]() | |
static bool | equals (const T &v1, const T &v2) |
![]() | |
static Equiv< T > | def |
|
inline |
|
inline |
References TreeBag< T, C, A >::allocator().
|
inline |
References TreeBag< T, C, A >::begin().
|
inline |
References TreeBag< T, C, A >::comparator().
|
inline |
References TreeBag< T, C, A >::comparator().
|
inline |
References TreeBag< T, C, A >::find().
|
inline |
References TreeBag< T, C, A >::count().
|
inline |
References TreeBag< T, C, A >::end().
Referenced by TreeMap< K, T, C, E, A >::keys(), and TreeMap< K, T, C, E, A >::pairs().
|
inline |
|
inline |
References TreeBag< T, C, A >::find(), elm::none, elm::pair(), and Pair< T1, T2 >::snd.
|
inline |
References Equiv< T >::def, TreeBag< T, C, A >::find(), elm::pair(), and Pair< T1, T2 >::snd.
|
inline |
References TreeBag< T, C, A >::contains().
References TreeBag< T, C, A >::isEmpty().
Referenced by TreeMap< K, T, C, E, A >::operator bool().
References TreeMap< K, T, C, E, A >::end(), and elm::subiter().
References TreeMap< K, T, C, E, A >::isEmpty().
References TreeMap< K, T, C, E, A >::end(), and elm::subiter().
|
inline |
References TreeBag< T, C, A >::add().
References iter::iter(), and TreeBag< T, C, A >::remove().
|
inline |
References elm::pair(), and TreeBag< T, C, A >::remove().