library: libCore
#include "TSQLTableInfo.h"

TSQLTableInfo


class description - header file - source file - inheritance tree (.pdf)

class TSQLTableInfo : public TNamed

Inheritance Chart:
TObject
<-
TNamed
<-
TSQLTableInfo

    public:
TSQLTableInfo() TSQLTableInfo(const char* tablename, TList* columns, const char* comment = "SQL table", const char* engine = "0", const char* create_time = "0", const char* update_time = "0") TSQLTableInfo(const TSQLTableInfo&) virtual ~TSQLTableInfo() static TClass* Class() TSQLColumnInfo* FindColumn(const char* columnname) TList* GetColumns() const const char* GetCreateTime() const const char* GetEngine() const const char* GetUpdateTime() const virtual TClass* IsA() const TSQLTableInfo& operator=(const TSQLTableInfo&) virtual void Print(Option_t* option = "") const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
TList* fColumns ! list of TSQLColumnInfo objects, describing each table column TString fEngine ! SQL tables engine name TString fCreateTime ! table creation time TString fUpdateTime ! table update time

Class Description


 TSQLTableInfo

 Contains information about table and table columns.
 For MySQL additional information like engine type,
 creation and last update time is provided


TSQLTableInfo()
 default constructor
TSQLTableInfo(const char* tablename, TList* columns, const char* comment, const char* engine, const char* create_time, const char* update_time)
 normal constructor
~TSQLTableInfo()
 destructor
void Print(Option_t*)
 Prints table and table columns info
TSQLColumnInfo* FindColumn(const char* columnname)
 Return column info object of given name
TSQLTableInfo()
TList* GetColumns()
const char* GetEngine()
const char* GetCreateTime()
const char* GetUpdateTime()

Author: Sergey Linev 31/05/2006
Last update: root/net:$Name: $:$Id: TSQLTableInfo.cxx,v 1.1 2006/06/02 14:02:03 brun Exp $
Copyright (C) 1995-2006, 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.