| Return Type | Function name | Arguments |
|---|---|---|
| OBJ& | hzVect::operator[] | (uint32_t,) |
Declared and defined in file: hzTmplVect.h
Function Logic:
Function body:
OBJ& hzVect::operator[] (uint32_t nIndex)
{
_hz_set_bkt<OBJ>* 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<OBJ>*) pDN->m_pElements ;
return pBuck->m_Keys[nSlot] ;
}