|
||||
Warning, file /include/root/TSQLResult.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 // @(#)root/net:$Id$ 0002 // Author: Fons Rademakers 25/11/99 0003 0004 /************************************************************************* 0005 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. * 0006 * All rights reserved. * 0007 * * 0008 * For the licensing terms see $ROOTSYS/LICENSE. * 0009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 0010 *************************************************************************/ 0011 0012 #ifndef ROOT_TSQLResult 0013 #define ROOT_TSQLResult 0014 0015 0016 ////////////////////////////////////////////////////////////////////////// 0017 // // 0018 // TSQLResult // 0019 // // 0020 // Abstract base class defining interface to a SQL query result. // 0021 // Objects of this class are created by TSQLServer methods. // 0022 // // 0023 // Related classes are TSQLServer and TSQLRow. // 0024 // // 0025 ////////////////////////////////////////////////////////////////////////// 0026 0027 #include "TObject.h" 0028 0029 class TSQLRow; 0030 0031 class TSQLResult : public TObject { 0032 0033 protected: 0034 Int_t fRowCount; // number of rows in result 0035 0036 TSQLResult() : fRowCount(0) {} 0037 0038 public: 0039 virtual ~TSQLResult() {} 0040 0041 virtual void Close(Option_t *option="") = 0; 0042 virtual Int_t GetFieldCount() = 0; 0043 virtual const char *GetFieldName(Int_t field) = 0; 0044 virtual Int_t GetRowCount() const { return fRowCount; } 0045 virtual TSQLRow *Next() = 0; 0046 0047 ClassDefOverride(TSQLResult,0) // SQL query result 0048 }; 0049 0050 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |