ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TDCacheSystem Class Reference

Definition at line 85 of file TDCacheFile.h.

Public Member Functions

 TDCacheSystem ()
 Create helper class that allows directory access via dCache. More...
 
virtual ~TDCacheSystem ()
 
Int_t MakeDirectory (const char *name)
 Create a directory. More...
 
voidOpenDirectory (const char *name)
 Open a directory. More...
 
void FreeDirectory (void *dirp)
 Close a directory. More...
 
const char * GetDirEntry (void *dirp)
 Get a directory entry. More...
 
Int_t GetPathInfo (const char *path, FileStat_t &buf)
 Get info about a file. More...
 
Bool_t AccessPathName (const char *path, EAccessMode mode)
 Returns FALSE if one can access a file using the specified access mode. More...
 
- Public Member Functions inherited from TSystem
 TSystem (const char *name="Generic", const char *title="Generic System")
 Create a new OS interface. More...
 
virtual ~TSystem ()
 Delete the OS interface. More...
 
virtual Bool_t Init ()
 Initialize the OS interface. More...
 
virtual void SetProgname (const char *name)
 Set the application name (from command line, argv[0]) and copy it in gProgName. More...
 
virtual void SetDisplay ()
 Set DISPLAY environment variable based on utmp entry. Only for UNIX. More...
 
void SetErrorStr (const char *errstr)
 Set the system error string. More...
 
const char * GetErrorStr () const
 
virtual const char * GetError ()
 Return system error string. More...
 
void RemoveOnExit (TObject *obj)
 Objects that should be deleted on exit of the OS interface. More...
 
virtual const char * HostName ()
 Return the system's host name. More...
 
virtual void NotifyApplicationCreated ()
 Hook to tell TSystem that the TApplication object has been created. More...
 
void Beep (Int_t freq=-1, Int_t duration=-1, Bool_t setDefault=kFALSE)
 Beep for duration milliseconds with a tone of frequency freq. More...
 
void GetBeepDefaults (Int_t &freq, Int_t &duration) const
 
virtual void Run ()
 System event loop. More...
 
virtual Bool_t ProcessEvents ()
 Process pending events (GUI, timers, sockets). More...
 
virtual void DispatchOneEvent (Bool_t pendingOnly=kFALSE)
 Dispatch a single event. More...
 
virtual void ExitLoop ()
 Exit from event loop. More...
 
Bool_t InControl () const
 
virtual void InnerLoop ()
 Inner event loop. More...
 
virtual Int_t Select (TList *active, Long_t timeout)
 Select on active file descriptors (called by TMonitor). More...
 
virtual Int_t Select (TFileHandler *fh, Long_t timeout)
 Select on active file descriptors (called by TMonitor). More...
 
virtual void AddSignalHandler (TSignalHandler *sh)
 Add a signal handler to list of system signal handlers. More...
 
virtual TSignalHandlerRemoveSignalHandler (TSignalHandler *sh)
 Remove a signal handler from list of signal handlers. More...
 
virtual void ResetSignal (ESignals sig, Bool_t reset=kTRUE)
 If reset is true reset the signal handler for the specified signal to the default handler, else restore previous behaviour. More...
 
virtual void ResetSignals ()
 Reset signals handlers to previous behaviour. More...
 
virtual void IgnoreSignal (ESignals sig, Bool_t ignore=kTRUE)
 If ignore is true ignore the specified signal, else restore previous behaviour. More...
 
virtual void IgnoreInterrupt (Bool_t ignore=kTRUE)
 If ignore is true ignore the interrupt signal, else restore previous behaviour. More...
 
virtual TSeqCollectionGetListOfSignalHandlers () const
 
virtual void AddFileHandler (TFileHandler *fh)
 Add a file handler to the list of system file handlers. More...
 
virtual TFileHandlerRemoveFileHandler (TFileHandler *fh)
 Remove a file handler from the list of file handlers. More...
 
virtual TSeqCollectionGetListOfFileHandlers () const
 
virtual void AddStdExceptionHandler (TStdExceptionHandler *eh)
 Add an exception handler to list of system exception handlers. More...
 
virtual TStdExceptionHandlerRemoveStdExceptionHandler (TStdExceptionHandler *eh)
 Remove an exception handler from list of exception handlers. More...
 
virtual TSeqCollectionGetListOfStdExceptionHandlers () const
 
virtual Int_t GetFPEMask ()
 Return the bitmap of conditions that trigger a floating point exception. More...
 
virtual Int_t SetFPEMask (Int_t mask=kDefaultMask)
 Set which conditions trigger a floating point exception. More...
 
virtual TTime Now ()
 Get current time in milliseconds since 0:00 Jan 1 1995. More...
 
virtual TSeqCollectionGetListOfTimers () const
 
virtual void AddTimer (TTimer *t)
 Add timer to list of system timers. More...
 
virtual TTimerRemoveTimer (TTimer *t)
 Remove timer from list of system timers. More...
 
virtual void ResetTimer (TTimer *)
 
virtual Long_t NextTimeOut (Bool_t mode)
 Time when next timer of mode (synchronous=kTRUE or asynchronous=kFALSE) will time-out (in ms). More...
 
virtual void Sleep (UInt_t milliSec)
 Sleep milliSec milli seconds. More...
 
virtual Int_t Exec (const char *shellcmd)
 Execute a command. More...
 
virtual FILE * OpenPipe (const char *command, const char *mode)
 Open a pipe. More...
 
virtual int ClosePipe (FILE *pipe)
 Close the pipe. More...
 
virtual TString GetFromPipe (const char *command)
 Execute command and return output in TString. More...
 
virtual void Exit (int code, Bool_t mode=kTRUE)
 Exit the application. More...
 
virtual void Abort (int code=0)
 Abort the application. More...
 
virtual int GetPid ()
 Get process id. More...
 
virtual void StackTrace ()
 Print a stack trace. More...
 
virtual Bool_t ChangeDirectory (const char *path)
 Change directory. More...
 
virtual const char * WorkingDirectory ()
 Return working directory. More...
 
virtual const char * HomeDirectory (const char *userName=0)
 Return the user's home directory. More...
 
virtual int mkdir (const char *name, Bool_t recursive=kFALSE)
 Make a file system directory. More...
 
Bool_t cd (const char *path)
 
const char * pwd ()
 
virtual const char * TempDirectory () const
 Return a user configured or systemwide directory to create temporary files in. More...
 
virtual FILE * TempFileName (TString &base, const char *dir=0)
 Create a secure temporary file by appending a unique 6 letter string to base. More...
 
virtual const char * BaseName (const char *pathname)
 Base name of a file name. Base name of /user/root is root. More...
 
virtual const char * DirName (const char *pathname)
 Return the directory name in pathname. More...
 
virtual char * ConcatFileName (const char *dir, const char *name)
 Concatenate a directory and a file name. User must delete returned string. More...
 
virtual Bool_t IsAbsoluteFileName (const char *dir)
 Return true if dir is an absolute pathname. More...
 
virtual Bool_t IsFileInIncludePath (const char *name, char **fullpath=0)
 Return true if 'name' is a file that can be found in the ROOT include path or the current directory. More...
 
virtual const char * PrependPathName (const char *dir, TString &name)
 Concatenate a directory and a file name. More...
 
virtual Bool_t ExpandPathName (TString &path)
 Expand a pathname getting rid of special shell characters like ~. More...
 
virtual char * ExpandPathName (const char *path)
 Expand a pathname getting rid of special shell characters like ~. More...
 
virtual Bool_t IsPathLocal (const char *path)
 Returns TRUE if the url in 'path' points to the local file system. More...
 
virtual int CopyFile (const char *from, const char *to, Bool_t overwrite=kFALSE)
 Copy a file. More...
 
virtual int Rename (const char *from, const char *to)
 Rename a file. More...
 
virtual int Link (const char *from, const char *to)
 Create a link from file1 to file2. More...
 
virtual int Symlink (const char *from, const char *to)
 Create a symbolic link from file1 to file2. More...
 
virtual int Unlink (const char *name)
 Unlink, i.e. remove, a file. More...
 
int GetPathInfo (const char *path, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime)
 Get info about a file: id, size, flags, modification time. More...
 
int GetPathInfo (const char *path, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime)
 Get info about a file: id, size, flags, modification time. More...
 
virtual int GetFsInfo (const char *path, Long_t *id, Long_t *bsize, Long_t *blocks, Long_t *bfree)
 Get info about a file system: fs type, block size, number of blocks, number of free blocks. More...
 
virtual int Chmod (const char *file, UInt_t mode)
 Set the file permission bits. Returns -1 in case or error, 0 otherwise. More...
 
virtual int Umask (Int_t mask)
 Set the process file creation mode mask. More...
 
virtual int Utime (const char *file, Long_t modtime, Long_t actime)
 Set the a files modification and access times. More...
 
virtual const char * UnixPathName (const char *unixpathname)
 Convert from a Unix pathname to a local pathname. More...
 
virtual const char * FindFile (const char *search, TString &file, EAccessMode mode=kFileExists)
 Find location of file in a search path. More...
 
virtual char * Which (const char *search, const char *file, EAccessMode mode=kFileExists)
 Find location of file in a search path. More...
 
virtual TListGetVolumes (Option_t *) const
 
virtual Int_t GetUid (const char *user=0)
 Returns the user's id. If user = 0, returns current user's id. More...
 
virtual Int_t GetGid (const char *group=0)
 Returns the group's id. If group = 0, returns current user's group. More...
 
virtual Int_t GetEffectiveUid ()
 Returns the effective user id. More...
 
virtual Int_t GetEffectiveGid ()
 Returns the effective group id. More...
 
virtual UserGroup_tGetUserInfo (Int_t uid)
 Returns all user info in the UserGroup_t structure. More...
 
virtual UserGroup_tGetUserInfo (const char *user=0)
 Returns all user info in the UserGroup_t structure. More...
 
virtual UserGroup_tGetGroupInfo (Int_t gid)
 Returns all group info in the UserGroup_t structure. More...
 
virtual UserGroup_tGetGroupInfo (const char *group=0)
 Returns all group info in the UserGroup_t structure. More...
 
virtual void Setenv (const char *name, const char *value)
 Set environment variable. More...
 
virtual void Unsetenv (const char *name)
 Unset environment variable. More...
 
virtual const char * Getenv (const char *env)
 Get environment variable. More...
 
virtual void Openlog (const char *name, Int_t options, ELogFacility facility)
 Open connection to system log daemon. More...
 
virtual void Syslog (ELogLevel level, const char *mess)
 Send mess to syslog daemon. More...
 
virtual void Closelog ()
 Close connection to system log daemon. More...
 
virtual Int_t RedirectOutput (const char *name, const char *mode="a", RedirectHandle_t *h=0)
 Redirect standard output (stdout, stderr) to the specified file. More...
 
virtual void ShowOutput (RedirectHandle_t *h)
 Display the content associated with the redirection described by the opaque handle 'h'. More...
 
virtual void AddDynamicPath (const char *pathname)
 Add a new directory to the dynamic path. More...
 
virtual const char * GetDynamicPath ()
 Return the dynamic path (used to find shared libraries). More...
 
virtual void SetDynamicPath (const char *pathname)
 Set the dynamic path to a new value. More...
 
char * DynamicPathName (const char *lib, Bool_t quiet=kFALSE)
 Find a dynamic library called lib using the system search paths. More...
 
virtual const char * FindDynamicLibrary (TString &lib, Bool_t quiet=kFALSE)
 Find a dynamic library using the system search paths. More...
 
virtual Func_t DynFindSymbol (const char *module, const char *entry)
 Find specific entry point in specified library. More...
 
virtual int Load (const char *module, const char *entry="", Bool_t system=kFALSE)
 Load a shared library. More...
 
virtual void Unload (const char *module)
 Unload a shared library. More...
 
virtual void ListSymbols (const char *module, const char *re="")
 List symbols in a shared library. More...
 
virtual void ListLibraries (const char *regexp="")
 List all loaded shared libraries. More...
 
virtual const char * GetLibraries (const char *regexp="", const char *option="", Bool_t isRegexp=kTRUE)
 Return a space separated list of loaded shared libraries. More...
 
virtual TInetAddress GetHostByName (const char *server)
 Get Internet Protocol (IP) address of host. More...
 
virtual TInetAddress GetPeerName (int sock)
 Get Internet Protocol (IP) address of remote host and port #. More...
 
virtual TInetAddress GetSockName (int sock)
 Get Internet Protocol (IP) address of host and port #. More...
 
virtual int GetServiceByName (const char *service)
 Get port # of internet service. More...
 
virtual char * GetServiceByPort (int port)
 Get name of internet service. More...
 
virtual int OpenConnection (const char *server, int port, int tcpwindowsize=-1, const char *protocol="tcp")
 Open a connection to another host. More...
 
virtual int AnnounceTcpService (int port, Bool_t reuse, int backlog, int tcpwindowsize=-1)
 Announce TCP/IP service. More...
 
virtual int AnnounceUdpService (int port, int backlog)
 Announce UDP service. More...
 
virtual int AnnounceUnixService (int port, int backlog)
 Announce unix domain service. More...
 
virtual int AnnounceUnixService (const char *sockpath, int backlog)
 Announce unix domain service. More...
 
virtual int AcceptConnection (int sock)
 Accept a connection. More...
 
virtual void CloseConnection (int sock, Bool_t force=kFALSE)
 Close socket connection. More...
 
virtual int RecvRaw (int sock, void *buffer, int length, int flag)
 Receive exactly length bytes into buffer. More...
 
virtual int SendRaw (int sock, const void *buffer, int length, int flag)
 Send exactly length bytes from buffer. More...
 
virtual int RecvBuf (int sock, void *buffer, int length)
 Receive a buffer headed by a length indicator. More...
 
virtual int SendBuf (int sock, const void *buffer, int length)
 Send a buffer headed by a length indicator. More...
 
virtual int SetSockOpt (int sock, int kind, int val)
 Set socket option. More...
 
virtual int GetSockOpt (int sock, int kind, int *val)
 Get socket option. More...
 
virtual int GetSysInfo (SysInfo_t *info) const
 Returns static system info, like OS type, CPU type, number of CPUs RAM size, etc into the SysInfo_t structure. More...
 
virtual int GetCpuInfo (CpuInfo_t *info, Int_t sampleTime=1000) const
 Returns cpu load average and load info into the CpuInfo_t structure. More...
 
virtual int GetMemInfo (MemInfo_t *info) const
 Returns ram and swap memory usage info into the MemInfo_t structure. More...
 
virtual int GetProcInfo (ProcInfo_t *info) const
 Returns cpu and memory used by this process into the ProcInfo_t structure. More...
 
virtual void AddIncludePath (const char *includePath)
 Add includePath to the already set include path. More...
 
virtual void AddLinkedLibs (const char *linkedLib)
 Add linkedLib to already set linked libs. More...
 
virtual int CompileMacro (const char *filename, Option_t *opt="", const char *library_name="", const char *build_dir="", UInt_t dirmode=0)
 This method compiles and loads a shared library containing the code from the file "filename". More...
 
virtual Int_t GetAclicProperties () const
 Return the ACLiC properties field. More...
 
virtual const char * GetBuildArch () const
 Return the build architecture. More...
 
virtual const char * GetBuildCompiler () const
 Return the build compiler. More...
 
virtual const char * GetBuildCompilerVersion () const
 Return the build compiler version. More...
 
virtual const char * GetBuildNode () const
 Return the build node name. More...
 
virtual const char * GetBuildDir () const
 Return the path of the build directory. More...
 
virtual const char * GetFlagsDebug () const
 Return the debug flags. More...
 
virtual const char * GetFlagsOpt () const
 Return the optimization flags. More...
 
virtual const char * GetIncludePath ()
 Get the list of include path. More...
 
virtual const char * GetLinkedLibs () const
 Return the list of library linked to this executable. More...
 
virtual const char * GetLinkdefSuffix () const
 Return the linkdef suffix chosen by the user for ACLiC. More...
 
virtual EAclicMode GetAclicMode () const
 AclicMode indicates whether the library should be built in debug mode or optimized. More...
 
virtual const char * GetMakeExe () const
 Return the command line use to make an executable. More...
 
virtual const char * GetMakeSharedLib () const
 Return the command line use to make a shared library. More...
 
virtual const char * GetSoExt () const
 Get the shared library extension. More...
 
virtual const char * GetObjExt () const
 Get the object file extension. More...
 
virtual void SetBuildDir (const char *build_dir, Bool_t isflat=kFALSE)
 Set the location where ACLiC will create libraries and use as a scratch area. More...
 
virtual void SetFlagsDebug (const char *)
 FlagsDebug should contain the options to pass to the C++ compiler in order to compile the library in debug mode. More...
 
virtual void SetFlagsOpt (const char *)
 FlagsOpt should contain the options to pass to the C++ compiler in order to compile the library in optimized mode. More...
 
virtual void SetIncludePath (const char *includePath)
 IncludePath should contain the list of compiler flags to indicate where to find user defined header files. More...
 
virtual void SetMakeExe (const char *directives)
 Directives has the same syntax as the argument of SetMakeSharedLib but is used to create an executable. More...
 
virtual void SetAclicMode (EAclicMode mode)
 AclicMode indicates whether the library should be built in debug mode or optimized. More...
 
virtual void SetMakeSharedLib (const char *directives)
 Directives should contain the description on how to compile and link a shared lib. More...
 
virtual void SetLinkedLibs (const char *linkedLibs)
 LinkedLibs should contain the library directory and list of libraries needed to recreate the current executable. More...
 
virtual void SetLinkdefSuffix (const char *suffix)
 The 'suffix' will be appended to the name of a script loaded by ACLiC and used to locate any eventual additional linkdef information that ACLiC should used to produce the dictionary. More...
 
virtual void SetSoExt (const char *soExt)
 Set shared library extension, should be either .so, .sl, .a, .dll, etc. More...
 
virtual void SetObjExt (const char *objExt)
 Set object files extension, should be either .o, .obj, etc. More...
 
virtual TString SplitAclicMode (const char *filename, TString &mode, TString &args, TString &io) const
 This method split a filename of the form: ~~~ {.cpp} [path/]macro.C[+|++[k|f|g|O|c|s|d|v|-]][(args)]. More...
 
virtual void CleanCompiledMacros ()
 Remove the shared libs produced by the CompileMacro() function. More...
 
- Public Member Functions inherited from TNamed
 TNamed ()
 
 TNamed (const char *name, const char *title)
 
 TNamed (const TString &name, const TString &title)
 
 TNamed (const TNamed &named)
 
TNamedoperator= (const TNamed &rhs)
 TNamed assignment operator. More...
 
virtual ~TNamed ()
 
virtual void Clear (Option_t *option="")
 Set name and title to empty strings (""). More...
 
virtual TObjectClone (const char *newname="") const
 Make a clone of an object using the Streamer facility. More...
 
virtual Int_t Compare (const TObject *obj) const
 Compare two TNamed objects. More...
 
virtual void Copy (TObject &named) const
 Copy this to obj. More...
 
virtual void FillBuffer (char *&buffer)
 Encode TNamed into output buffer. More...
 
virtual const char * GetName () const
 Returns name of object. More...
 
virtual const char * GetTitle () const
 Returns title of object. More...
 
virtual ULong_t Hash () const
 Return hash value for this object. More...
 
virtual Bool_t IsSortable () const
 
virtual void SetName (const char *name)
 Change (i.e. More...
 
virtual void SetNameTitle (const char *name, const char *title)
 Change (i.e. set) all the TNamed parameters (name and title). More...
 
virtual void SetTitle (const char *title="")
 Change (i.e. set) the title of the TNamed. More...
 
virtual void ls (Option_t *option="") const
 List TNamed name and title. More...
 
virtual void Print (Option_t *option="") const
 Print TNamed name and title. More...
 
virtual Int_t Sizeof () const
 Return size of the TNamed part of the TObject. More...
 
- Public Member Functions inherited from TObject
 TObject ()
 
 TObject (const TObject &object)
 TObject copy ctor. More...
 
TObjectoperator= (const TObject &rhs)
 TObject assignment operator. More...
 
virtual ~TObject ()
 TObject destructor. More...
 
virtual void AppendPad (Option_t *option="")
 Append graphics object to current pad. More...
 
virtual void Browse (TBrowser *b)
 Browse object. May be overridden for another default action. More...
 
virtual const char * ClassName () const
 Returns name of class to which the object belongs. More...
 
virtual void Delete (Option_t *option="")
 Delete this object. More...
 
virtual Int_t DistancetoPrimitive (Int_t px, Int_t py)
 Computes distance from point (px,py) to the object. More...
 
virtual void Draw (Option_t *option="")
 Default Draw method for all objects. More...
 
virtual void DrawClass () const
 Draw class inheritance tree of the class to which this object belongs. More...
 
virtual TObjectDrawClone (Option_t *option="") const
 Draw a clone of this object in the current pad. More...
 
virtual void Dump () const
 Dump contents of object on stdout. More...
 
virtual void Execute (const char *method, const char *params, Int_t *error=0)
 Execute method on this object with the given parameter string, e.g. More...
 
virtual void Execute (TMethod *method, TObjArray *params, Int_t *error=0)
 Execute method on this object with parameters stored in the TObjArray. More...
 
virtual void ExecuteEvent (Int_t event, Int_t px, Int_t py)
 Execute action corresponding to an event at (px,py). More...
 
virtual TObjectFindObject (const char *name) const
 Must be redefined in derived classes. More...
 
virtual TObjectFindObject (const TObject *obj) const
 Must be redefined in derived classes. More...
 
virtual Option_tGetDrawOption () const
 Get option used by the graphics system to draw this object. More...
 
virtual UInt_t GetUniqueID () const
 Return the unique object id. More...
 
virtual const char * GetIconName () const
 Returns mime type name of object. More...
 
virtual Option_tGetOption () const
 
virtual char * GetObjectInfo (Int_t px, Int_t py) const
 Returns string containing info about the object at position (px,py). More...
 
virtual Bool_t HandleTimer (TTimer *timer)
 Execute action in response of a timer timing out. More...
 
virtual Bool_t InheritsFrom (const char *classname) const
 Returns kTRUE if object inherits from class "classname". More...
 
virtual Bool_t InheritsFrom (const TClass *cl) const
 Returns kTRUE if object inherits from TClass cl. More...
 
virtual void Inspect () const
 Dump contents of this object in a graphics canvas. More...
 
virtual Bool_t IsFolder () const
 Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More...
 
virtual Bool_t IsEqual (const TObject *obj) const
 Default equal comparison (objects are equal if they have the same address in memory). More...
 
Bool_t IsOnHeap () const
 
Bool_t IsZombie () const
 
virtual Bool_t Notify ()
 This method must be overridden to handle object notification. More...
 
virtual void Paint (Option_t *option="")
 This method must be overridden if a class wants to paint itself. More...
 
virtual void Pop ()
 Pop on object drawn in a pad to the top of the display list. More...
 
virtual Int_t Read (const char *name)
 Read contents of object with specified name from the current directory. More...
 
virtual void RecursiveRemove (TObject *obj)
 Recursively remove this object from a list. More...
 
virtual void SaveAs (const char *filename="", Option_t *option="") const
 Save this object in the file specified by filename. More...
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 Save a primitive as a C++ statement(s) on output stream "out". More...
 
virtual void SetDrawOption (Option_t *option="")
 Set drawing option for object. More...
 
virtual void SetUniqueID (UInt_t uid)
 Set the unique object id. More...
 
virtual void UseCurrentStyle ()
 Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 Write this object to the current directory. More...
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 Write this object to the current directory. More...
 
voidoperator new (size_t sz)
 
voidoperator new[] (size_t sz)
 
voidoperator new (size_t sz, void *vp)
 
voidoperator new[] (size_t sz, void *vp)
 
void operator delete (void *ptr)
 Operator delete. More...
 
void operator delete[] (void *ptr)
 Operator delete []. More...
 
void SetBit (UInt_t f, Bool_t set)
 Set or unset the user status bits as specified in f. More...
 
void SetBit (UInt_t f)
 
void ResetBit (UInt_t f)
 
Bool_t TestBit (UInt_t f) const
 
Int_t TestBits (UInt_t f) const
 
void InvertBit (UInt_t f)
 
virtual void Info (const char *method, const char *msgfmt,...) const
 Issue info message. More...
 
virtual void Warning (const char *method, const char *msgfmt,...) const
 Issue warning message. More...
 
virtual void Error (const char *method, const char *msgfmt,...) const
 Issue error message. More...
 
virtual void SysError (const char *method, const char *msgfmt,...) const
 Issue system error message. More...
 
virtual void Fatal (const char *method, const char *msgfmt,...) const
 Issue fatal error message. More...
 
void AbstractMethod (const char *method) const
 Use this method to implement an "abstract" method that you don't want to leave purely abstract. More...
 
void MayNotUse (const char *method) const
 Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More...
 
void Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const
 Use this method to declare a method obsolete. More...
 

Private Member Functions

voidGetDirPtr () const
 

Private Attributes

voidfDirp
 directory handler More...
 

Additional Inherited Members

- Public Types inherited from TSystem
enum  EAclicMode { kDefault, kDebug, kOpt }
 
enum  EAclicProperties { kFlatBuildDir = BIT(0) }
 
- Public Types inherited from TObject
enum  EStatusBits {
  kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4),
  kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13)
}
 
enum  { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff }
 
enum  { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) }
 
- Static Public Member Functions inherited from TSystem
static Int_t GetErrno ()
 Static function returning system error number. More...
 
static void ResetErrno ()
 Static function resetting system error number. More...
 
- Static Public Member Functions inherited from TObject
static Long_t GetDtorOnly ()
 Return destructor only flag. More...
 
static void SetDtorOnly (void *obj)
 Set destructor only flag. More...
 
static Bool_t GetObjectStat ()
 Get status of object stat flag. More...
 
static void SetObjectStat (Bool_t stat)
 Turn on/off tracking of objects in the TObjectTable. More...
 
- Protected Member Functions inherited from TSystem
TStringGetLastErrorString ()
 Return the thread local storage for the custom last error message. More...
 
const TStringGetLastErrorString () const
 Return the thread local storage for the custom last error message. More...
 
TSystemFindHelper (const char *path, void *dirptr=0)
 Create helper TSystem to handle file and directory operations that might be special for remote file access, like via rfiod or rootd. More...
 
virtual Bool_t ConsistentWith (const char *path, void *dirptr=0)
 Check consistency of this helper with the one required by 'path' or 'dirptr'. More...
 
virtual const char * ExpandFileName (const char *fname)
 Expand a pathname getting rid of special shell characters like ~. More...
 
virtual void SigAlarmInterruptsSyscalls (Bool_t)
 
virtual const char * GetLinkedLibraries ()
 Get list of shared libraries loaded at the start of the executable. More...
 
virtual void DoBeep (Int_t=-1, Int_t=-1) const
 
- Protected Member Functions inherited from TObject
void MakeZombie ()
 
virtual void DoError (int level, const char *location, const char *fmt, va_list va) const
 Interface to ErrorHandler (protected). More...
 
- Static Protected Member Functions inherited from TSystem
static const char * StripOffProto (const char *path, const char *proto)
 
- Protected Attributes inherited from TSystem
TFdSet * fReadmask
 
TFdSet * fWritemask
 Files that should be checked for read events. More...
 
TFdSet * fReadready
 Files that should be checked for write events. More...
 
TFdSet * fWriteready
 Files with reads waiting. More...
 
TFdSet * fSignals
 Files with writes waiting. More...
 
Int_t fNfd
 Signals that were trapped. More...
 
Int_t fMaxrfd
 
Int_t fMaxwfd
 
Int_t fSigcnt
 
TString fWdpath
 
TString fHostname
 
Bool_t fInsideNotify
 
Int_t fBeepFreq
 
Int_t fBeepDuration
 
Bool_t fInControl
 
Bool_t fDone
 
Int_t fLevel
 
TSeqCollectionfTimers
 
TSeqCollectionfSignalHandler
 
TSeqCollectionfFileHandler
 
TSeqCollectionfStdExceptionHandler
 
TSeqCollectionfOnExitList
 
TString fListLibs
 
TString fBuildArch
 
TString fBuildCompiler
 
TString fBuildCompilerVersion
 
TString fBuildNode
 
TString fBuildDir
 
TString fFlagsDebug
 
TString fFlagsOpt
 
TString fListPaths
 
TString fIncludePath
 
TString fLinkedLibs
 
TString fSoExt
 
TString fObjExt
 
EAclicMode fAclicMode
 
TString fMakeSharedLib
 
TString fMakeExe
 
TString fLinkdefSuffix
 
Int_t fAclicProperties
 
TSeqCollectionfCompiled
 
TSeqCollectionfHelpers
 
- Protected Attributes inherited from TNamed
TString fName
 
TString fTitle
 

#include <TDCacheFile.h>

Inheritance diagram for TDCacheSystem:
[legend]

Constructor & Destructor Documentation

TDCacheSystem::TDCacheSystem ( )

Create helper class that allows directory access via dCache.

Definition at line 609 of file TDCacheFile.cxx.

virtual TDCacheSystem::~TDCacheSystem ( )
inlinevirtual

Definition at line 94 of file TDCacheFile.h.

Member Function Documentation

Bool_t TDCacheSystem::AccessPathName ( const char *  path,
EAccessMode  mode 
)
virtual

Returns FALSE if one can access a file using the specified access mode.

Mode is the same as for the Unix access(2) function. Attention, bizarre convention of return value!!

Reimplemented from TSystem.

Definition at line 694 of file TDCacheFile.cxx.

void TDCacheSystem::FreeDirectory ( void dirp)
virtual

Close a directory.

Reimplemented from TSystem.

Definition at line 657 of file TDCacheFile.cxx.

const char * TDCacheSystem::GetDirEntry ( void dirp)
virtual

Get a directory entry.

Reimplemented from TSystem.

Definition at line 675 of file TDCacheFile.cxx.

void* TDCacheSystem::GetDirPtr ( ) const
inlineprivatevirtual

Reimplemented from TSystem.

Definition at line 90 of file TDCacheFile.h.

int TDCacheSystem::GetPathInfo ( const char *  path,
FileStat_t buf 
)
virtual

Get info about a file.

Info is returned in the form of a FileStat_t structure (see TSystem.h). The function returns 0 in case of success and 1 if the file could not be stat'ed.

Reimplemented from TSystem.

Definition at line 708 of file TDCacheFile.cxx.

int TDCacheSystem::MakeDirectory ( const char *  name)
virtual

Create a directory.

Reimplemented from TSystem.

Definition at line 620 of file TDCacheFile.cxx.

void * TDCacheSystem::OpenDirectory ( const char *  name)
virtual

Open a directory.

Reimplemented from TSystem.

Definition at line 639 of file TDCacheFile.cxx.

Member Data Documentation

void* TDCacheSystem::fDirp
private

directory handler

Definition at line 88 of file TDCacheFile.h.

Referenced by FreeDirectory(), GetDirPtr(), OpenDirectory(), and TDCacheSystem().

Collaboration diagram for TDCacheSystem:
[legend]

The documentation for this class was generated from the following files: