model_server/dd/src/xref_dd.cxx
// static version of get_def_dd, which can be invoked without an xrefSymbol
static version of get_def_dd, which can be invoked without an xrefSymbol
static version of get_def_dd which can be invoked without an xrefSymbol
ddElement * symbolPtr_get_def_dd(symbolPtr & that)
{
  ddElement * def = NULL;
  if (that.relationalp()){
    Relational * rel = that;
    if (is_ddElement(rel)) {
      ddElement *dd = (ddElement*)rel;
      return  dd->get_definition ();
    }
  } 
  def = xrefSymbol_get_def_dd(that);
  return def;
}
ddElement * symbolPtr_get_def_dd ( symbolPtr & that ) { ddElement * def = NULL ; if ( that . relationalp ( ) ) { Relational * rel = that ; if ( is_ddElement ( rel ) ) { ddElement * dd = ( ddElement * ) rel ; return dd -> get_definition ( ) ; } } def = xrefSymbol_get_def_dd ( that ) ; return def ; }
static version of get_def_dd, which can be invoked without an xrefSymbol
static version of get_def_dd which can be invoked without an xrefSymbol