File: TFAsroFile.cpp Version: 1.0 Author: Reiner Rohlfs (GADC) History: 1.0 14.07.03 first released version 1.2 31.01.08 change TBuffer toTBufferFile
TFAsroFile() | |
TFAsroFile(const TFAsroFile&) | |
TFAsroFile(const char* fileName, Bool_t* readOnly) | |
~TFAsroFile() | |
static TClass* | Class() |
bool | Delete(const char* name, const char* subName, Int_t cycle) |
bool | FinishWrite() |
const char* | GetFileName() |
UInt_t | GetFreeCycle(const char* name) |
UInt_t | GetNextCycle(const char* name, Int_t cycle) |
UInt_t | GetNumItems() |
UInt_t | GetNumSubs(const char* name, Int_t cycle) |
bool | InitWrite() |
virtual TClass* | IsA() const |
Bool_t | IsOpen() |
TFAsroColIter* | MakeColIter(const char* name, Int_t cycle) |
TFAsroElementIter* | MakeElementIter() |
void | Map() |
TFAsroFile& | operator=(const TFAsroFile&) |
TObject* | Read(const TFAsroKey& key) |
TObject* | Read(const char* name, const char* subName, Int_t cycle) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
bool | Write(TObject* obj, int compLevel, const char* name, const char* subName, Int_t cycle) |
vector<TString> | fClassNames | |
UInt_t | fDes[4] | ! position, length of fEntries, |
map<TFAsroKey,TFAsroValue> | fEntries | |
int | fFile | ! file handler; |
TString | fFileName | ! file name of this file |
UInt_t* | fFree | ! array of (pos, length) of free mem in file |
UInt_t | fFreeReserve | ! allocated memory for fFree; |
vector<TString> | fNames |
Inheritance Chart: | |||||
|
Opens or creates an ASRO file. First it tries to open read and write. If this is not possible and readOnly is set to kTRUE it tries to open also as readOnly. In any case readOnly is set to kFALSE if it was possible to open as readOnly, independent of the input value of readOnly. readOnly is unchanged (stay as kTRUE) if the file is opened as read only. If the file could not opened at all (either system error or it is read only, but it should be opened as read write) readOnly is not modified. If anything went wrong the file descriptor fFile is set to a value less than 0. If fFile >= 0 the calling function can assume that the file is succesfully open and can be used.
Returns the requested object, read from the file. If the retunr value is not NULL the calling function can assume that everything is OK.
Returns the requested object, read from the file. If the retunr value is not NULL the calling function can assume that everything is OK.