32 #ifndef NaryQuickSet_INCLUDE_ONCE 33 #define NaryQuickSet_INCLUDE_ONCE 42 template<
typename KeyType,
typename ValueType,
int MaxMapType>
146 return find(key) != -1;
const ValueType & valueFromKey(KeyType key) const
KeyType mValueToKey[MaxMapType]
const ValueType & valueFromIndex(int i) const
void insert(KeyType key, const ValueType &value)
ValueType mValues[MaxMapType]
void append(KeyType key, ValueType value)
Visualization Library main namespace.
int mKeyToValue[MaxMapType]
The base class for all the reference counted objects.
const ValueType * begin() const
bool hasKey(KeyType key) const
Simple map used to add, remove, iterate, clear elements efficiently (all O(1)).
int find(KeyType key) const
const ValueType * end() const