model_server/obj/src/objRelation.h.cxx
// Put relation to specific object or set of objects
Put relation to specific object or set of objects
Put relation to specific object or set of objects
void  Relational::put_rel (Relational &m0, RelType *rt)
  {
  Initialize(Relational::put_rel); 
  RelType * irt = rt->get_inv_type();
  this->priv_add_one_rel (&m0, rt);
  if (irt)
      (&m0)->priv_add_one_rel(this, irt);
  call_rel_hook(1, rt, irt, this, &m0);     
  return;
  }
void Relational :: put_rel ( Relational & m0 , RelType * rt ) { Initialize ( Relational :: put_rel ) ; RelType * irt = rt -> get_inv_type ( ) ; this -> priv_add_one_rel ( & m0 , rt ) ; if ( irt ) ( & m0 ) -> priv_add_one_rel ( this , irt ) ; call_rel_hook ( 1 , rt , irt , this , & m0 ) ; return ; }
Put relation to specific object or set of objects
Put relation to specific object or set of objects
// Call rel_hook if present