ROOT
master
Reference Guide
Loading...
Searching...
No Matches
TSQLRow.h
Go to the documentation of this file.
1
// @(#)root/net:$Id$
2
// Author: Fons Rademakers 25/11/99
3
4
/*************************************************************************
5
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_TSQLRow
13
#define ROOT_TSQLRow
14
15
16
//////////////////////////////////////////////////////////////////////////
17
// //
18
// TSQLRow //
19
// //
20
// Abstract base class defining interface to a row of a SQL query //
21
// result. Objects of this class are created by TSQLResult methods. //
22
// //
23
// Related classes are TSQLServer and TSQLResult. //
24
// //
25
//////////////////////////////////////////////////////////////////////////
26
27
#include "
TObject.h
"
28
29
30
class
TSQLRow
:
public
TObject
{
31
32
protected
:
33
TSQLRow
() {}
34
35
public
:
36
virtual
~TSQLRow
() {}
37
38
virtual
void
Close
(
Option_t
*
option
=
""
) = 0;
39
virtual
ULong_t
GetFieldLength
(
Int_t
field) = 0;
40
virtual
const
char
*
GetField
(
Int_t
field) = 0;
41
const
char
*
operator[]
(
Int_t
field) {
return
GetField
(field); }
42
43
ClassDefOverride
(
TSQLRow
,0)
// One row of an SQL query result
44
};
45
46
#endif
ULong_t
unsigned long ULong_t
Definition
RtypesCore.h:55
Option_t
const char Option_t
Definition
RtypesCore.h:66
ClassDefOverride
#define ClassDefOverride(name, id)
Definition
Rtypes.h:346
option
Option_t Option_t option
Definition
TGWin32VirtualXProxy.cxx:44
TObject.h
TObject
Mother of all ROOT objects.
Definition
TObject.h:41
TSQLRow
Definition
TSQLRow.h:30
TSQLRow::operator[]
const char * operator[](Int_t field)
Definition
TSQLRow.h:41
TSQLRow::GetFieldLength
virtual ULong_t GetFieldLength(Int_t field)=0
TSQLRow::TSQLRow
TSQLRow()
Definition
TSQLRow.h:33
TSQLRow::~TSQLRow
virtual ~TSQLRow()
Definition
TSQLRow.h:36
TSQLRow::Close
virtual void Close(Option_t *option="")=0
TSQLRow::GetField
virtual const char * GetField(Int_t field)=0
int
net
net
inc
TSQLRow.h
ROOT master - Reference Guide Generated on Tue Dec 3 2024 09:33:19 (GVA Time) using Doxygen 1.9.8