library: libSQL #include "TKeySQL.h" |
TKeySQL
class description - header file - source file - inheritance tree (.pdf)
protected:
TKeySQL()
virtual Int_t Read(const char* name)
void* ReadKeyObject(void* obj, const TClass* expectedClass)
void StoreKeyObject(const void* obj, const TClass* cl)
public:
TKeySQL(TDirectory* mother, const TObject* obj, const char* name, const char* title = "0")
TKeySQL(TDirectory* mother, const void* obj, const TClass* cl, const char* name, const char* title = "0")
TKeySQL(TDirectory* mother, Long64_t keyid, Long64_t objid, const char* name, const char* title, const char* keydatetime, Int_t cycle, const char* classname)
TKeySQL(const TKeySQL&)
virtual ~TKeySQL()
static TClass* Class()
virtual void Delete(Option_t* option = "")
virtual void DeleteBuffer()
virtual void FillBuffer(char*&)
virtual char* GetBuffer() const
Long64_t GetDBDirId() const
Long64_t GetDBKeyId() const
Long64_t GetDBObjId() const
virtual Long64_t GetSeekKey() const
virtual Long64_t GetSeekPdir() const
virtual TClass* IsA() const
Bool_t IsKeyModified(const char* keyname, const char* keytitle, const char* keydatime, Int_t cycle, const char* classname)
virtual void Keep()
virtual Int_t Read(TObject* obj)
virtual void ReadBuffer(char*&)
virtual void ReadFile()
virtual TObject* ReadObj()
virtual void* ReadObjectAny(const TClass* expectedClass)
virtual void SetBuffer()
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
virtual Int_t WriteFile(Int_t = 1, TFile* = 0)
protected:
Long64_t fKeyId ! key identifier in KeysTables
Long64_t fObjId ! stored object identifer
________________________________________________________________________
TKeySQL is represents a metainforamtion about object, which was written to
SQL database. It keeps object id, which used to locate object data
from database tables.
________________________________________________________________________
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::StreamKeysForDirectory() method to verify data for that keys
should be updated
void StoreKeyObject(const void* obj, const TClass* cl)
Stores object, associated with key, into data tables
Int_t Read(TObject* tobj)
To read an object from the file.
The object associated to this key is read from the file into memory.
Before invoking this function, obj has been created via the
default constructor.
Author: Sergey Linev 20/11/2005
Last update: root/sql:$Name: $:$Id: TKeySQL.cxx,v 1.10 2006/06/22 08:21:22 brun Exp $
Copyright (C) 1995-2005, 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.