Ignore:
Timestamp:
05/10/09 11:52:17 (16 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 edited

Legend:

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

    r8907 r9441  
    152152// --------------------------------------------------------------------------
    153153//
     154// Add a single file to the iterator
     155//
     156Int_t MDirIter::AddFile(const char *name)
     157{
     158    return AddDirectory(gSystem->DirName(name), gSystem->BaseName(name));
     159}
     160
     161// --------------------------------------------------------------------------
     162//
    154163// Adds all entries from iter to this object
    155164//
  • trunk/MagicSoft/Mars/mbase/MDirIter.h

    r7808 r9441  
    5252
    5353    Int_t AddDirectory(const char *dir, const char *filter="", Int_t recursive=0);
     54    Int_t AddFile(const char *name);
    5455    void  Add(const MDirIter &iter);
    5556    void  Reset();
Note: See TracChangeset for help on using the changeset viewer.