Loading [MathJax]/extensions/tex2jax.js
ROOT
6.08/07
Reference Guide
ROOT Home Page
Main Page
Tutorials
User's Classes
+
Namespaces
Namespace List
+
Namespace Members
+
All
2
3
<
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
<
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
2
3
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
u
v
x
+
Enumerations
a
d
e
f
g
h
m
p
t
v
w
y
+
Enumerator
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
u
v
w
+
All Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
y
+
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
w
y
+
Enumerator
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
+
Properties
f
+
Related Functions
:
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Files
File List
+
File Members
+
All
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Typedefs
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Enumerations
c
e
f
i
l
m
p
r
u
x
+
Enumerator
a
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
v
w
x
y
z
+
Macros
1
2
3
4
5
6
7
8
9
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
net
net
inc
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
#ifndef ROOT_TObject
28
#include "
TObject.h
"
29
#endif
30
31
32
class
TSQLRow
:
public
TObject
{
33
34
protected
:
35
TSQLRow
() { }
36
37
public
:
38
virtual
~TSQLRow
() { }
39
40
virtual
void
Close
(
Option_t
*option=
""
) = 0;
41
virtual
ULong_t
GetFieldLength
(
Int_t
field) = 0;
42
virtual
const
char
*
GetField
(
Int_t
field) = 0;
43
const
char
*
operator[]
(
Int_t
field) {
return
GetField
(field); }
44
45
ClassDef
(
TSQLRow
,0)
// One row of an SQL query result
46
};
47
48
#endif
Option_t
const char Option_t
Definition:
RtypesCore.h:62
Int_t
int Int_t
Definition:
RtypesCore.h:41
ClassDef
#define ClassDef(name, id)
Definition:
Rtypes.h:254
TSQLRow::TSQLRow
TSQLRow()
Definition:
TSQLRow.h:35
TSQLRow::GetField
virtual const char * GetField(Int_t field)=0
TSQLRow
Definition:
TSQLRow.h:32
TSQLRow::Close
virtual void Close(Option_t *option="")=0
ULong_t
unsigned long ULong_t
Definition:
RtypesCore.h:51
TObject
Mother of all ROOT objects.
Definition:
TObject.h:37
TSQLRow::GetFieldLength
virtual ULong_t GetFieldLength(Int_t field)=0
TObject.h
TSQLRow::operator[]
const char * operator[](Int_t field)
Definition:
TSQLRow.h:43
TSQLRow::~TSQLRow
virtual ~TSQLRow()
Definition:
TSQLRow.h:38