1
//////////////////////////////////////////////////////////////////////////
3
// pgScript - PostgreSQL Tools
4
// RCS-ID: $Id: pgsExpressionStmt.h 7758 2009-03-26 20:49:59Z dpage $
5
// Copyright (C) 2002 - 2009, The pgAdmin Development Team
6
// This software is released under the BSD Licence
8
//////////////////////////////////////////////////////////////////////////
11
#ifndef PGSEXPRESSIONSTMT_H_
12
#define PGSEXPRESSIONSTMT_H_
14
#include "pgscript/pgScript.h"
15
#include "pgscript/statements/pgsStmt.h"
17
class pgsExpressionStmt : public pgsStmt
22
const pgsExpression * m_var;
26
pgsExpressionStmt(const pgsExpression * var, pgsThread * app = 0);
28
virtual ~pgsExpressionStmt();
30
virtual void eval(pgsVarMap & vars) const;
34
pgsExpressionStmt(const pgsExpressionStmt & that);
36
pgsExpressionStmt & operator=(const pgsExpressionStmt & that);
40
#endif /*PGSEXPRESSIONSTMT_H_*/