#include <TStorageFactorySystem.h>
Public Member Functions | |
virtual Bool_t | AccessPathName (const char *path, EAccessMode mode) |
ClassDef (TStorageFactorySystem, 0) | |
virtual void | FreeDirectory (void *dirp) |
virtual const char * | GetDirEntry (void *dirp) |
virtual Int_t | GetPathInfo (const char *path, FileStat_t &info) |
virtual Int_t | MakeDirectory (const char *name) |
virtual void * | OpenDirectory (const char *name) |
TStorageFactorySystem (void) | |
~TStorageFactorySystem (void) | |
Private Member Functions | |
void * | GetDirPt (void) const |
Private Attributes | |
void * | fDirp |
TSystem wrapper around StorageFactory and CMS Storage. This class is a blatant copy of TDCacheSystem.
Definition at line 10 of file TStorageFactorySystem.h.
TStorageFactorySystem::TStorageFactorySystem | ( | void | ) |
TStorageFactorySystem::~TStorageFactorySystem | ( | void | ) |
Definition at line 11 of file TStorageFactorySystem.cc.
{}
Bool_t TStorageFactorySystem::AccessPathName | ( | const char * | path, |
EAccessMode | mode | ||
) | [virtual] |
Definition at line 45 of file TStorageFactorySystem.cc.
References reco::get().
{ // NB: This return reverse of check(): kTRUE if access *fails* return name ? !StorageFactory::get()->check(name) : kTRUE; }
TStorageFactorySystem::ClassDef | ( | TStorageFactorySystem | , |
0 | |||
) |
void TStorageFactorySystem::FreeDirectory | ( | void * | dirp | ) | [virtual] |
Definition at line 32 of file TStorageFactorySystem.cc.
{ Error("FreeDirectory", "Unsupported"); }
const char * TStorageFactorySystem::GetDirEntry | ( | void * | dirp | ) | [virtual] |
Definition at line 38 of file TStorageFactorySystem.cc.
{ Error("GetDirEntry", "Unsupported"); return 0; }
void* TStorageFactorySystem::GetDirPt | ( | void | ) | const [inline, private] |
Int_t TStorageFactorySystem::GetPathInfo | ( | const char * | path, |
FileStat_t & | info | ||
) | [virtual] |
Definition at line 52 of file TStorageFactorySystem.cc.
References CastorDataFrameFilter_impl::check(), and StorageFactory::get().
Int_t TStorageFactorySystem::MakeDirectory | ( | const char * | name | ) | [virtual] |
Definition at line 18 of file TStorageFactorySystem.cc.
{ Error("MakeDirectory", "Unsupported"); return -1; }
void * TStorageFactorySystem::OpenDirectory | ( | const char * | name | ) | [virtual] |
Definition at line 25 of file TStorageFactorySystem.cc.
{ Error("OpenDirectory", "Unsupported"); return 0; }
void* TStorageFactorySystem::fDirp [private] |
Definition at line 13 of file TStorageFactorySystem.h.
Referenced by GetDirPt().