19template <
typename Key,
typename Value>
25 typedef QSet<KeyType>
Keys;
59 virtual void GetKeys(
Keys& result,
bool doAppend =
false)
const = 0;
Base interface for all used interfaces and implementations.
Generic interface for a key/value mapping.
virtual void GetKeys(Keys &result, bool doAppend=false) const =0
Get list of keys stored in this map.
virtual int GetElementsCount() const =0
Get number of elements.
virtual int FindIndex(const KeyType &key) const =0
Find index index of specified key.
virtual const ValueType & GetValueAt(int index) const =0
Get mapped value at specified index.
virtual const ValueType & operator[](const KeyType &key) const =0
Element access operator.
virtual ValueType & operator[](const KeyType &key)=0
Element access operator.
virtual const KeyType & GetKeyAt(int index) const =0
Get key value at specified index.
virtual const ValueType * FindElement(const KeyType &key) const =0
Find value element associated with specified key.