Return TypeFunction nameArguments
hdbIdset&hdbIdset::operator&=(const hdbIdset&,)

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

Function Logic:

0:START 1:hdbIdset::Count 2:!op.Count() 3:hdbIdset::Clear 4:Return *this 5:!Count() 6:Return *this 7:op.mx->m_bVect 8:pNodesB hzVect::Count numNodes 9:pNodesB numNodes nB 10:nB 11:hzVect::operator[] pNodeB ziB 12:!ziB.eof(); 13:_readEUI nFound 14:Return *this

Function body:

hdbIdset& hdbIdset::operator&= (const hdbIdset& op)
{
   _hzfunc("hdbIdset::operator&=") ;
   hzVect<_idsNode*>*  pNodesA ;
   hzVect<_idsNode*>*  pNodesB ;
   _idsNode*           pNodeA ;
   _idsNode*           pNodeB ;
   _idset_seg          segA ;
   _idset_seg          segB ;
   xbufIter            ziA ;
   xbufIter            ziB ;
   uint32_t            numNodes ;
   uint32_t    nA ;
   uint32_t    nB ;
   uint32_t    nSofar ;
   uint32_t    nFound ;
   if (!op.Count())
       { Clear() ; return *this ; }
   if (!Count())
       return *this ;
   if (op.mx->m_bVect)
   {
       pNodesB = (hzVect<_idsNode*>*) op.mx->m_pData ;
       numNodes = pNodesB->Count() ;
   }
   else
   {
       pNodesB = 0;
       numNodes = 1;
   }
   for (nB = 0; nB < numNodes ; nB++)
   {
       pNodeB = op.mx->m_bVect ? pNodesB->operator[](nB) : (_idsNode*) op.mx->m_pData ;
       ziB = pNodeB->m_Data ;
       for (; !ziB.eof() ;)
       {
           nFound = _readEUI(segB, nSofar, ziB) ;
       }
   }
   return *this ;
}