TRFIOFile
class description - source file - inheritance tree
private:
TRFIOFile TRFIOFile()
virtual Int_t SysClose(Int_t fd)
virtual Int_t SysOpen(char* pathname, Int_t flags, UInt_t mode)
virtual Int_t SysRead(Int_t fd, void* buf, Int_t len)
virtual Seek_t SysSeek(Int_t fd, Seek_t offset, Int_t whence)
virtual Int_t SysSync(Int_t)
virtual Int_t SysWrite(Int_t fd, void* buf, Int_t len)
public:
TRFIOFile TRFIOFile(char* url, Option_t* option, Text_t* ftitle, Int_t compress = 1)
virtual void ~TRFIOFile()
TClass* Class()
virtual TClass* IsA()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
private:
TUrl fUrl URL of file
Seek_t fOffset seek offet
TRFIOFile
A TRFIOFile is like a normal TFile except that it reads and writes
its data via a rfiod server (for more on the rfiod daemon see
http://wwwinfo.cern.ch/pdp/serv/shift.html). TRFIOFile file names
are in standard URL format with protocol "rfio". The following are
valid TRFIOFile URL's:
rfio:/afs/cern.ch/user/r/rdm/galice.root
where galice.root is a symlink of the type /shift/.../...
rfio:na49db1:/data1/raw.root
TRFIOFile(const char *url, Option_t *option, const Text_t *ftitle, Int_t compress)
: TFile(url, "NET", ftitle, compress), fUrl(url)
Create a RFIO file object. A RFIO file is the same as a TFile
except that it is being accessed via a rfiod server. The url
argument must be of the form: rfio:/path/file.root (where file.root
is a symlink of type /shift/aaa/bbb/ccc) or rfio:server:/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 TRFIOFile
object. Use IsZombie() to see if the file is accessable.
~TRFIOFile()
RFIO file dtor. Close and flush directory structure.
Int_t SysOpen(const char *pathname, Int_t flags, UInt_t mode)
Interface to system open. All arguments like in "man 2 open".
Int_t SysClose(Int_t fd)
Interface to system close. All arguments like in "man 2 close".
Int_t SysRead(Int_t fd, void *buf, Int_t len)
Interface to system read. All arguments like in "man 2 read".
Int_t SysWrite(Int_t fd, const void *buf, Int_t len)
Interface to system write. All arguments like in "man 2 write".
Seek_t SysSeek(Int_t fd, Seek_t offset, Int_t whence)
Interface to system lseek. All arguments like in "man 2 lseek"
except that the offset and return value are Long_t to be able to
handle 64 bit file systems.
Inline Functions
Int_t SysSync(Int_t)
TRFIOFile TRFIOFile(char* url, Option_t* option, Text_t* ftitle, Int_t compress = 1)
TClass* Class()
TClass* IsA()
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
Author: Fons Rademakers 20/01/99
Last update: 2.22/10 22/07/99 20.05.46 by Fons Rademakers
Copyright (c) 1995-1999, The ROOT System, All rights reserved. *
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.