StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StDbLib
StDbTableIter.hh
1
/***************************************************************************
2
*
3
* $Id: StDbTableIter.hh,v 1.2 2001/01/22 18:38:01 porter Exp $
4
*
5
* Author: R. Jeff Porter
6
***************************************************************************
7
*
8
* Description: Iterates of table-list in a given StDbConfigNode class
9
* Now (Dec2000) just an interface
10
*
11
***************************************************************************
12
*
13
* $Log: StDbTableIter.hh,v $
14
* Revision 1.2 2001/01/22 18:38:01 porter
15
* Update of code needed in next year running. This update has little
16
* effect on the interface (only 1 method has been changed in the interface).
17
* Code also preserves backwards compatibility so that old versions of
18
* StDbLib can read new table structures.
19
* -Important features:
20
* a. more efficient low-level table structure (see StDbSql.cc)
21
* b. more flexible indexing for new systems (see StDbElememtIndex.cc)
22
* c. environment variable override KEYS for each database
23
* d. StMessage support & clock-time logging diagnostics
24
* -Cosmetic features
25
* e. hid stl behind interfaces (see new *Impl.* files) to again allow rootcint access
26
* f. removed codes that have been obsolete for awhile (e.g. db factories)
27
* & renamed some classes for clarity (e.g. tableQuery became StDataBaseI
28
* and mysqlAccessor became StDbSql)
29
*
30
* Revision 1.1 2000/01/19 20:20:07 porter
31
* - finished transaction model needed by online
32
* - fixed CC5 compile problem in StDbNodeInfo.cc
33
* - replace TableIter class by StDbTableIter to prevent name problems
34
*
35
* Revision 1.6 2000/01/10 20:37:55 porter
36
* expanded functionality based on planned additions or feedback from Online work.
37
* update includes:
38
* 1. basis for real transaction model with roll-back
39
* 2. limited SQL access via the manager for run-log & tagDb
40
* 3. balance obtained between enumerated & string access to databases
41
* 4. 3-levels of diagnostic output: Quiet, Normal, Verbose
42
* 5. restructured Node model for better XML support
43
*
44
* Revision 1.5 1999/09/30 02:06:13 porter
45
* add StDbTime to better handle timestamps, modify SQL content (mysqlAccessor)
46
* allow multiple rows (StDbTable), & Added the comment sections at top of
47
* each header and src file
48
*
49
**************************************************************************/
50
#ifndef TABLEITR_HH
51
#define TABLEITR_HH
52
53
#include "StDbTable.h"
54
55
class
StDbTableIter
{
56
57
public
:
58
59
StDbTableIter
() {};
60
virtual
~
StDbTableIter
(){};
61
62
virtual
StDbTable
* next() = 0;
63
virtual
StDbTable
* operator++() = 0;
64
virtual
bool
done() = 0;
65
};
66
67
68
#endif
69
70
71
72
73
74
StDbTable
Definition:
StDbTable.h:152
StDbTableIter
Definition:
StDbTableIter.hh:55
Generated by
1.8.5