model_server/driver_aset/src/driver.cxx
// Unselects all viewnodes of a view header
Unselects all viewnodes of a view header
Unselects all viewnodes of a view header
void driver::unselect(viewPtr vvv)
{
    Initialize(driver::unselect);
    objArr      selected_nodes;
    Obj*        el;
    OperPoint*  pt;
    if (vvv == NULL || is_steView(vvv))
        ste_interface_unselect (vvv);
    ForEach (el, sel_list.oper_pts) {
	if (el != NULL) {
	    pt = (OperPoint *) el;
	    viewTree *vw_nd = checked_cast(viewTree,pt->view_node);
	    if (vw_nd) {  
		if (vvv == NULL || (vvv == get_view_header (vw_nd)))
		    selected_nodes.insert_last (vw_nd);
	    }
	}
    }
    Obj *el1;
    ForEach (el1, selected_nodes) {
	unselect ( checked_cast(viewTree,el1));
    }
    if (vvv == NULL) {
	sel_list.remove_all();
	browserShell::clear_all_browser_selections ();
	miniBrowser::clear_selections();
    }
}
void driver :: unselect ( viewPtr vvv ) { Initialize ( driver :: unselect ) ; objArr selected_nodes ; Obj * el ; OperPoint * pt ; if ( vvv == NULL || is_steView ( vvv ) ) ste_interface_unselect ( vvv ) ; ForEach ( el , sel_list . oper_pts ) { if ( el != NULL ) { pt = ( OperPoint * ) el ; viewTree * vw_nd = checked_cast ( viewTree , pt -> view_node ) ; if ( vw_nd ) { if ( vvv == NULL || ( vvv == get_view_header ( vw_nd ) ) ) selected_nodes . insert_last ( vw_nd ) ; } } } Obj * el1 ; ForEach ( el1 , selected_nodes ) { unselect ( checked_cast ( viewTree , el1 ) ) ; } if ( vvv == NULL ) { sel_list . remove_all ( ) ; browserShell :: clear_all_browser_selections ( ) ; miniBrowser :: clear_selections ( ) ; } }
Unselects all viewnodes of a view header
Unselects all viewnodes of a view header
// takes care about steRegions in Epoch STE/SMOD Views, // Match each v_node header in the selection list with vvv, if vvv != 0, // otherwise unselectAll // match?? // case unselectAll