Show list of nodes plus content Returns: None

Return TypeFunction nameArguments
voidhzDocHtml::Report(hzLogger&,)

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

Function Logic:

0:START 1:unknown 2:items 3:unknown 4:pE S items 5:unknown 6:items 7:items 8: No text

Function body:

void hzDocHtml::Report (hzLogger& xlog)
{
   //  Show list of nodes plus content
   //  
   //  Arguments: 1) xlog The logfile to write report to
   //  Returns: None
   _hzfunc("hzDocHtml::Report") ;
   hzHtmElem*  pE ;            //  Current node
   hzString    S ;             //  Tag content holder
   uint32_t    nIndex ;        //  Document tag iterator
   if (!m_vecTags.Count())
       xlog.Out("PAGE is EMPTY - No nodes in Vector\n") ;
   else
   {
       for (nIndex = 0; nIndex < m_vecTags.Count() ; nIndex++)
       {
           pE = m_vecTags[nIndex] ;
           S = pE->m_tmpContent ;
           xlog.Out("id=%d par=%d subs=%d nxt=%d lev=%d: %s [%s]\n",
               pE->GetUid(),
               pE->Parent() ? pE->Parent()->GetUid() : 0,
               pE->GetFirstChild() ? pE->GetFirstChild()->GetUid() : 0,
               pE->Sibling() ? pE->Sibling()->GetUid() : 0,
               pE->Level(),
               *Tagtype2Txt(pE->Type()),
               *S) ;
       }
   }
   //  Show tree of nodes plus content
   if (!m_pRoot)
       xlog.Out("PAGE is EMPTY - No subnodes of root\n") ;
   else
       _report(xlog, m_pRoot) ;
}