1
//////////////////////////////////////////////////////////////////////////
3
// pgScript - PostgreSQL Tools
4
// RCS-ID: $Id: pgsNumberGen.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 PGSNUMBERGEN_H_
12
#define PGSNUMBERGEN_H_
14
#include "pgscript/pgScript.h"
15
#include "pgscript/utilities/pgsMapm.h"
24
static const int BUFFER_SIZE = 1000;
26
pgsNumberGen(const MAPM & range);
30
virtual ~pgsNumberGen();
32
virtual MAPM random() = 0;
34
virtual pgsNumberGen * clone() = 0;
36
/* pgsNumberGen & operator =(const pgsNumberGen & that); */
38
/* pgsNumberGen(const pgsNumberGen & that); */
41
#endif /*PGSNUMBERGEN_H_*/