// @(#)root/net:$Id$
// Author: Fons Rademakers   25/11/99

/*************************************************************************
 * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TSQLRow
#define ROOT_TSQLRow


//////////////////////////////////////////////////////////////////////////
//                                                                      //
// 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
#include "TObject.h"
#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
 TSQLRow.h:1
 TSQLRow.h:2
 TSQLRow.h:3
 TSQLRow.h:4
 TSQLRow.h:5
 TSQLRow.h:6
 TSQLRow.h:7
 TSQLRow.h:8
 TSQLRow.h:9
 TSQLRow.h:10
 TSQLRow.h:11
 TSQLRow.h:12
 TSQLRow.h:13
 TSQLRow.h:14
 TSQLRow.h:15
 TSQLRow.h:16
 TSQLRow.h:17
 TSQLRow.h:18
 TSQLRow.h:19
 TSQLRow.h:20
 TSQLRow.h:21
 TSQLRow.h:22
 TSQLRow.h:23
 TSQLRow.h:24
 TSQLRow.h:25
 TSQLRow.h:26
 TSQLRow.h:27
 TSQLRow.h:28
 TSQLRow.h:29
 TSQLRow.h:30
 TSQLRow.h:31
 TSQLRow.h:32
 TSQLRow.h:33
 TSQLRow.h:34
 TSQLRow.h:35
 TSQLRow.h:36
 TSQLRow.h:37
 TSQLRow.h:38
 TSQLRow.h:39
 TSQLRow.h:40
 TSQLRow.h:41
 TSQLRow.h:42
 TSQLRow.h:43
 TSQLRow.h:44
 TSQLRow.h:45
 TSQLRow.h:46
 TSQLRow.h:47
 TSQLRow.h:48