model_server/obj/src/objRelation.h.cxx
// Remove one relation to specific object (or set of objects)
Remove one relation to specific object (or set of objects)
Remove one relation to specific object ( or set of objects )
void  Relational::rem_rel(Relational & m0,  RelType *rt)
  {
  Initialize(Relational::rem_rel);  
  Assert(rt);
  Assert(&m0);
  RelType * irt = rt->get_inv_type();
  if ( get_id() > 0 )
      call_rel_hook(-1, rt, irt, this, &m0);
  this->priv_rem_one_rel (&m0, rt);
  if (irt)
      (&m0)->priv_rem_one_rel(this, irt);
  return;
  }
void Relational :: rem_rel ( Relational & m0 , RelType * rt ) { Initialize ( Relational :: rem_rel ) ; Assert ( rt ) ; Assert ( & m0 ) ; RelType * irt = rt -> get_inv_type ( ) ; if ( get_id ( ) > 0 ) call_rel_hook ( -1 , rt , irt , this , & m0 ) ; this -> priv_rem_one_rel ( & m0 , rt ) ; if ( irt ) ( & m0 ) -> priv_rem_one_rel ( this , irt ) ; return ; }
Remove one relation to specific object (or set of objects)
Remove one relation to specific object ( or set of objects )