Return Type | Function name | Arguments |
---|---|---|
KEY& | hzSet::GetObj | (unsigned int,) |
Declared and defined in file: hzTmplSet.h
Function Logic:
Function body:
KEY& hzSet::GetObj (unsigned int nIndex) { _hzfunc("hzSet::GetObj") ; _hz_set_bkt<KEY>* pBuck ; _hz_vn_Dat* pDN ; int32_t nSlot ; pDN = base._findDnodeByPos(nSlot, nIndex, false) ; if (!pDN) { m_Default = m_Null ; return m_Default ; } pBuck = (_hz_set_bkt<KEY>*) pDN->m_pElements ; return pBuck->m_Keys[nSlot] ; }