gala_clients/DIS_group/src/GROUPswApp.cxx
// Convert selected entries in the Known Groups list to or from Subsystems.
Convert selected entries in the Known Groups list to or from Subsystems.
Convert selected entries in the Known Groups list to or from Subsystems .
vbool GROUPswApp::convertGroups(const symbolArr groups)
{
    Initialize(GROUPswApp::convertGroups);
    symbolPtr groupSym;
    ForEachS(groupSym, groups) {
        groupHdrPtr group = groupHdr::sym_to_groupHdr(groupSym);
        if (group) {
            if (group->is_subsystem()) {
                group->convert_to_group();
            } else if (group->is_scratch() ) {
			group->make_nonscratch();
            } else {
                group->convert_to_subsystem();
            }
        }
    }
    return(vTRUE);
}
vbool GROUPswApp :: convertGroups ( const symbolArr groups ) { Initialize ( GROUPswApp :: convertGroups ) ; symbolPtr groupSym ; ForEachS ( groupSym , groups ) { groupHdrPtr group = groupHdr :: sym_to_groupHdr ( groupSym ) ; if ( group ) { if ( group -> is_subsystem ( ) ) { group -> convert_to_group ( ) ; } else if ( group -> is_scratch ( ) ) { group -> make_nonscratch ( ) ; } else { group -> convert_to_subsystem ( ) ; } } } return ( vTRUE ) ; }
Convert selected entries in the Known Groups list to or from Subsystems.
Convert selected entries in the Known Groups list to or from Subsystems .
// Add the group to the delete list. // Convert subsystem into a saved/model group. // Convert a scratch group into a saved/model group. // Convert a saved/model group into a subsystem.