#ifndef ROOT_TSQLRow #define ROOT_TSQLRow //+SEQ,CopyRight,T=NOINCLUDE. ////////////////////////////////////////////////////////////////////////// // // // TSQLRow // // // // Abstract base class defining interface to a row of a SQL query // // result. Objects of this class are created by TSQLResult methods. // // // // Related classes are TSQLServer and TSQLResult. // // // ////////////////////////////////////////////////////////////////////////// #ifndef ROOT_TObject //*KEEP,TObject. #include "TObject.h" //*KEND. #endif class TSQLRow : public TObject { protected: TSQLRow() { } public: virtual ~TSQLRow() { } virtual void Close(Option_t *option="") = 0; virtual ULong_t GetFieldLength(Int_t field) = 0; virtual const char *GetField(Int_t field) = 0; const char *operator[](Int_t field) { return GetField(field); } ClassDef(TSQLRow,0) // One row of an SQL query result }; #endif