AliPhysics  d565ceb (d565ceb)
Scanner Struct Reference

Public Member Functions

void ScanDirectory (TSystemDirectory *dir, TList *list, const char *pattern, bool recursive)
 
TListScan (const char *datadir, const char *pattern, bool recursive=false)
 

Static Public Member Functions

static Bool_t IsFile (const char *path)
 
static Bool_t TestFile (const TString &name, const char *pattern=0)
 

Detailed Description

Definition at line 24 of file MigrateOADB.C.

Member Function Documentation

TList* Scanner::Scan ( const char *  datadir,
const char *  pattern,
bool  recursive = false 
)
inline

Scan data directory for files matching pattern

Parameters
datadirPath to data directory
patternFile name match pattern
recursiveRecurse flag
Returns
List of file names

Definition at line 136 of file MigrateOADB.C.

Referenced by Extractor::Extract(), and NormExtractor::ExtractNorm().

static Bool_t Scanner::TestFile ( const TString name,
const char *  pattern = 0 
)
inlinestatic

Test if we can open a file

Parameters
nameName of file
patternPattern to check against
Returns
True on success

Definition at line 61 of file MigrateOADB.C.

Referenced by ScanDirectory().


The documentation for this struct was generated from the following file: