Return Type | Function name | Arguments |
---|---|---|
hzEcode | hdbIndexEnum::Select | (hdbIdset&,const hzAtom&,) |
Declared in file: hzDatabase.h
Defined in file : hdbIndex.cpp
Function Logic:
Function body:
hzEcode hdbIndexEnum::Select (hdbIdset& Result, const hzAtom& Key) { _hzfunc("hdbIndexEnum::Select") ; hdbIdset* pS ; uint32_t val ; hzEcode rc = E_OK ; Result.Clear() ; val = (uint32_t) Key ; if (val <&eq; 0|| val > m_Maps.Count()) return E_RANGE ; pS = m_Maps[val] ; if (!pS) return hzerr(E_CORRUPT, "Bitmap stated as existing could not be retrieved from the map") ; Result = *pS ; if (Result.Count() != pS->Count()) return hzerr(E_CORRUPT, "Index bound bitmap has %d records, copy has %d records", pS->Count(), Result.Count()) ; return rc ; }