Skip to content
Snippets Groups Projects
  • Fons Rademakers's avatar
    c673f0a9
    From Jan and Gerri: · c673f0a9
    Fons Rademakers authored
    Added two static methods to create a list of TFileInfo's:
    
       TList *TFileInfo::CreateList(const char *file)
    
    where 'file' is a text file with each line defining a file URL
    
       TList *TFileInfo::CreateListMatching(const char *files)
    
    where 'files' is
       i)   directory path; all regular files in the directory are added
       ii)  a file path; a list with a single element is created
       iii) a file-path containing wildcards '*' in the file name; a list with
            all the files consistent with the path are added.
    
    
    git-svn-id: http://root.cern.ch/svn/root/trunk@18621 27541ba8-7e3a-0410-8455-c3a389f83636
    c673f0a9
    History
    From Jan and Gerri:
    Fons Rademakers authored
    Added two static methods to create a list of TFileInfo's:
    
       TList *TFileInfo::CreateList(const char *file)
    
    where 'file' is a text file with each line defining a file URL
    
       TList *TFileInfo::CreateListMatching(const char *files)
    
    where 'files' is
       i)   directory path; all regular files in the directory are added
       ii)  a file path; a list with a single element is created
       iii) a file-path containing wildcards '*' in the file name; a list with
            all the files consistent with the path are added.
    
    
    git-svn-id: http://root.cern.ch/svn/root/trunk@18621 27541ba8-7e3a-0410-8455-c3a389f83636