void wb_srep::eventOldFamily( ldh_sEvent *ep, wb_object o) { if ( !m_thisSessionCb) return; if (ep == NULL) return; wb_object parent = o.parent(); if ( parent) ep->OldParent = parent.oid(); wb_object before = o.before(); if ( before) ep->OldLsibling = before.oid(); wb_object after = o.after(); if ( after) ep->OldRsibling = after.oid(); }
void wb_srep::eventNewFamily( ldh_sEvent *ep, wb_object o) { if ( !m_thisSessionCb) return; if ( !ep) return; wb_object parent = o.parent(); if ( parent) ep->NewParent = parent.oid(); wb_object before = o.before(); if ( before) ep->NewLsibling = before.oid(); wb_object after = o.after(); if ( after) ep->NewRsibling = after.oid(); }