model_server/edge/src/aset_graph.cxx
//  Get view_node back pointer; This code can be removed
//  if add a field edge_back_ptr to viewFuncCallNode class.
Get view_node back pointer; This code can be removed
if add a field edge_back_ptr to viewFuncCallNode class.
Get view_node back pointer ; This code can be removed if add a field edge_back_ptr to viewFuncCallNode class .
aset_node * edge_get_view_ptr(aset_graph *graph_node, 
                               viewSymbolNodePtr view_ptr)
 {
    Initialize(edge_get_view_ptr);
    aset_node *tail_node = (aset_node *)graph_node->gettailnode();
    while (view_ptr->ignore_for_routing() &&
            view_ptr->viewIsKindOf(viewERDBoxableType) &&
            checked_cast(viewERDBoxableNode,view_ptr)->containing_box())
        view_ptr = checked_cast(viewERDBoxableNode,view_ptr)->containing_box();
    while (tail_node){
           if (tail_node->view_node == view_ptr)
               break;
           tail_node = (aset_node *) tail_node->getprevnode();
    }
    return tail_node;
 }
aset_node * edge_get_view_ptr ( aset_graph * graph_node , viewSymbolNodePtr view_ptr ) { Initialize ( edge_get_view_ptr ) ; aset_node * tail_node = ( aset_node * ) graph_node -> gettailnode ( ) ; while ( view_ptr -> ignore_for_routing ( ) && view_ptr -> viewIsKindOf ( viewERDBoxableType ) && checked_cast ( viewERDBoxableNode , view_ptr ) -> containing_box ( ) ) view_ptr = checked_cast ( viewERDBoxableNode , view_ptr ) -> containing_box ( ) ; while ( tail_node ) { if ( tail_node -> view_node == view_ptr ) break ; tail_node = ( aset_node * ) tail_node -> getprevnode ( ) ; } return tail_node ; }
Get view_node back pointer; This code can be removed
if add a field edge_back_ptr to viewFuncCallNode class.
Get view_node back pointer ; This code can be removed if add a field edge_back_ptr to viewFuncCallNode class .