Return Type | Function name | Arguments |
---|---|---|
hzDocHtml* | hzHtmElem::GetTree | (void) |
Declared in file: hzDocument.h
Defined in file : hzDocHtml.cpp
Function Logic:
Function body:
hzDocHtml* hzHtmElem::GetTree (void) { hzHtmElem* pN ; if (!m_Parent) Fatal("hzHtmElem::GetTree. 1. Tag %s (line %d, level %d) has no parent\n", *m_Name, m_nLine, m_nLevel) ; for (pN = this ; pN->m_nLevel ; pN = pN->Parent()) ; if (!pN->m_Parent) Fatal("hzHtmElem::GetTree. 2. Tag %s (line %d, level %d) has no parent\n", *pN->m_Name, pN->m_nLine, pN->m_nLevel) ; return (hzDocHtml*) pN->Parent() ; }