Ignore:
Timestamp:
05/02/03 08:56:31 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MTaskList.cc

    r2015 r2052  
    6565#include "MLogManip.h"
    6666
     67#include "MIter.h"
    6768#include "MFilter.h"
    6869#include "MParList.h"
     
    288289    MTask *task=NULL;
    289290    //
    290     // loop over all tasks for preproccesing
     291    // loop over all tasks for reinitialization
    291292    //
    292293    while ((task=(MTask*)Next()))
     
    330331{
    331332    *fLog << all << "Preprocessing... " << flush;
     333    if (fDisplay)
     334    {
     335        // Set status lines
     336        fDisplay->SetStatusLine1("PreProcessing...");
     337        fDisplay->SetStatusLine2("");
     338    }
    332339
    333340    fParList = pList;
     
    347354    while ((task=(MTask*)Next()))
    348355    {
    349         *fLog << all << task->GetName() << "... " << flush;
    350         if (fDisplay)
    351             fDisplay->SetStatusLine2(*task);
    352 
    353356        //
    354357        // PreProcess the task and check for it's return value.
     
    494497{
    495498    *fLog << all << "Postprocessing... " << flush;
     499    if (fDisplay)
     500    {
     501        // Set status lines
     502        fDisplay->SetStatusLine1("PostProcessing...");
     503        fDisplay->SetStatusLine2("");
     504    }
    496505
    497506    //
     
    518527    while ( (task=(MTask*)Next()) )
    519528    {
    520         *fLog << all << task->GetName() << "... " << flush;
    521         if (fDisplay)
    522             fDisplay->SetStatusLine2(*task);
    523 
    524529        if (!task->CallPostProcess())
    525530            return kFALSE;
     
    602607    out << ";" << endl << endl;
    603608
    604     TIter Next(fTasks);
     609    MIter Next(fTasks);
    605610
    606611    MParContainer *cont = NULL;
    607     while ((cont=(MParContainer*)Next()))
     612    while ((cont=Next()))
    608613    {
    609614        cont->SavePrimitive(out, "");
     
    654659    MParContainer *cont = NULL;
    655660
    656     TIter Next(fTasks);
    657     while ((cont=(MParContainer*)Next()))
     661    MIter Next(fTasks);
     662    while ((cont=Next()))
    658663    {
    659664        if (cont->InheritsFrom("MTaskList"))
     
    730735    MParContainer *cont = NULL;
    731736
    732     TIter Next(fTasks);
    733     while ((cont=(MParContainer*)Next()))
     737    MIter Next(fTasks);
     738    while ((cont=Next()))
    734739        if (!cont->WriteEnv(env, prefix, print))
    735740            return kFALSE;
Note: See TracChangeset for help on using the changeset viewer.