model_server/driver_aset/src/driver.cxx
// 
// Fills specified array with selected app nodes in the specified view.
// Null view implies all views.
Fills specified array with selected app nodes in the specified view.
Null view implies all views.
Fills specified array with selected app nodes in the specified view . Null view implies all views .
void driver::fill_array_with_selected_appnodes
                  (viewPtr v, objArr& sel_arr, int subnodes)
{
    Initialize(driver::fill_array_with_selected_appnodes);
    Obj*        el;
    OperPoint*  pt;
    viewTreePtr vw_nd;
    symbolArr temp; 
    steEpochList::fill_selected_nodes(v, temp);
    miniBrowser::fill_selected_nodes(temp);
    symbolPtr symp;
    ForEachS(symp, temp) {
       sel_arr.insert_last((Obj *)symp);
    }
    ForEach (el, sel_list.oper_pts) {
	if (el != NULL) {
	    pt = (OperPoint*)el;
	    vw_nd = checked_cast(viewTree, pt->view_node);
	    if (vw_nd) {
		if (v == NULL || v == get_view_header(vw_nd)) {
		    if (subnodes && (int)pt->subnode)
			sel_arr.insert_last ((Obj *)pt->subnode);
		    else
			sel_arr.insert_last ((Obj *)pt->node);
		}
	    } else if (v == NULL)
		sel_arr.insert_last ((Obj *)pt->node);
	}
    }
}
void driver :: fill_array_with_selected_appnodes ( viewPtr v , objArr & sel_arr , int subnodes ) { Initialize ( driver :: fill_array_with_selected_appnodes ) ; Obj * el ; OperPoint * pt ; viewTreePtr vw_nd ; symbolArr temp ; steEpochList :: fill_selected_nodes ( v , temp ) ; miniBrowser :: fill_selected_nodes ( temp ) ; symbolPtr symp ; ForEachS ( symp , temp ) { sel_arr . insert_last ( ( Obj * ) symp ) ; } ForEach ( el , sel_list . oper_pts ) { if ( el != NULL ) { pt = ( OperPoint * ) el ; vw_nd = checked_cast ( viewTree , pt -> view_node ) ; if ( vw_nd ) { if ( v == NULL || v == get_view_header ( vw_nd ) ) { if ( subnodes && ( int ) pt -> subnode ) sel_arr . insert_last ( ( Obj * ) pt -> subnode ) ; else sel_arr . insert_last ( ( Obj * ) pt -> node ) ; } } else if ( v == NULL ) sel_arr . insert_last ( ( Obj * ) pt -> node ) ; } } }
Fills specified array with selected app nodes in the specified view.
Fills specified array with selected app nodes in the specified view .
/* collect all nodes from steEpochList type views
       (selection is handled dirrerently for these views) */ /* selection from all other views */