ROOT  6.06/09
Reference Guide
Functions | Variables
TDCacheFile.cxx File Reference
#include "TDCacheFile.h"
#include "TError.h"
#include "TSystem.h"
#include "TROOT.h"
#include <cstdlib>
#include <errno.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <dcap.h>
#include <unistd.h>
+ Include dependency graph for TDCacheFile.cxx:

Go to the source code of this file.

Functions

 ClassImp (TDCacheFile) TDCacheFile
 Create a dCache file object. More...
 

Variables

static const char *const DCACHE_PREFIX = "dcache:"
 
static const size_t DCACHE_PREFIX_LEN = strlen(DCACHE_PREFIX)
 
static const char *const DCAP_PREFIX = "dcap:"
 
static const size_t DCAP_PREFIX_LEN = strlen(DCAP_PREFIX)
 

Function Documentation

ClassImp ( TDCacheFile  )

Create a dCache file object.

A dCache file is the same as a TFile except that it is being accessed via a dCache server. The url argument must be of the form: dcache:/pnfs/ <path>/<file>.root or dcap://<nodename.org>/ <path>/<file>.root. If the file specified in the URL does not exist, is not accessable or can not be created the kZombie bit will be set in the TDCacheFile object. Use IsZombie() to see if the file is accessable. For a description of the option and other arguments see the TFile ctor. The preferred interface to this constructor is via TFile::Open().

Definition at line 56 of file TDCacheFile.cxx.

Variable Documentation

const char* const DCACHE_PREFIX = "dcache:"
static

Definition at line 50 of file TDCacheFile.cxx.

Referenced by ClassImp(), and TDCacheFile::GetDcapPath().

const size_t DCACHE_PREFIX_LEN = strlen(DCACHE_PREFIX)
static

Definition at line 51 of file TDCacheFile.cxx.

Referenced by TDCacheFile::GetDcapPath().

const char* const DCAP_PREFIX = "dcap:"
static

Definition at line 52 of file TDCacheFile.cxx.

Referenced by ClassImp().

const size_t DCAP_PREFIX_LEN = strlen(DCAP_PREFIX)
static

Definition at line 53 of file TDCacheFile.cxx.

Referenced by ClassImp().