MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
lgrSqlExporter
lgrDatabasePrinter.h
Go to the documentation of this file.
1
/******************************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
******************************************************************************/
5
8
9
#ifndef lgrDatabasePrinter_H_
10
#define lgrDatabasePrinter_H_
11
12
#include "
lgrSqlExporter.h
"
13
#include <
databaseTable.h
>
14
#include <vector>
15
16
class
DtDatabaseInterface
;
17
class
DtOutputStream;
18
class
DtString;
19
20
namespace
MAKLogger
21
{
22
23
class
DT_DLL_SQLEXPORTER
DtLgrDatabasePrinter
24
{
25
public
:
26
28
DtLgrDatabasePrinter
(DtOutputStream& log,
DtDatabaseInterface
& db);
29
31
virtual
~
DtLgrDatabasePrinter
();
32
34
DtOutputStream& log();
35
37
DtDatabaseInterface
& db();
38
39
40
protected
:
41
42
typedef
std::vector<DtDatabaseTableSP>
TableList
;
43
45
void
createTablesFromList(
TableList
& tableList,
const
DtString& className );
46
48
void
updateTablesFromList(
TableList
& tableList );
49
51
void
resetTablesFromList(
TableList
& tables)
const
;
52
53
DtDatabaseInterface
&
myDatabaseInterface
;
54
DtOutputStream&
myOutputLog
;
55
};
56
57
}
58
59
#endif
Document ID: Generated on Mon Jan 19 08:20:14 EST 2015 from SVN revision 149581
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)