AliPhysics  a56b849 (a56b849)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 

Scan data directory for files matching pattern

datadirPath to data directory
patternFile name match pattern
recursiveRecurse flag
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 

Test if we can open a file

nameName of file
patternPattern to check against
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: