TSQLTableInfo Class Reference

#include <TSQLTableInfo.h>

Inheritance diagram for TSQLTableInfo:

TNamed TNamed TObject TObject TObject TObject List of all members.

Public Member Functions

 TSQLTableInfo ()
 table update time
 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)
virtual ~TSQLTableInfo ()
virtual void Print (Option_t *option="") const
TListGetColumns () const
TSQLColumnInfoFindColumn (const char *columnname)
const char * GetEngine () const
const char * GetCreateTime () const
const char * GetUpdateTime () const
 TSQLTableInfo ()
 table update time
 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)
virtual ~TSQLTableInfo ()
virtual void Print (Option_t *option="") const
TListGetColumns () const
TSQLColumnInfoFindColumn (const char *columnname)
const char * GetEngine () const
const char * GetCreateTime () const
const char * GetUpdateTime () const

Protected Attributes

TListfColumns
TString fEngine
 list of TSQLColumnInfo objects, describing each table column
TString fCreateTime
 SQL tables engine name.
TString fUpdateTime
 table creation time
TListfColumns

Detailed Description

Definition at line 22 of file TSQLTableInfo.h.


Constructor & Destructor Documentation

TSQLTableInfo::TSQLTableInfo (  ) 

table update time

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 
)

Definition at line 45 of file TSQLTableInfo.cxx.

TSQLTableInfo::~TSQLTableInfo (  )  [virtual]

Definition at line 62 of file TSQLTableInfo.cxx.

References TList::Delete(), and fColumns.

TSQLTableInfo::TSQLTableInfo (  ) 

table update time

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 
)

virtual TSQLTableInfo::~TSQLTableInfo (  )  [virtual]


Member Function Documentation

void TSQLTableInfo::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TNamed.

Definition at line 74 of file TSQLTableInfo.cxx.

References TROOT::DecreaseDirLevel(), fColumns, fCreateTime, fEngine, fUpdateTime, TNamed::GetName(), TNamed::GetTitle(), TROOT::IncreaseDirLevel(), TROOT::IndentLevel(), TString::Length(), and TCollection::Print().

TList* TSQLTableInfo::GetColumns (  )  const [inline]

Definition at line 42 of file TSQLTableInfo.h.

References fColumns.

TSQLColumnInfo * TSQLTableInfo::FindColumn ( const char *  columnname  ) 

Definition at line 102 of file TSQLTableInfo.cxx.

References fColumns, and TList::FindObject().

const char* TSQLTableInfo::GetEngine (  )  const [inline]

Definition at line 46 of file TSQLTableInfo.h.

References TString::Data(), and fEngine.

const char* TSQLTableInfo::GetCreateTime (  )  const [inline]

Definition at line 47 of file TSQLTableInfo.h.

References TString::Data(), and fCreateTime.

const char* TSQLTableInfo::GetUpdateTime (  )  const [inline]

Definition at line 48 of file TSQLTableInfo.h.

References TString::Data(), and fUpdateTime.

virtual void TSQLTableInfo::Print ( Option_t option = ""  )  const [virtual]

Reimplemented from TNamed.

TList* TSQLTableInfo::GetColumns (  )  const [inline]

Definition at line 42 of file TSQLTableInfo.h.

References fColumns.

TSQLColumnInfo* TSQLTableInfo::FindColumn ( const char *  columnname  ) 

const char* TSQLTableInfo::GetEngine (  )  const [inline]

Definition at line 46 of file TSQLTableInfo.h.

References TString::Data(), and fEngine.

const char* TSQLTableInfo::GetCreateTime (  )  const [inline]

Definition at line 47 of file TSQLTableInfo.h.

References TString::Data(), and fCreateTime.

const char* TSQLTableInfo::GetUpdateTime (  )  const [inline]

Definition at line 48 of file TSQLTableInfo.h.

References TString::Data(), and fUpdateTime.


Member Data Documentation

TList* TSQLTableInfo::fColumns [protected]

Definition at line 25 of file TSQLTableInfo.h.

Referenced by FindColumn(), GetColumns(), Print(), and ~TSQLTableInfo().

TString TSQLTableInfo::fEngine [protected]

list of TSQLColumnInfo objects, describing each table column

Definition at line 26 of file TSQLTableInfo.h.

Referenced by GetEngine(), and Print().

TString TSQLTableInfo::fCreateTime [protected]

SQL tables engine name.

Definition at line 27 of file TSQLTableInfo.h.

Referenced by GetCreateTime(), and Print().

TString TSQLTableInfo::fUpdateTime [protected]

table creation time

Definition at line 28 of file TSQLTableInfo.h.

Referenced by GetUpdateTime(), and Print().

TList* TSQLTableInfo::fColumns [protected]

Definition at line 25 of file TSQLTableInfo.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:47:04 2011 for ROOT_528-00b_version by  doxygen 1.5.1