Return TypeFunction nameArguments
hzEcodehdsArticleStd::AddVisent(hdsVE*,)

Declared in file: hzDissemino.h
Defined in file : hdsCore.cpp

Function Logic:

0:START 1:!pChild 2:hzexit 3:m_flagVE&VE_COMPLETE 4:hzexit nV 5:nV 6:m_VEs[nV]==pChild 7:hzexit 8:hzArray::Add 9:Return E_OK

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 ;
}