Associates type info.
More...
#include <Dictionary.h>
|
typedef Dictionary< K, V * > | parent_t |
|
typedef K | key_t |
|
typedef V * | value_t |
|
typedef std::pair< K, V * > | entry_t |
|
typedef std::list< entry_t > | container_t |
|
typedef std::list< key_t > | keylist_t |
|
typedef std::list< value_t > | valuelist_t |
|
|
void | add (const K &key, const V &value) |
|
parent_t::container_t::const_iterator | findByValue (const V &value) const |
|
const V & | getValue (const K &key) const |
|
const K & | getKey (const V &value) const |
|
| Dictionary (const Dictionary &d) |
|
| Dictionary (std::initializer_list< entry_t > d) |
|
const container_t & | getContainer () const |
|
entry_t & | add (const K &key, const V * &value) |
|
entry_t & | set (const K &key, const V * &value) |
| Replaces existing or adds.
|
|
const V * & | operator[] (const K &key) const |
|
const V * & | operator() (const V * &value) const |
|
container_t::const_iterator | findByKey (const K &key) const |
|
container_t::const_iterator | findByValue (const V * &value) const |
|
bool | hasKey (const K &key) const |
|
bool | hasValue (const V * &value) const |
| Given a key, return the first value associated with it.
|
|
const V * & | getValue (const K &key) const |
| Given a key, return the first value associated with it.
|
|
const K & | getKey (const V * &value) const |
| Given a value, return the first key associated with it.
|
|
const keylist_t & | getKeys () const |
|
void | getKeys (keylist_t &l) const |
|
const valuelist_t & | getValues () const |
|
void | getValues (keylist_t &l) const |
|
|
char | separator |
|
keylist_t | keyList |
|
valuelist_t | valueList |
|
template<class K, class V>
class drain::DictionaryPtr< K, V >
Associates type info.
The documentation for this class was generated from the following file: