#include <TKeySQL.h>
Inheritance diagram for TKeySQL:
Public Member Functions | |
TKeySQL (TDirectory *mother, const TObject *obj, const char *name, const char *title=0) | |
stored object identifer | |
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) | |
virtual | ~TKeySQL () |
Bool_t | IsKeyModified (const char *keyname, const char *keytitle, const char *keydatime, Int_t cycle, const char *classname) |
Long64_t | GetDBKeyId () const |
Long64_t | GetDBObjId () const |
Long64_t | GetDBDirId () const |
virtual void | Delete (Option_t *option="") |
virtual void | DeleteBuffer () |
virtual void | FillBuffer (char *&) |
virtual char * | GetBuffer () const |
virtual Long64_t | GetSeekKey () const |
virtual Long64_t | GetSeekPdir () const |
virtual void | Keep () |
virtual Int_t | Read (TObject *obj) |
virtual TObject * | ReadObj () |
virtual TObject * | ReadObjWithBuffer (char *bufferRead) |
virtual void * | ReadObjectAny (const TClass *expectedClass) |
virtual void | ReadBuffer (char *&) |
virtual void | ReadFile () |
virtual void | SetBuffer () |
virtual Int_t | WriteFile (Int_t=1, TFile *=0) |
TKeySQL (TDirectory *mother, const TObject *obj, const char *name, const char *title=0) | |
stored object identifer | |
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) | |
virtual | ~TKeySQL () |
Bool_t | IsKeyModified (const char *keyname, const char *keytitle, const char *keydatime, Int_t cycle, const char *classname) |
Long64_t | GetDBKeyId () const |
Long64_t | GetDBObjId () const |
Long64_t | GetDBDirId () const |
virtual void | Delete (Option_t *option="") |
virtual void | DeleteBuffer () |
virtual void | FillBuffer (char *&) |
virtual char * | GetBuffer () const |
virtual Long64_t | GetSeekKey () const |
virtual Long64_t | GetSeekPdir () const |
virtual void | Keep () |
virtual Int_t | Read (TObject *obj) |
virtual TObject * | ReadObj () |
virtual TObject * | ReadObjWithBuffer (char *bufferRead) |
virtual void * | ReadObjectAny (const TClass *expectedClass) |
virtual void | ReadBuffer (char *&) |
virtual void | ReadFile () |
virtual void | SetBuffer () |
virtual Int_t | WriteFile (Int_t=1, TFile *=0) |
Protected Member Functions | |
TKeySQL () | |
virtual Int_t | Read (const char *name) |
pointer to mother directory | |
void | StoreKeyObject (const void *obj, const TClass *cl) |
void * | ReadKeyObject (void *obj, const TClass *expectedClass) |
TKeySQL () | |
virtual Int_t | Read (const char *name) |
pointer to mother directory | |
void | StoreKeyObject (const void *obj, const TClass *cl) |
void * | ReadKeyObject (void *obj, const TClass *expectedClass) |
Protected Attributes | |
Long64_t | fKeyId |
Long64_t | fObjId |
key identifier in KeysTables | |
Private Member Functions | |
TKeySQL (const TKeySQL &) | |
TKeySQL & | operator= (const TKeySQL &) |
TKeySQL (const TKeySQL &) | |
TKeySQL & | operator= (const TKeySQL &) |
Definition at line 30 of file TKeySQL.h.
TKeySQL::TKeySQL | ( | const TKeySQL & | ) | [private] |
TKeySQL::TKeySQL | ( | ) | [protected] |
Definition at line 36 of file TKeySQL.cxx.
TKeySQL::TKeySQL | ( | TDirectory * | mother, | |
const TObject * | obj, | |||
const char * | name, | |||
const char * | title = 0 | |||
) |
stored object identifer
Definition at line 45 of file TKeySQL.cxx.
References TKey::fClassName, TNamed::SetName(), TNamed::SetTitle(), and StoreKeyObject().
TKeySQL::TKeySQL | ( | TDirectory * | mother, | |
const void * | obj, | |||
const TClass * | cl, | |||
const char * | name, | |||
const char * | title = 0 | |||
) |
Definition at line 62 of file TKeySQL.cxx.
References TNamed::SetName(), TNamed::SetTitle(), and StoreKeyObject().
TKeySQL::TKeySQL | ( | TDirectory * | mother, | |
Long64_t | keyid, | |||
Long64_t | objid, | |||
const char * | name, | |||
const char * | title, | |||
const char * | keydatetime, | |||
Int_t | cycle, | |||
const char * | classname | |||
) |
Definition at line 78 of file TKeySQL.cxx.
References TKey::fClassName, TKey::fCycle, TKey::fDatime, TNamed::SetName(), and TNamed::SetTitle().
TKeySQL::~TKeySQL | ( | ) | [virtual] |
Definition at line 96 of file TKeySQL.cxx.
TKeySQL::TKeySQL | ( | const TKeySQL & | ) | [private] |
TKeySQL::TKeySQL | ( | ) | [protected] |
TKeySQL::TKeySQL | ( | TDirectory * | mother, | |
const TObject * | obj, | |||
const char * | name, | |||
const char * | title = 0 | |||
) |
stored object identifer
TKeySQL::TKeySQL | ( | TDirectory * | mother, | |
const void * | obj, | |||
const TClass * | cl, | |||
const char * | name, | |||
const char * | title = 0 | |||
) |
TKeySQL::TKeySQL | ( | TDirectory * | mother, | |
Long64_t | keyid, | |||
Long64_t | objid, | |||
const char * | name, | |||
const char * | title, | |||
const char * | keydatetime, | |||
Int_t | cycle, | |||
const char * | classname | |||
) |
virtual TKeySQL::~TKeySQL | ( | ) | [virtual] |
virtual Int_t TKeySQL::Read | ( | const char * | name | ) | [inline, protected, virtual] |
pointer to mother directory
Reimplemented from TKey.
Definition at line 39 of file TKeySQL.h.
References TKey::Read().
void TKeySQL::StoreKeyObject | ( | const void * | obj, | |
const TClass * | cl | |||
) | [protected] |
Definition at line 157 of file TKeySQL.cxx.
References TDirectory::AppendKey(), TObject::Error(), TKey::fClassName, TKey::fCycle, TKey::fDatime, fKeyId, fObjId, GetDBKeyId(), GetDBObjId(), TKey::GetFile(), TDirectory::GetListOfKeys(), TKey::GetMotherDir(), TList::Remove(), and TDatime::Set().
Referenced by TKeySQL().
void * TKeySQL::ReadKeyObject | ( | void * | obj, | |
const TClass * | expectedClass | |||
) | [protected] |
Definition at line 260 of file TKeySQL.cxx.
References buffer, TClass::Destructor(), TClass::GetBaseClassOffset(), TClass::GetClassInfo(), GetDBKeyId(), GetDBObjId(), TKey::GetFile(), TBuffer::kRead, and TObject::Warning().
Referenced by Read(), ReadObj(), ReadObjectAny(), and ReadObjWithBuffer().
Bool_t TKeySQL::IsKeyModified | ( | const char * | keyname, | |
const char * | keytitle, | |||
const char * | keydatime, | |||
Int_t | cycle, | |||
const char * | classname | |||
) |
Definition at line 102 of file TKeySQL.cxx.
References TDatime::AsSQLString(), TKey::GetClassName(), TKey::GetCycle(), TKey::GetDatime(), TNamed::GetName(), TKey::GetTitle(), kFALSE, and kTRUE.
Referenced by TSQLFile::StreamKeysForDirectory().
Long64_t TKeySQL::GetDBKeyId | ( | ) | const [inline] |
Definition at line 56 of file TKeySQL.h.
References fKeyId.
Referenced by Delete(), TSQLFile::DirCreateEntry(), TSQLFile::FindSQLKey(), ReadKeyObject(), ReadObj(), ReadObjWithBuffer(), TSQLFile::ReadSpecialObject(), StoreKeyObject(), TSQLFile::UpdateKeyData(), and TSQLFile::WriteKeyData().
Long64_t TKeySQL::GetDBObjId | ( | ) | const [inline] |
Definition at line 57 of file TKeySQL.h.
References fObjId.
Referenced by TSQLFile::DirWriteHeader(), GetSeekKey(), ReadKeyObject(), TSQLFile::ReadSpecialObject(), StoreKeyObject(), and TSQLFile::WriteKeyData().
Long64_t TKeySQL::GetDBDirId | ( | ) | const |
Definition at line 149 of file TKeySQL.cxx.
References TKey::GetMotherDir(), and TDirectory::GetSeekDir().
Referenced by GetSeekPdir(), and TSQLFile::WriteKeyData().
void TKeySQL::Delete | ( | Option_t * | option = "" |
) | [virtual] |
Reimplemented from TKey.
Definition at line 135 of file TKeySQL.cxx.
References TKey::fMotherDir, GetDBKeyId(), TKey::GetFile(), TDirectory::GetListOfKeys(), and TList::Remove().
virtual void TKeySQL::DeleteBuffer | ( | ) | [inline, virtual] |
virtual void TKeySQL::FillBuffer | ( | char *& | ) | [inline, virtual] |
virtual char* TKeySQL::GetBuffer | ( | ) | const [inline, virtual] |
virtual Long64_t TKeySQL::GetSeekKey | ( | ) | const [inline, virtual] |
virtual Long64_t TKeySQL::GetSeekPdir | ( | ) | const [inline, virtual] |
virtual void TKeySQL::Keep | ( | ) | [inline, virtual] |
TObject * TKeySQL::ReadObj | ( | ) | [virtual] |
Reimplemented from TKey.
Definition at line 204 of file TKeySQL.cxx.
References TDirectory::Append(), xmlio::Class, dir(), TKey::fMotherDir, GetDBKeyId(), TROOT::GetForceStyle(), TNamed::GetName(), TKey::GetTitle(), gROOT, ReadKeyObject(), and TObject::UseCurrentStyle().
TObject * TKeySQL::ReadObjWithBuffer | ( | char * | bufferRead | ) | [virtual] |
Reimplemented from TKey.
Definition at line 228 of file TKeySQL.cxx.
References TDirectory::Append(), xmlio::Class, dir(), TKey::fMotherDir, GetDBKeyId(), TROOT::GetForceStyle(), TNamed::GetName(), TKey::GetTitle(), gROOT, ReadKeyObject(), and TObject::UseCurrentStyle().
void * TKeySQL::ReadObjectAny | ( | const TClass * | expectedClass | ) | [virtual] |
virtual void TKeySQL::ReadBuffer | ( | char *& | ) | [inline, virtual] |
virtual void TKeySQL::ReadFile | ( | ) | [inline, virtual] |
virtual void TKeySQL::SetBuffer | ( | ) | [inline, virtual] |
virtual Int_t TKeySQL::Read | ( | const char * | name | ) | [inline, protected, virtual] |
pointer to mother directory
Reimplemented from TKey.
Definition at line 39 of file TKeySQL.h.
References TKey::Read().
void TKeySQL::StoreKeyObject | ( | const void * | obj, | |
const TClass * | cl | |||
) | [protected] |
void* TKeySQL::ReadKeyObject | ( | void * | obj, | |
const TClass * | expectedClass | |||
) | [protected] |
Bool_t TKeySQL::IsKeyModified | ( | const char * | keyname, | |
const char * | keytitle, | |||
const char * | keydatime, | |||
Int_t | cycle, | |||
const char * | classname | |||
) |
Long64_t TKeySQL::GetDBKeyId | ( | ) | const [inline] |
Long64_t TKeySQL::GetDBObjId | ( | ) | const [inline] |
Long64_t TKeySQL::GetDBDirId | ( | ) | const |
virtual void TKeySQL::DeleteBuffer | ( | ) | [inline, virtual] |
virtual void TKeySQL::FillBuffer | ( | char *& | ) | [inline, virtual] |
virtual char* TKeySQL::GetBuffer | ( | ) | const [inline, virtual] |
virtual Long64_t TKeySQL::GetSeekKey | ( | ) | const [inline, virtual] |
virtual Long64_t TKeySQL::GetSeekPdir | ( | ) | const [inline, virtual] |
virtual void TKeySQL::Keep | ( | ) | [inline, virtual] |
virtual TObject* TKeySQL::ReadObjWithBuffer | ( | char * | bufferRead | ) | [virtual] |
Reimplemented from TKey.
virtual void* TKeySQL::ReadObjectAny | ( | const TClass * | expectedClass | ) | [virtual] |
Reimplemented from TKey.
virtual void TKeySQL::ReadBuffer | ( | char *& | ) | [inline, virtual] |
virtual void TKeySQL::ReadFile | ( | ) | [inline, virtual] |
virtual void TKeySQL::SetBuffer | ( | ) | [inline, virtual] |
Long64_t TKeySQL::fKeyId [protected] |
Long64_t TKeySQL::fObjId [protected] |
key identifier in KeysTables
Definition at line 44 of file TKeySQL.h.
Referenced by GetDBObjId(), and StoreKeyObject().