1
//////////////////////////////////////////////////////////////////////////
3
// pgScript - PostgreSQL Tools
4
// RCS-ID: $Id: pgsIdentRecord.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 PGSIDENTRECORD_H_
12
#define PGSIDENTRECORD_H_
14
#include "pgscript/pgScript.h"
15
#include "pgscript/expressions/pgsIdent.h"
17
class pgsIdentRecord : public pgsIdent
22
const pgsExpression * m_line;
23
const pgsExpression * m_column;
27
pgsIdentRecord(const wxString & name, const pgsExpression * line,
28
const pgsExpression * column = 0);
30
virtual ~pgsIdentRecord();
32
pgsIdentRecord(const pgsIdentRecord & that);
34
pgsIdentRecord & operator=(const pgsIdentRecord & that);
36
virtual pgsExpression * clone() const;
38
virtual wxString value() const;
40
virtual pgsOperand eval(pgsVarMap & vars) const;
44
#endif /*PGSIDENTRECORD_H_*/