MAK Data Logger API Documentation for DIS
Home
Modules
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
libsrc
vlDatabase
mySqlDriver.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 mySqlDriver_H_
10
#define mySqlDriver_H_
11
12
#include "
databaseDriver.h
"
13
#include <vlutil/vlString.h>
14
15
class
DT_DLL_VLDB
DtMySQLDriver
:
public
DtDatabaseDriver
16
{
17
public
:
18
enum
DriverVersion
19
{
20
MySQL_ODBC_2_50_Driver
,
21
MySQL_ODBC_3_51_Driver
,
22
MySQL_ODBC_5_1_Driver
,
23
MySQL_ODBC_5_2w_Driver
24
};
25
27
explicit
DtMySQLDriver
(DriverVersion version);
28
30
virtual
~
DtMySQLDriver
();
31
34
virtual
const
DtString&
name
()
const
;
35
36
38
virtual
DtDatabaseParameters
*
createParameters
()
const
;
39
41
virtual
DtDatabaseEnvironment
*
createEnvironment
()
const
;
42
44
virtual
DtDatabaseConnection
*
createConnection
(
45
DtDatabaseEnvironment
*)
const
;
46
48
virtual
DtDatabaseCommandFactory
*
createCommandFactory
()
const
;
49
51
virtual
DtDatabaseCommandProcessor
*
createCommandProcessor
(
52
DtDatabaseConnection
*)
const
;
53
54
protected
:
55
DriverVersion
myVersion
;
56
DtString
myVersionText
;
57
};
58
59
60
#endif
Document ID: Generated on Thu Apr 11 12:13:00 EDT 2013 from SVN revision 126011
Copyright © 2005-2012 VT MÄK. All Rights Reserved (
www.mak.com
)