Changeset 8240


Ignore:
Timestamp:
01/10/07 13:33:18 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 edited

Legend:

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

    r8071 r8240  
    851851        gLog << inf << i << " resources have not been touched." << endl;
    852852}
     853
     854//---------------------------------------------------------------------------
     855//
     856// Return number of resources which have not been touched.
     857//
     858Int_t MEnv::GetNumUntouched() const
     859{
     860    int i=0;
     861    TIter Next(GetTable());
     862    TObject *o=0;
     863    while ((o=Next()))
     864        if (!fChecked.FindObject(o->GetName()))
     865            i++;
     866    return i;
     867}
  • trunk/MagicSoft/Mars/mbase/MEnv.h

    r8071 r8240  
    6666
    6767    void PrintUntouched() const;
     68    Int_t GetNumUntouched() const;
    6869
    6970    ClassDef(MEnv, 0) // A slightly more advanced version of TEnv
Note: See TracChangeset for help on using the changeset viewer.