| Return Type | Function name | Arguments |
|---|---|---|
| hzEcode | hdsVE::SetSibling | (hdsVE*,) |
Declared in file: hzDissemino.h
Defined in file : hdsCore.cpp
Function Logic:
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 ;
}