model_server/obj/src/app_get_header.cxx
// Return a NULL-terminated array of pointers to the app's that are modified,
// or NULL if there are no modified app's.
// NOTE: Caller is responsible for deleting the array.
//
// static class function
Return a NULL-terminated array of pointers to the app's that are modified,
or NULL if there are no modified app's.
NOTE: Caller is responsible for deleting the array.

static class function
Return a NULL - terminated array of pointers to the app ' s that are modified or NULL if there are no modified app ' s . NOTE : Caller is responsible for deleting the array . static class function
objArr* app::get_modified_headers()
{
    Initialize(app::get_modified_headers);
    Obj *al = get_app_list();
    objArr *array = new objArr;
    ObjPtr elem;
    ForEach(elem, *al)
    {
	appPtr ah = checked_cast(app,elem);
	if (ah->needs_to_be_saved())
	{
	    array->insert_last(ah);
	}
    }
    ReturnValue(array);
}
objArr * app :: get_modified_headers ( ) { Initialize ( app :: get_modified_headers ) ; Obj * al = get_app_list ( ) ; objArr * array = new objArr ; ObjPtr elem ; ForEach ( elem , * al ) { appPtr ah = checked_cast ( app , elem ) ; if ( ah -> needs_to_be_saved ( ) ) { array -> insert_last ( ah ) ; } } ReturnValue ( array ) ; }
Return a NULL-terminated array of pointers to the app's that are modified,
or NULL if there are no modified app's.
Return a NULL - terminated array of pointers to the app ' s that are modified or NULL if there are no modified app ' s .