[DEV] add hash element get

This commit is contained in:
Edouard DUPIN 2013-08-21 21:23:01 +02:00
parent 3ac971ecb6
commit 4fb6bcebac

View File

@ -160,6 +160,14 @@ namespace etk
{
return m_data.Size();
}
MY_TYPE& operator[] (esize_t _pos)
{
return GetValue(_pos);
}
const MY_TYPE& operator[] (esize_t _pos) const
{
return GetValue(_pos);
}
const etk::UString& GetKey(esize_t _pos) const
{
// NOTE :Do not change log level, this generate error only in debug mode