library: libCore
#include "TFileInfo.h"


class description - header file - source file
viewCVS header - viewCVS source

class TFileInfo: public TNamed

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-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)
voidTObject::AbstractMethod(const char* method) const
voidAddMetaDataObject(TObject* obj)
Bool_tAddUrl(const char* url)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTNamed::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tCompare(const TObject* obj) const
virtual voidTNamed::Copy(TObject& named) const
virtual voidTObject::Delete(Option_t* option = "")
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual voidTObject::Dump() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
TUrl*FindByUrl(const char* url)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
TUrl*GetCurrentUrl() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Long64_tGetEntries() const
Long64_tGetFirst() const
TUrl*GetFirstUrl() const
virtual const char*TObject::GetIconName() const
Long64_tGetLast() const
TMD5*GetMD5() const
TObject*GetMetaObject() const
virtual const char*TNamed::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Long64_tGetSize() const
virtual const char*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
TUUID*GetUUID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tIsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTNamed::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidPrint(Option_t* options = "") const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
Bool_tRemoveUrl(const char* url)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
voidSetEntries(Long64_t entries)
voidSetFirst(Long64_t first)
voidSetLast(Long64_t last)
virtual voidTNamed::SetName(const char* name)
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTNamed::SetTitle(const char* title = "")
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) const
TFileInfo(const TFileInfo&)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
TFileInfo&operator=(const TFileInfo&)

Data Members

enum TObject::EStatusBits { kCanDelete
enum TObject::[unnamed] { kIsOnHeap
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
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_tfSizefile size
TUUID*fUUID-> uuid of the referenced file
TMD5*fMD5-> md5 digest of the file
Long64_tfEntriesentries in case of a ROOT Tree
Long64_tfFirstfirst entry to process
Long64_tfLastlast entry to process
TObject*fMetaDataObject-> generic file meta data object

Class Description

 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)
TFileInfo(const TFileInfo& fi)
copy constructor
TFileInfo& operator=(const TFileInfo& fi)
assignment operator
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.
Int_t Compare(const TObject *obj)
 Compare TFileInfo object by their first urls.
void Print(Option_t * /* option */)
 Print information about this object.
void ResetUrl()
{ fCurrentUrl = (TUrl*)fUrlList->First(); }
TUrl * GetCurrentUrl()
{ return ((fCurrentUrl)?fCurrentUrl:0) ; }
TUrl * GetFirstUrl()
{ return (TUrl*)fUrlList->First(); }
Long64_t GetSize()
{ return fSize; }
Long64_t GetEntries()
{ return fEntries; }
Long64_t GetFirst()
{ return fFirst; }
Long64_t GetLast()
{ return fLast; }
{ return fUUID; }
TMD5 * GetMD5()
{ return fMD5; }
TObject * GetMetaObject()
{ return fMetaDataObject; }
void SetFirst(Long64_t first)
{ fFirst = first; }
void SetLast(Long64_t last)
{ fLast = last; }
void SetEntries(Long64_t entries)
{ fEntries = entries; }
Bool_t IsSortable()
{ return kTRUE; }

Author: Andreas-Joachim Peters 20/9/2005
Last update: root/base:$Name: $:$Id: TFileInfo.cxx,v 1.9 2006/07/09 05:27:53 brun 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.