Return TypeFunction nameArguments
voidhdbIdset::Clear(void)

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

Function Logic:

0:START 1:mx 2:mx->m_pData 3:mx->m_bVect 4:pNodes n 5:nCount(); 6:hzVect::operator[] pNode hzXbuf::Clear pNode 7:hzVect::Clear pNodes 8:pNode hzXbuf::Clear pNode 9:mx 10:mx 11: No text

Function body:

void hdbIdset::Clear (void)
{
   hzVect<_idsNode*>*  pNodes ;
   _idsNode*           pNode ;
   uint32_t            n ;
   if (mx)
   {
       if (mx->m_pData)
       {
           if (mx->m_bVect)
           {
               pNodes = (hzVect<_idsNode*>*) mx->m_pData ;
               for (n = 0; n < pNodes->Count() ; n++)
               {
                   pNode = pNodes->operator[](n) ;
                   pNode->m_Data.Clear() ;
                   delete pNode ;
               }
               pNodes->Clear() ;
               delete pNodes ;
           }
           else
           {
               pNode = (_idsNode*) mx->m_pData ;
               pNode->m_Data.Clear() ;
               delete pNode ;
           }
           mx->m_pData = 0;
       }
       delete mx ;
   }
}