gala_clients/DIS_group/src/GROUPswApp.cxx
// Set Public Members of selected groups.
Set Public Members of selected groups.
Set Public Members of selected groups .
vbool GROUPswApp::setPublicMembers(const symbolArr groups, symbolArr& members)
{
    Initialize(GROUPswApp::setPublicMembers);
    symbolPtr groupSym;
    ForEachS(groupSym, groups) {
        groupHdrPtr group = groupHdr::sym_to_groupHdr(groupSym);
        if (group) {
            group->make_members_public(members);
        } else {
            dis_message(0, MSG_ERROR, "Symbol '%s' isn't a groupHdr!!!\n",
                    groupSym.get_name() );
        }
    }
    return (vTRUE);
}
vbool GROUPswApp :: setPublicMembers ( const symbolArr groups , symbolArr & members ) { Initialize ( GROUPswApp :: setPublicMembers ) ; symbolPtr groupSym ; ForEachS ( groupSym , groups ) { groupHdrPtr group = groupHdr :: sym_to_groupHdr ( groupSym ) ; if ( group ) { group -> make_members_public ( members ) ; } else { dis_message ( 0 , MSG_ERROR , " \n " , groupSym . get_name ( ) ) ; } } return ( vTRUE ) ; }
Set Public Members of selected groups.
Set Public Members of selected groups .
// Loop through the selected groups, making the selected members public.