Recursively clear the tree of nodes Arguments: None Returns: None

Return TypeFunction nameArguments
voidhzDocHtml::Clear(void)

Declared in file: hzDocument.h
Defined in file : hzDocHtml.cpp

Function Logic:

0:START 1:unknown 2:pNode pNode 3:items items items items m_pRoot m_pHead m_pBody 4: No text

Function body:

void hzDocHtml::Clear (void)
{
   //  Recursively clear the tree of nodes
   //  
   //  Arguments: None
   //  Returns: None
   hzHtmElem*  pNode ;     //  Node pointer
   uint32_t    nIndex ;    //  Document tags iterator
   for (nIndex = 0; nIndex < m_vecTags.Count() ; nIndex++)
   {
       pNode = m_vecTags[nIndex] ;
       delete pNode ;
   }
   m_vecTags.Clear() ;
   m_vecLinks.Clear() ;
   m_setLinks.Clear() ;
   m_Emails.Clear() ;
   m_pRoot = 0;
   m_pHead = 0;
   m_pBody = 0;
}