model_server/obj/src/objRelation.h.cxx
// - accept method for propagation on links; checks flags
//   rt if given. If returns 0 - propagation stopped.
accept method for propagation on links; checks flags
rt if given. If returns 0 - propagation stopped.
accept method for propagation on links ; checks flags rt if given . If returns 0 - propagation stopped .
objPropagator* RelType::accept(objPropagator *walker, int flag)
  {
  if ( (get_flags() & flag) == 0 )
    return 0;
  if ( walker->get_assoc_type() != this->get_assoc_type() )
    return 0;
  else if ( walker->rel_type != NULL && 
            walker->rel_type != this )
    return 0;
  else
    return walker;
  }
objPropagator * RelType :: accept ( objPropagator * walker , int flag ) { if ( ( get_flags ( ) & flag ) == 0 ) return 0 ; if ( walker -> get_assoc_type ( ) != this -> get_assoc_type ( ) ) return 0 ; else if ( walker -> rel_type != NULL && walker -> rel_type != this ) return 0 ; else return walker ; }
accept method for propagation on links; checks flags
rt if given.
accept method for propagation on links ; checks flags rt if given .
//     if rt to be walked specified in the walker, check it