Return Type | Function name | Arguments |
---|---|---|
hzEcode | hdsArticleStd::AddVisent | (hdsVE*,) |
Declared in file: hzDissemino.h
Defined in file : hdsCore.cpp
Function Logic:
Function body:
hzEcode hdsArticleStd::AddVisent (hdsVE* pChild) { _hzfunc("hdsArticle::AddVisent") ; uint32_t nV ; if (!pChild) hzexit(E_ARGUMENT, "%s: Null child supplied to article", *m_Title) ; if (m_flagVE & VE_COMPLETE) hzexit(E_SEQUENCE, "%s: Article is already complete, cannot add %s", *m_Title, *pChild->m_Tag) ; for (nV = 0; nV < m_VEs.Count() ; nV++) { if (m_VEs[nV] == pChild) hzexit(E_CORRUPT, "%s: Child %s is already in include block", *m_Title, *pChild->m_Tag) ; } m_VEs.Add(pChild) ; return E_OK ; }