MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
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/lgrSqlExporter.h
>
13
#include <
vlDatabase/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 Thu Jul 23 15:05:27 EDT 2020 from SVN revision 215371
Copyright © 2020 MAK Technologies. All Rights Reserved (
www.mak.com
)