47 Error(
"TArchiveFile",
"must specify a valid TFile");
124 ::Error(
"TArchiveFile::Open",
"must specify a valid TFile to access %s",
136 if ((
h =
gROOT->GetPluginManager()->FindHandler(
"TArchiveFile",
type))) {
137 if (
h->LoadPlugin() == -1)
196 if (archive ==
"" || member ==
"") {
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
Class describing an archive file containing multiple sub-files, like a ZIP or TAR archive.
virtual Int_t SetCurrentMember()=0
~TArchiveFile() override
Dtor.
TArchiveMember * fCurMember
Current archive member.
TString fMemberName
Sub-file name.
static TArchiveFile * Open(const char *url, TFile *file)
Return proper archive file handler depending on passed url.
TString fArchiveName
Archive file name.
static Bool_t ParseUrl(const char *url, TString &archive, TString &member, TString &type)
Try to determine if url contains an anchor specifying an archive member.
Int_t fMemberIndex
Index of sub-file in archive.
Long64_t GetMemberFilePosition() const
Return position in archive of current member.
virtual Int_t SetMember(const char *member)
Explicitely make the specified member the current member.
Int_t GetNumberOfMembers() const
Returns number of members in archive.
TObjArray * fMembers
Members in this archive.
TFile * fFile
File stream used to access the archive.
TString fComment
Comment field.
TDatime fModTime
Modification time.
Long64_t fCsize
Compressed size.
Long64_t fPosition
Byte position in archive.
Long64_t fFilePosition
Byte position in archive where member data starts.
TArchiveMember & operator=(const TArchiveMember &rhs)
Assignment operator.
TString fName
Name of member.
TArchiveMember()
Default ctor.
Bool_t fDirectory
Flag indicating this is a directory.
Long64_t fDsize
Decompressed size.
Long64_t GetFilePosition() const
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
Int_t GetEntriesFast() const
Int_t GetEntries() const override
Return the number of objects in array (i.e.
TObject * At(Int_t idx) const override
Collectable string class.
Mother of all ROOT objects.
virtual const char * GetName() const
Returns name of object.
TObject & operator=(const TObject &rhs)
TObject assignment operator.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Longptr_t ExecPlugin(int nargs)
int CompareTo(const char *cs, ECaseCompare cmp=kExact) const
Compare a string to char *cs2.
const char * Data() const
Bool_t IsDigit() const
Returns true if all characters in string are digits (0-9) or white spaces, i.e.
TObjArray * Tokenize(const TString &delim) const
This function is used to isolate sequential tokens in a TString.
This class represents a WWW compatible URL.
const char * GetAnchor() const
const char * GetFile() const
const char * GetOptions() const