Qore Programming Language  0.8.3
include/qore/SQLStatement.h (4311)
00001 /* -*- mode: c++; indent-tabs-mode: nil -*- */
00002 /*
00003   SQLStatement.h
00004 
00005   Qore Programming Language
00006 
00007   Copyright (C) 2006 - 2011 QoreTechnologies
00008   
00009   This library is free software; you can redistribute it and/or
00010   modify it under the terms of the GNU Lesser General Public
00011   License as published by the Free Software Foundation; either
00012   version 2.1 of the License, or (at your option) any later version.
00013 
00014   This library is distributed in the hope that it will be useful,
00015   but WITHOUT ANY WARRANTY; without even the implied warranty of
00016   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00017   Lesser General Public License for more details.
00018 
00019   You should have received a copy of the GNU Lesser General Public
00020   License along with this library; if not, write to the Free Software
00021   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00022 */
00023 
00024 #ifndef _QORE_SQLSTATEMENT_H
00025 #define _QORE_SQLSTATEMENT_H
00026 
00027 class DatasourceStatementHelper;
00028 
00030 
00032 class SQLStatement {
00033    friend class DBActionHelper;
00034    friend class QoreSQLStatement;
00035 
00036 private:
00037    struct sql_statement_private *priv; // private implementation
00038 
00039 public:
00040    DLLLOCAL SQLStatement();
00041    DLLLOCAL ~SQLStatement();
00042 
00044    DLLEXPORT void *getPrivateData() const;
00045 
00047    DLLEXPORT void *takePrivateData();
00048 
00050 
00053    DLLEXPORT void setPrivateData(void *data);
00054 
00056 
00058    DLLEXPORT Datasource *getDatasource() const;
00059 };
00060 
00061 #endif
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines