Return TypeFunction nameArguments
hzEcodehdsVE::SetSibling(hdsVE*,)

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

Function Logic:

0:START 1:!this 2:hzexit 3:!pSib 4:hzexit 5:pSib==this 6:hzexit 7:m_Sibling 8:hzexit 9:m_Sibling 10:Return E_OK

Function body:

hzEcode hdsVE::SetSibling (hdsVE* pSib)
{
   _hzfunc("hdsVE::SetSibling") ;
   if (!this)          { threadLog("ugh A\n") ; hzexit(E_CORRUPT, "No instance") ; }
   if (!pSib)          { threadLog("ugh a\n") ; hzexit(E_ARGUMENT, "No sibling supplied") ; }
   if (pSib == this)   { threadLog("ugh B\n") ; hzexit(E_CORRUPT, "%s: Attempt to set sibling of this to this", *m_Tag) ; }
   if (m_Sibling)      { threadLog("ugh C\n") ; hzexit(E_CORRUPT, "%s: Already have sibling", *m_Tag) ; }
   m_Sibling = pSib->m_VID ;
   return E_OK ;
}