Return Type | Function name | Arguments |
---|---|---|
hzEcode | hzVect::Insert | (OBJ,unsigned int,) |
Declared and defined in file: hzTmplVect.h
Function Logic:
Function body:
hzEcode hzVect::Insert (OBJ key, unsigned int nPosn) { _hzfunc("hzVect::Insert") ; _hz_set_bkt<OBJ>* pBuck ; _hz_vn_Dat* pDN ; int32_t nSlot ; pDN = base.InsertPosn(nSlot, nPosn) ; if (pDN) { pBuck = (_hz_set_bkt<OBJ>*) pDN->m_pElements ; pBuck->m_Keys[nSlot] = key ; return E_OK ; } return E_CORRUPT ; }