Ignore:
Timestamp:
01/30/04 10:49:33 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MDirIter.h

    r2296 r2979  
    5959
    6060    void SetFilter(const char *f="") { fFilter = f; }
     61    UInt_t GetNumEntries() const
     62    {
     63        UInt_t n = 0;
     64        MDirIter Next(*this);
     65        while (!Next().IsNull()) n++;
     66        return n;
     67    }
    6168
    6269    void Print(const Option_t *o="") const;
Note: See TracChangeset for help on using the changeset viewer.