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