Qore Programming Language
0.8.7
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
qore
SQLStatement.h
1
/* -*- mode: c++; indent-tabs-mode: nil -*- */
2
/*
3
SQLStatement.h
4
5
Qore Programming Language
6
7
Copyright (C) 2006 - 2013 QoreTechnologies
8
9
This library is free software; you can redistribute it and/or
10
modify it under the terms of the GNU Lesser General Public
11
License as published by the Free Software Foundation; either
12
version 2.1 of the License, or (at your option) any later version.
13
14
This library is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17
Lesser General Public License for more details.
18
19
You should have received a copy of the GNU Lesser General Public
20
License along with this library; if not, write to the Free Software
21
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
*/
23
24
#ifndef _QORE_SQLSTATEMENT_H
25
#define _QORE_SQLSTATEMENT_H
26
27
class
DatasourceStatementHelper;
28
30
32
class
SQLStatement
{
33
friend
class
DBActionHelper;
34
friend
class
QoreSQLStatement;
35
36
private
:
37
struct
sql_statement_private *priv;
// private implementation
38
39
public
:
40
DLLLOCAL
SQLStatement
();
41
DLLLOCAL ~SQLStatement();
42
44
DLLEXPORT
void
*
getPrivateData
()
const
;
45
47
DLLEXPORT
void
*
takePrivateData
();
48
50
53
DLLEXPORT
void
setPrivateData
(
void
*data);
54
56
58
DLLEXPORT
Datasource
*
getDatasource
()
const
;
59
};
60
61
#endif