Nemiver
0.3
src
common
nmv-delete-statement.h
Go to the documentation of this file.
1
/* -*- Mode: C++; indent-tabs-mode:nil; c-basic-offset:4; -*- */
2
3
/*
4
*This file is part of the Nemiver Project.
5
*
6
*Nemiver is free software; you can redistribute
7
*it and/or modify it under the terms of
8
*the GNU General Public License as published by the
9
*Free Software Foundation; either version 2,
10
*or (at your option) any later version.
11
*
12
*Nemiver is distributed in the hope that it will
13
*be useful, but WITHOUT ANY WARRANTY;
14
*without even the implied warranty of
15
*MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
*See the GNU General Public License for more details.
17
*
18
*You should have received a copy of the
19
*GNU General Public License along with Nemiver;
20
*see the file COPYING.
21
*If not, write to the Free Software Foundation,
22
*Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23
*
24
*See COPYRIGHT file copyright information.
25
*/
26
#ifndef __NMV_DELETE_STATEMENT_H__
27
#define __NMV_DELETE_STATEMENT_H__
28
29
#include "
nmv-sql-statement.h
"
30
31
namespace
nemiver
{
32
namespace
common
{
33
34
struct
DeleteStatementPriv;
35
class
NEMIVER_API
DeleteStatement
:
public
SQLStatement
36
{
37
friend
struct
DeleteStatementPriv;
38
39
DeleteStatementPriv *m_priv;
40
//forbid copy/assignation
41
DeleteStatement
(
const
DeleteStatement
&);
42
DeleteStatement
& operator= (
const
DeleteStatement
&);
43
44
public
:
45
46
DeleteStatement
(
const
common::UString
&a_table_name,
47
ColumnList
&a_where_columns);
48
49
~
DeleteStatement
();
50
51
const
common::UString
& to_string ()
const
;
52
53
const
ColumnList
& get_where_columns ()
const
;
54
};
//end class DeleteStatement
55
56
}
//end namespace common
57
}
//end namespace nemiver
58
59
#endif //__NMV_DELETE_STATEMENT_H__
60
nemiver
Definition:
nmv-address.h:31
NEMIVER_API
#define NEMIVER_API
Definition:
nmv-api-macros.h:53
nemiver::common::UString
Definition:
nmv-ustring.h:45
nmv-sql-statement.h
nemiver::common::SQLStatement
Definition:
nmv-sql-statement.h:98
nemiver::common::ColumnList
vector< Column > ColumnList
Definition:
nmv-sql-statement.h:95
nemiver::common::DeleteStatement
Definition:
nmv-delete-statement.h:35
common
Definition:
nmv-proc-list-dialog.h:32
Generated by
1.8.17