model_server/subsystem/src/Entity.cxx
// Now go through remaining items used by this func and add appropriate
// relationships.
Now go through remaining items used by this func and add appropriate
relationships.
Now go through remaining items used by this func and add appropriate relationships .
ForEachS(used, sel[is_using]) {
	    switch (used.get_kind()) {
	    case DD_FUNC_DECL:
	       relate_to_symbol(AUS_FCALL_INV, used);
	       break;
	    case DD_VAR_DECL:
	    case DD_CLASS:
	    case DD_ENUM:
	    case DD_TYPEDEF:
	       relate_to_symbol(AUS_DATAREF_INV, used);
	       break;
            case DD_MACRO:
	       relate_to_symbol(AUS_FCALL_INV, used);
	       break;
	    case DD_FIELD: {
	       if (!(qual_len && memcmp(my_name, used.get_name(), qual_len) == 0)) {
		  targ = used.get_parent_of(projects_to_search);
		  if (targ.xrisnotnull()) {
		     relate_to_symbol(AUS_DATAREF_INV, targ);
		  }
	       }
	       if (used.get_link(has_type, targs, projects_to_search)) {
		  relate_to_type(targs[0], AUS_DATAREF_INV);
	       }
	       break;
	    }
            case DD_ENUM_VAL:
            {
                targ = used.get_parent_of(projects_to_search);
                if (targ.xrisnotnull())
                    relate_to_symbol(AUS_DATAREF_INV, targ);
                break;
            }
	    default:
	       break;
	    }
	 }
ForEachS ( used , sel [ is_using ] ) { switch ( used . get_kind ( ) ) { case DD_FUNC_DECL : relate_to_symbol ( AUS_FCALL_INV , used ) ; break ; case DD_VAR_DECL : case DD_CLASS : case DD_ENUM : case DD_TYPEDEF : relate_to_symbol ( AUS_DATAREF_INV , used ) ; break ; case DD_MACRO : relate_to_symbol ( AUS_FCALL_INV , used ) ; break ; case DD_FIELD : { if ( ! ( qual_len && memcmp ( my_name , used . get_name ( ) , qual_len ) == 0 ) ) { targ = used . get_parent_of ( projects_to_search ) ; if ( targ . xrisnotnull ( ) ) { relate_to_symbol ( AUS_DATAREF_INV , targ ) ; } } if ( used . get_link ( has_type , targs , projects_to_search ) ) { relate_to_type ( targs [ 0 ] , AUS_DATAREF_INV ) ; } break ; } case DD_ENUM_VAL : { targ = used . get_parent_of ( projects_to_search ) ; if ( targ . xrisnotnull ( ) ) relate_to_symbol ( AUS_DATAREF_INV , targ ) ; break ; } default : break ; } }
Now go through remaining items used by this func and add appropriate
relationships.
Now go through remaining items used by this func and add appropriate relationships .
/* not a reference to another member of the same class */