#include <Containers.h>
a key -> several elements the Key type must have the operator<
Classes | |
struct | Element |
Protected Attributes | |
Element * | _first |
the list first element More... | |
Public Member Functions | |
MultiMap_sortedList () | |
MultiMap_sortedList (const MultiMap_sortedList< Key, T > &other) | |
~MultiMap_sortedList () | |
void | clear () |
void | find (const Key &k, std::vector< const Element * > &result) const |
void | find (const Key &k, std::vector< Element * > &result) |
void | add (const Key &k, const T &value) |
add the given element More... | |
void | del (Element *prev, Element *current) |
add the current element More... | |
Element * | first () |
const Element * | first () const |
size_t | count () const |
perform a complete loop to count the element number More... | |
|
protected |
the list first element
|
inline |
|
inline |
|
inline |
|
inline |
add the given element
|
inline |
|
inline |
perform a complete loop to count the element number
|
inline |
add the current element
|
inline |
|
inline |
|
inline |
|
inline |