Return TypeFunction nameArguments
hzEcodehdbIndexEnum::Insert(unsigned int,const hzAtom&,)

Declared in file: hzDatabase.h
Defined in file : hdbIndex.cpp

Function Logic:

0:START 1:val 2:val<=0||val>m_Maps.Count() 3:Return E_RANGE 4:pS 5:(rc=pS->Insert(objId))!=E_OK 6:Return hzerr(rc,(case key exists) Bitmap could not insert object) 7:Return rc

Function body:

hzEcode hdbIndexEnum::Insert (unsigned int objId, const hzAtom& Key)
{
   _hzfunc("hdbIndexEnum::Insert") ;
   hdbIdset*   pS ;
   uint32_t    val ;
   hzEcode     rc = E_OK ;
   val = (uint32_t) Key ;
   if (val <&eq; 0|| val > m_Maps.Count())
       return E_RANGE ;
   pS = m_Maps[val] ;
   if ((rc = pS->Insert(objId)) != E_OK)
       return hzerr(rc, "(case key exists) Bitmap could not insert object") ;
   return rc ;
}