Return TypeFunction nameArguments
hzEcodehzLookup::Delete(const hzString&,)

Declared and defined in file: hzTmplMapL.h

Function Logic:

0:START 1:_hz_tmpl_ISAM::_findDnodeByKey pDN 2:!pDN 3:Return E_NOTFOUND 4:_hz_tmpl_ISAM::DeleteKey pDN 5:Return E_OK

Function body:

hzEcode hzLookup::Delete (const hzString& key)
   {
       _hzfunc("hzMapS:Delete") ;
       _hz_map_bkt<hzString,OBJ>*  pBuck ;
       _hz_vn_Dat* pDN ;
       int32_t     nSlot ;
       pDN = base._findDnodeByKey(nSlot, &key, HZ_ISAMSRCH_LO) ;
       if (!pDN)
           return E_NOTFOUND ;
       pDN = base.DeleteKey(nSlot, &key) ;
       return E_OK ;
   }