mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
38 lines
781 B
C++
38 lines
781 B
C++
//////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// pgScript - PostgreSQL Tools
|
|
//
|
|
// Copyright (C) 2002 - 2016, The pgAdmin Development Team
|
|
// This software is released under the PostgreSQL Licence
|
|
//
|
|
//////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
#ifndef PGSNEGATE_H_
|
|
#define PGSNEGATE_H_
|
|
|
|
#include "pgscript/pgScript.h"
|
|
#include "pgscript/expressions/pgsOperation.h"
|
|
|
|
class pgsNegate : public pgsOperation
|
|
{
|
|
|
|
public:
|
|
|
|
pgsNegate(const pgsExpression *left);
|
|
|
|
virtual ~pgsNegate();
|
|
|
|
virtual pgsExpression *clone() const;
|
|
|
|
pgsNegate(const pgsNegate &that);
|
|
|
|
pgsNegate &operator =(const pgsNegate &that);
|
|
|
|
virtual wxString value() const;
|
|
|
|
virtual pgsOperand eval(pgsVarMap &vars) const;
|
|
|
|
};
|
|
|
|
#endif /*PGSNEGATE_H_*/
|