library: libCore
#include "TFileInfo.h"

TFileInfo


class description - source file - inheritance tree (.pdf)

class TFileInfo : public TNamed

Inheritance Chart:
TObject
<-
TNamed
<-
TFileInfo

    public:
TFileInfo(const char* url = "0", Long64_t size = -1, const char* uuid = "0", const char* md5 = "0", Long64_t entries = -1, Long64_t first = -1, Long64_t last = -1, TObject* meta = 0) TFileInfo(const TFileInfo&) virtual ~TFileInfo() void AddMetaDataObject(TObject* obj) Bool_t AddUrl(const char* url) static TClass* Class() TUrl* FindByUrl(const char* url) TUrl* GetCurrentUrl() const Long64_t GetEntries() const Long64_t GetFirst() const Long64_t GetLast() const TMD5* GetMD5() const TObject* GetMetaObject() const Long64_t GetSize() const TUUID* GetUUID() const virtual TClass* IsA() const TUrl* NextUrl() TFileInfo& operator=(const TFileInfo&) virtual void Print(Option_t* options = "") const void RemoveMetaDataObject() Bool_t RemoveUrl(const char* url) void ResetUrl() void SetEntries(Long64_t entries) void SetFirst(Long64_t first) void SetLast(Long64_t last) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TUrl* fCurrentUrl ! current URL to access the file, points to one of the UrlList List or 0, if the list end is reached TList* fUrlList -> URL List of the file Long64_t fSize file size TUUID* fUUID -> uuid of the referenced file TMD5* fMD5 -> md5 digest of the file Long64_t fEntries entries in case of a ROOT Tree Long64_t fFirst first entry to process Long64_t fLast last entry to process TObject* fMetaDataObject -> generic file meta data object

Class Description

                                                                      
 TFileInfo                                                            
                                                                      
 Class describing a generic file including meta information.          
                                                                      


TFileInfo(const char *url , Long64_t size, const char *uuid, const char *md5, Long64_t entries, Long64_t first, Long64_t last, TObject *meta) : fCurrentUrl(0), fUrlList(0), fSize(size), fUUID(0), fMD5(0), fEntries(entries), fFirst(first), fLast(last), fMetaDataObject(meta)
 Constructor.

~TFileInfo()
 Destructor.

TUrl* NextUrl()
 Iterator Function, init Iteration with ResetUrl().
 The first Call to NextUrl() will return the 1st element,
 the seconde the 2nd element aso.

TUrl* FindByUrl(const char *url)
 Find an element from a URL.

Bool_t AddUrl(const char *url)
 Add a new URL

Bool_t RemoveUrl(const char *url)
 Remove an URL.

void AddMetaDataObject(TObject *obj)
 Add's a meta data object to the file info object

void RemoveMetaDataObject()
 Remove all the metadata obejects.

void Print(Option_t * /* option */) const
 Print information about this object.



Inline Functions


               void ResetUrl()
              TUrl* GetCurrentUrl() const
           Long64_t GetSize() const
           Long64_t GetEntries() const
           Long64_t GetFirst() const
           Long64_t GetLast() const
             TUUID* GetUUID() const
              TMD5* GetMD5() const
           TObject* GetMetaObject() const
               void SetFirst(Long64_t first)
               void SetLast(Long64_t last)
               void SetEntries(Long64_t entries)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
          TFileInfo TFileInfo(const TFileInfo&)
         TFileInfo& operator=(const TFileInfo&)


Author: Andreas-Joachim Peters 20/9/2005
Last update: root/base:$Name: $:$Id: TFileInfo.cxx,v 1.5 2006/01/24 14:39:59 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - 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.