In file ../include/EST_TKVL.h:
template<class K, class V> class EST_TKVL |
Templated Key-Value list.
| default_val default value, returned when there is no such entry | |
| default_key default value, returned when there is no such entry |
Constructor functions
| |||||||||||||||||||||||||||
| length () const number of key value pairs in list | |||||||||||||||||||||||||||
| head () const Return First key value pair in list | |||||||||||||||||||||||||||
| clear () Empty list | |||||||||||||||||||||||||||
Access functions.
| |||||||||||||||||||||||||||
| present (const K &rkey) const Returns true if key is present | |||||||||||||||||||||||||||
| map (void (*func)(K&, V&)) apply function to each pair | |||||||||||||||||||||||||||
| operator = (const EST_TKVL<K, V> &kv) full copy of KV list | |||||||||||||||||||||||||||
| operator += (const EST_TKVL<K, V> &kv) add kv after existing list | |||||||||||||||||||||||||||
| operator + (const EST_TKVL<K, V> &kv) make new concatenated list |
| Linked list of key-val pairs. |
Templated Key-Value list. Objects of type EST_TKVL contain lists which are accessed by a key of type K, which returns a value of type V.
Alphabetic index HTML hierarchy of classes or Java
This page is part of the
Edinburgh Speech Tools Library documentation
Copyright University of Edinburgh 1997
Contact:
speech_tools@cstr.ed.ac.uk