Return Type | Function name | Arguments |
---|---|---|
hzEcode | hzXmlNode::SetPretext | (hzChain&,) |
Declared in file: hzDocument.h
Defined in file : hzDocXml.cpp
Function Logic:
Function body:
hzEcode hzXmlNode::SetPretext (hzChain& Z) { _hzfunc("hzXmlNode::SetPretext") ; hzString P ; hzEcode rc = E_OK ; if (!m_pHostDoc) hzexit(E_NOINIT, "Node has no host document") ; if (Z.Size() > HZSTRING_MAXLEN) { P = "overflow" ; rc = E_OVERFLOW ; } else P = Z ; if (!m_pHostDoc->m_Dict.Exists(P)) m_pHostDoc->m_Dict.Insert(P) ; m_Ptxt = m_pHostDoc->m_Dict[P] ; return rc ; }