Return Type | Function name | Arguments |
---|---|---|
void | hzDocHtml::Report | (hzLogger&,) |
Declared in file: hzDocument.h
Defined in file : hzDocHtml.cpp
Function Logic:
Function body:
void hzDocHtml::Report (hzLogger& xlog) { _hzfunc("hzDocHtml::Report") ; hzHtmElem* pE ; hzString S ; uint32_t nIndex ; 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) ; } } if (!m_pRoot) xlog.Out("PAGE is EMPTY - No subnodes of root\n") ; else _report(xlog, m_pRoot) ; }