40 const char*
name,
const char* title,
41 const char* keydatetime,
Int_t cycle,
const char* classname);
44 Bool_t IsKeyModified(
const char* keyname,
const char* keytitle,
const char* keydatime,
Int_t cycle,
const char* classname);
virtual void DeleteBuffer()
Delete key buffer(s).
Long64_t fKeyId
! key identifier in KeysTables
virtual char * GetBuffer() const
void * ReadKeyObject(void *obj, const TClass *expectedClass)
Read object, associated with key, from database.
Long64_t GetDBDirId() const
return sql id of parent directory
virtual Long64_t GetSeekPdir() const
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
Long64_t fObjId
! stored object identifer
Long64_t GetDBKeyId() const
char * fBuffer
Object buffer.
TKeySQL()
default constructor
Bool_t IsKeyModified(const char *keyname, const char *keytitle, const char *keydatime, Int_t cycle, const char *classname)
Compares keydata with provided and return kTRUE if key was modified Used in TFile::StreamKeysForDirec...
#define ClassDef(name, id)
void StoreKeyObject(const void *obj, const TClass *cl)
Stores object, associated with key, into data tables.
virtual TObject * ReadObjWithBuffer(char *bufferRead)
Read object derived from TObject class If it is not TObject or in case of error, return 0...
Book space in a file, create I/O buffers, to fill them, (un)compress them.
virtual void FillBuffer(char *&)
Encode key header into output buffer.
virtual Int_t WriteFile(Int_t=1, TFile *=0)
Write the encoded object supported by this key.
virtual ~TKeySQL()
TKeySQL destructor.
Access an SQL db via the TFile interface.
TKeySQL & operator=(const TKeySQL &)
The ROOT global object gROOT contains a list of all defined classes.
virtual void Keep()
Set the "KEEP" status.
virtual void ReadBuffer(char *&)
Decode input buffer.
virtual Int_t Read(const char *name)
Read contents of object with specified name from the current directory.
Describe directory structure in memory.
virtual void * ReadObjectAny(const TClass *expectedClass)
Read object of any type from SQL database.
virtual TObject * ReadObj()
Read object derived from TObject class If it is not TObject or in case of error, return 0...
Mother of all ROOT objects.
virtual Bool_t ReadFile()
Read the key structure from the file.
TKeySQL represents metainforamtion about object, which was written to SQL database.
virtual Long64_t GetSeekKey() const
Long64_t GetDBObjId() const
virtual Int_t Read(const char *name)
Read contents of object with specified name from the current directory.
virtual void Delete(Option_t *option="")
Removes key from current directory Note: TKeySQL object is not deleted.