Return Type | Function name | Arguments |
---|---|---|
KEY& | hzMapM::GetKey | (unsigned int,) |
Declared and defined in file: hzTmplMapM.h
Function Logic:
Function body:
KEY& hzMapM::GetKey (unsigned int nIndex) { _hzfunc("hzMapM:GetKey") ; _hz_map_bkt<KEY,OBJ>* pBuck ; _hz_vn_Dat* pDN ; int32_t nSlot ; pDN = base._findDnodeByPos(nSlot, nIndex, false) ; if (!pDN) { m_DefaultKey = m_NullKey ; return m_DefaultKey ; } pBuck = (_hz_map_bkt<KEY,OBJ>*) pDN->m_pElements ; return pBuck->m_Keys[nSlot] ; }