TWebFile
class description - source file - inheritance tree
    private:
      void Init(Bool_t)
    public:
             TWebFile TWebFile(const char* url)
             TWebFile TWebFile(TUrl url)
         virtual void ~TWebFile()
              TClass* Class()
      virtual TClass* IsA() const
       virtual Bool_t IsOpen() const
       virtual Bool_t ReadBuffer(char* buf, int len)
         virtual void Seek(Seek_t offset, TFile::ERelativeTo pos = kBeg)
         virtual void ShowMembers(TMemberInspector& insp, char* parent)
         virtual void Streamer(TBuffer& b)
    private:
        TUrl fUrl     URL of file
      Seek_t fOffset  seek offset
                                                                      
 TWebFile                                                             
                                                                      
 A TWebFile is like a normal TFile except that it reads its data      
 via a (slightly modified) apache web server. A TWebFile is a         
 read-only file.                                                      
                                                                      
 TWebFile(const char *url) : TFile(url, "WEB"), fUrl(url)
 Create a Web file object. A web file is the same as a read-only
 TFile except that it is being read via a HTTP server. The url
 argument must be of the form: http://host.dom.ain/file.root.
 If the file specified in the URL does not exist or is not accessible
 the kZombie bit will be set in the TWebFile object. Use IsZombie()
 to see if the file is accessible.
 TWebFile(TUrl url) : TFile(url.GetUrl(), "WEB"), fUrl(url)
 Create a Web file object. A web file is the same as a read-only
 TFile except that it is being read via a HTTP server. Make sure url
 is a valid TUrl object.
 If the file specified in the URL does not exist or is not accessible
 the kZombie bit will be set in the TWebFile object. Use IsZombie()
 to see if the file is accessible.
void Init(Bool_t)
 Initialize a TWebFile object.
Bool_t IsOpen() const
 A TWebFile that has been correctly constructed is always considered open.
Bool_t ReadBuffer(char *buf, int len)
 Read specified byte range from remote file via HTTP daemon. This
 routine connects to the remote host, sends the request and returns
 the buffer. Returns kTRUE in case of error.
void Seek(Seek_t offset, ERelativeTo pos)
 Set position from where to start reading.
Inline Functions
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void ~TWebFile()
Author:     Fons Rademakers   17/01/97
Last update:   2.23/03 16/09/99  23.51.30  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.