|
||||
Warning, file /include/root/TSQLRow.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_TSQLRow 0013 #define ROOT_TSQLRow 0014 0015 0016 ////////////////////////////////////////////////////////////////////////// 0017 // // 0018 // TSQLRow // 0019 // // 0020 // Abstract base class defining interface to a row of a SQL query // 0021 // result. Objects of this class are created by TSQLResult methods. // 0022 // // 0023 // Related classes are TSQLServer and TSQLResult. // 0024 // // 0025 ////////////////////////////////////////////////////////////////////////// 0026 0027 #include "TObject.h" 0028 0029 0030 class TSQLRow : public TObject { 0031 0032 protected: 0033 TSQLRow() {} 0034 0035 public: 0036 virtual ~TSQLRow() {} 0037 0038 virtual void Close(Option_t *option="") = 0; 0039 virtual ULong_t GetFieldLength(Int_t field) = 0; 0040 virtual const char *GetField(Int_t field) = 0; 0041 const char *operator[](Int_t field) { return GetField(field); } 0042 0043 ClassDefOverride(TSQLRow,0) // One row of an SQL query result 0044 }; 0045 0046 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |