library: libSQL #include "TSQLStructure.h" |
TSQLTableData
class description - header file - source file - inheritance tree (.pdf)
protected:
TString DefineSQLName(const char* fullname)
Bool_t HasSQLName(const char* sqlname)
public:
TSQLTableData(TSQLFile* f = 0, TSQLClassInfo* info = 0)
TSQLTableData(const TSQLTableData&)
virtual ~TSQLTableData()
void AddColumn(const char* name, Long64_t value)
void AddColumn(const char* name, const char* sqltype, const char* value, Bool_t numeric)
static TClass* Class()
const char* GetColumn(Int_t n)
Int_t GetNumColumns()
virtual TClass* IsA() const
Bool_t IsNumeric(Int_t n)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
TObjArray* TakeColInfos()
protected:
TSQLFile* fFile !
TSQLClassInfo* fInfo !
TObjArray fColumns ! collection of columns
TObjArray* fColInfos ! array with TSQLClassColumnInfo, used later for TSQLClassInfo
________________________________________________________________________
This is hierarhical structure, which is created when data is written
by TBufferSQL2. It contains data all structurual information such:
version of written class, data memeber types of that class, value for
each data memeber and so on.
Such structure in some sense similar to XML node and subnodes structure
Once it created, it converted to SQL statements, which are submitted
to database server.
________________________________________________________________________
void AddColumn(const char* name, const char* sqltype, const char* value, Bool_t numeric)
Add nomral column to list of columns
TString DefineSQLName(const char* fullname)
produce suitable name for column, taking into account length limitation
Bool_t HasSQLName(const char* sqlname)
checks if columns list already has that sql name
Author: Sergey Linev 20/11/2005
Last update: root/sql:$Name: $:$Id: TSQLStructure.cxx,v 1.13 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.