model_server/project/src/proj.h.cxx
// Given a project, call obj_insert for that project and all its 
//   children, recursively.  This is called from set_home_proj to
//   update all the possible icons.
Given a project, call obj_insert for that project and all its
children, recursively.  This is called from set_home_proj to
update all the possible icons.
Given a project call obj_insert for that project and all its children recursively . This is called from set_home_proj to update all the possible icons .
static void insert_obj_recursive(projNode* proj)
{
    Initialize (insert_obj_recursive);
    if (!proj) return;
    obj_insert (proj->get_header(), REPLACE, proj, proj, NULL);
    Obj* os = parentProject_get_childProjects(proj);
    ObjPtr ob;
    ForEach(ob, *os) {
	projNode* pr = checked_cast(projNode, ob);
	if (pr) insert_obj_recursive(pr);
    }
}
static void insert_obj_recursive ( projNode * proj ) { Initialize ( insert_obj_recursive ) ; if ( ! proj ) return ; obj_insert ( proj -> get_header ( ) , REPLACE , proj , proj , NULL ) ; Obj * os = parentProject_get_childProjects ( proj ) ; ObjPtr ob ; ForEach ( ob , * os ) { projNode * pr = checked_cast ( projNode , ob ) ; if ( pr ) insert_obj_recursive ( pr ) ; } }
Given a project, call obj_insert for that project and all its
children, recursively.
Given a project call obj_insert for that project and all its children recursively .