Concept Abstract interface to TableRow objects. Each database table consists of a collection of TableRow objects. More...
#include <TDbiTableRow.hxx>
Public Member Functions | |
TDbiTableRow () | |
TDbiTableRow (const TDbiTableRow &from) | |
virtual | ~TDbiTableRow () |
virtual Bool_t | CanL2Cache () const |
Replace this with a function returning true in order to use the level 2 disk cache. | |
virtual Int_t | GetAggregateNo () const |
TDbiResultSet * | GetOwner () const |
virtual TDbiTableRow * | CreateTableRow () const =0 |
virtual UInt_t | GetIndex (UInt_t defIndex) const |
void | SetOwner (TDbiResultSet *owner) |
virtual void | Fill (TDbiInRowStream &rs, const TDbiValidityRec *vrec)=0 |
virtual void | Store (TDbiOutRowStream &, const TDbiValidityRec *) const |
Private Attributes | |
TDbiResultSet * | fOwner |
The owning TDbiResultSet, if any. |
Concept Abstract interface to TableRow objects. Each database table consists of a collection of TableRow objects.
Purpose Provides a generic interface to TableRow objects permiting much of the database machinery to be generic. Subclass obligations All subclasses must have public default and constructors. Program Notes It inherits from TObject only so that it can get the class name at execution time. Contact: A.Finch@lancaster.ac.uk
Definition at line 47 of file TDbiTableRow.hxx.
TDbiTableRow::TDbiTableRow | ( | ) |
TDbiTableRow::TDbiTableRow | ( | const TDbiTableRow & | from | ) |
Definition at line 34 of file TDbiTableRow.cxx.
References SK_DBI_Trace.
00034 : TObject(from) 00035 { 00036 // 00037 // 00038 // Purpose: Copy constructor. 00039 00040 00041 SK_DBI_Trace( "Creating copy TDbiTableRow" << " "); 00042 00043 // Nothing to copy; no data member in TDbiTableRow. 00044 00045 }
TDbiTableRow::~TDbiTableRow | ( | ) | [virtual] |
Definition at line 49 of file TDbiTableRow.cxx.
References SK_DBI_Trace.
00049 { 00050 // 00051 // 00052 // Purpose: Destructor 00053 00054 00055 SK_DBI_Trace( "Destroying TDbiTableRow" << " "); 00056 00057 }
virtual Bool_t TDbiTableRow::CanL2Cache | ( | ) | const [inline, virtual] |
Replace this with a function returning true in order to use the level 2 disk cache.
Definition at line 59 of file TDbiTableRow.hxx.
virtual TDbiTableRow* TDbiTableRow::CreateTableRow | ( | ) | const [pure virtual] |
Implemented in TDbiConfigSet, TDbiLogEntry, TDbiValidityRec, and TTableRow.
virtual void TDbiTableRow::Fill | ( | TDbiInRowStream & | rs, | |
const TDbiValidityRec * | vrec | |||
) | [pure virtual] |
Implemented in TDbiConfigSet, TDbiLogEntry, and TTableRow.
Referenced by ClassImp().
virtual Int_t TDbiTableRow::GetAggregateNo | ( | ) | const [inline, virtual] |
Reimplemented in TDbiConfigSet, TDbiLogEntry, and TDbiValidityRec.
Definition at line 62 of file TDbiTableRow.hxx.
Referenced by TDbiResultSet::BuildLookUpTable().
virtual UInt_t TDbiTableRow::GetIndex | ( | UInt_t | defIndex | ) | const [inline, virtual] |
Reimplemented in TDemo2_DB_Table, and TDemo_DB_Table.
Definition at line 65 of file TDbiTableRow.hxx.
Referenced by TDbiResultSet::BuildLookUpTable().
TDbiResultSet* TDbiTableRow::GetOwner | ( | ) | const [inline] |
Definition at line 63 of file TDbiTableRow.hxx.
References fOwner.
Referenced by TDbiResultSet::BuildLookUpTable(), and TDbiResultSetAgg::GetValidityRec().
00063 { return fOwner; }
void TDbiTableRow::SetOwner | ( | TDbiResultSet * | owner | ) | [inline] |
Definition at line 68 of file TDbiTableRow.hxx.
References fOwner.
Referenced by ClassImp().
00068 {fOwner = owner;}
virtual void TDbiTableRow::Store | ( | TDbiOutRowStream & | , | |
const TDbiValidityRec * | ||||
) | const [inline, virtual] |
Reimplemented in TDbiConfigSet, and TDbiLogEntry.
Definition at line 73 of file TDbiTableRow.hxx.
Referenced by TDbiSqlValPacket::AddRow().
TDbiResultSet* TDbiTableRow::fOwner [private] |
The owning TDbiResultSet, if any.
Definition at line 81 of file TDbiTableRow.hxx.
Referenced by GetOwner(), and SetOwner().