Return Type | Function name | Arguments |
---|---|---|
KEY& | hzMapS::GetKey | (unsigned int,) |
Declared and defined in file: hzTmplMapS.h
Function Logic:
Function body:
KEY& hzMapS::GetKey (unsigned int nIndex) { _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] ; }