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
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_CONFIG_Driver
,
21
MySQL_ODBC_2_50_Driver
,
22
MySQL_ODBC_3_51_Driver
,
23
MySQL_ODBC_5_1_Driver
,
24
MySQL_ODBC_5_2w_Driver
,
25
MySQL_ODBC_5_3_Driver
26
};
27
29
explicit
DtMySQLDriver
(DriverVersion version);
30
32
explicit
DtMySQLDriver
(
const
DtString& version);
33
35
virtual
~
DtMySQLDriver
();
36
39
virtual
const
DtString&
name
()
const
;
40
41
43
virtual
DtDatabaseParameters
*
createParameters
()
const
;
44
46
virtual
DtDatabaseEnvironment
*
createEnvironment
()
const
;
47
49
virtual
DtDatabaseConnection
*
createConnection
(
50
DtDatabaseEnvironment
*)
const
;
51
53
virtual
DtDatabaseCommandFactory
*
createCommandFactory
()
const
;
54
56
virtual
DtDatabaseCommandProcessor
*
createCommandProcessor
(
57
DtDatabaseConnection
*)
const
;
58
59
protected
:
60
DriverVersion
myVersion
;
61
DtString
myVersionText
;
62
};
63
64
65
#endif
Document ID: Generated on Tue Aug 1 09:00:26 EDT 2017 from SVN revision 179128
Copyright © 2017 VT MÄK. All Rights Reserved (
www.mak.com
)