#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 (const char *, Bool_t) | |
TStorageFactorySystem (void) | |
virtual int | Unlink (const char *name) |
~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 | ( | const char * | , |
Bool_t | |||
) |
TStorageFactorySystem::TStorageFactorySystem | ( | void | ) |
Definition at line 12 of file TStorageFactorySystem.cc.
: TSystem("-StorageFactory", "Storage Factory System"), fDirp(0) { SetName("StorageFactory"); }
TStorageFactorySystem::~TStorageFactorySystem | ( | void | ) |
Definition at line 17 of file TStorageFactorySystem.cc.
{}
Bool_t TStorageFactorySystem::AccessPathName | ( | const char * | path, |
EAccessMode | mode | ||
) | [virtual] |
Definition at line 51 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 38 of file TStorageFactorySystem.cc.
{ Error("FreeDirectory", "Unsupported"); }
const char * TStorageFactorySystem::GetDirEntry | ( | void * | dirp | ) | [virtual] |
Definition at line 44 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 65 of file TStorageFactorySystem.cc.
References CastorDataFrameFilter_impl::check(), and StorageFactory::get().
Int_t TStorageFactorySystem::MakeDirectory | ( | const char * | name | ) | [virtual] |
Definition at line 24 of file TStorageFactorySystem.cc.
{ Error("MakeDirectory", "Unsupported"); return -1; }
void * TStorageFactorySystem::OpenDirectory | ( | const char * | name | ) | [virtual] |
Definition at line 31 of file TStorageFactorySystem.cc.
{ Error("OpenDirectory", "Unsupported"); return 0; }
Int_t TStorageFactorySystem::Unlink | ( | const char * | name | ) | [virtual] |
Definition at line 58 of file TStorageFactorySystem.cc.
{ Error("Unlink", "Unsupported"); return 1; }
void* TStorageFactorySystem::fDirp [private] |
Definition at line 13 of file TStorageFactorySystem.h.
Referenced by GetDirPt().