Purpose: Deterermine if the supplied test id, exists within the idset

Return TypeFunction nameArguments
boolhzIntset::operator[](uint32_t,)

Declared in file: hzIntset.h
Defined in file : hzIntset.cpp

Function Logic:

0:START 1:unknown 2:Return false 3:nId 4:range pNode 5:unknown 6:Return false 7:Return pNode->IsSet(nId)

Function body:

bool hzIntset::operator[] (uint32_t nId)
{
   //  Purpose: Deterermine if the supplied test id, exists within the idset
   //  
   //  Argument: The test id
   //  
   //  Returns: True if the test id exists within the idset, false otherwise
   _hzfunc("hzIntset::operator[]") ;
   _idsNode*   pNode ;     //  Target node
   uint32_t    range ;     //  Target segment number
   if (!mx)
       return false ;
   range = nId / IDSET_SEGSIZE ;
   pNode = _findNode(nId) ;
   if (!pNode)
       return false ;
   return pNode->IsSet(nId) ;
}