| Return Type | Function name | Arguments |
|---|---|---|
| hzEcode | hdbIndexEnum::Insert | (unsigned int,const hzAtom&,) |
Declared in file: hzDatabase.h
Defined in file : hdbIndex.cpp
Function Logic:
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 ;
}