1
//////////////////////////////////////////////////////////////////////////
3
// pgScript - PostgreSQL Tools
4
// RCS-ID: $Id: pgsGenInt.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
//////////////////////////////////////////////////////////////////////////
14
#include "pgscript/pgScript.h"
15
#include "pgscript/expressions/pgsExpression.h"
17
class pgsGenInt : public pgsExpression
22
const pgsExpression * m_min;
23
const pgsExpression * m_max;
24
const pgsExpression * m_sequence;
25
const pgsExpression * m_seed;
29
pgsGenInt(const pgsExpression * min, const pgsExpression * max,
30
const pgsExpression * sequence, const pgsExpression * seed);
34
virtual pgsExpression * clone() const;
36
pgsGenInt(const pgsGenInt & that);
38
pgsGenInt & operator =(const pgsGenInt & that);
42
virtual wxString value() const;
44
virtual pgsOperand eval(pgsVarMap & vars) const;
48
#endif /*PGSGENINT_H_*/