model_server/gala/src/viewer.cxx
//goes through the viewer linked list matching ids until it finds one that matches
goes through the viewer linked list matching ids until it finds one that matches
goes through the viewer linked list matching ids until it finds one that matches
Viewer* Viewer::find_viewer (int id)
{
    gInit (Viewer::find_viewer);
    for (Viewer* v=viewers; v; v=v->next) 
    {
        if (v->id == id) return v;
    }
    return NULL;
}
Viewer * Viewer :: find_viewer ( int id ) { gInit ( Viewer :: find_viewer ) ; for ( Viewer * v = viewers ; v ; v = v -> next ) { if ( v -> id == id ) return v ; } return NULL ; }
goes through the viewer linked list matching ids until it finds one that matches
goes through the viewer linked list matching ids until it finds one that matches