Xbase64 Class Library  3.1.2
xbfilter.h
Go to the documentation of this file.
1 /* xbfilter.h
2 
3  Xbase project source code
4 
5  This file conatains a header file for the xbFilter object which
6  is used for filtering data.
7 
8  Copyright (C) 1997,2003 Gary A Kunkel
9 
10  This program is free software; you can redistribute it and/or modify
11  it under the terms of the GNU Lesser General Public License as published by
12  the Free Software Foundation; either version 2 of the License, or
13  (at your option) any later version.
14 
15  This program is distributed in the hope that it will be useful,
16  but WITHOUT ANY WARRANTY; without even the implied warranty of
17  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18  GNU Lesser General Public License for more details.
19 
20  You should have received a copy of the GNU Lesser General Public License
21  along with this program; if not, write to the Free Software
22  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23 
24 
25  Contact:
26 
27  Email:
28 
29  xdb-devel@lists.sourceforge.net
30  xdb-users@lists.sourceforge.net
31 
32 
33  Regular Mail:
34 
35  XBase Support
36  149C South Main St
37  Keller Texas, 76248
38  USA
39 */
40 
44 #ifndef __XB_FILTER_H__
45 #define __XB_FILTER_H__
46 
47 #ifdef __GNU_LesserG__
48 #pragma interface
49 #endif
50 
52 
56 {
57 public:
58  xbFilter( xbDbf * dbf, xbIndex * index, char * expression );
59  virtual ~xbFilter();
60 
65  xbShort GetStatus() { return Status; }
66 
67 protected:
70  xbExpn * flExpn;
71  xbDbf *d;
73 };
74 
75 #endif
xbMH struct
Definition: xbdbf.h:190
xbFilter class
Definition: xbfilter.h:56
xbShort GetPrevFilterRec()
xbShort GetStatus()
Definition: xbfilter.h:65
xbFilter(xbDbf *dbf, xbIndex *index, char *expression)
virtual ~xbFilter()
xbExpn * flExpn
Definition: xbfilter.h:70
xbShort Status
Definition: xbfilter.h:69
xbDbf * d
Definition: xbfilter.h:71
xbShort GetNextFilterRec()
xbShort GetLastFilterRec()
xbShort GetFirstFilterRec()
xbIndex * i
Definition: xbfilter.h:72
xbULong CurFilterRecNo
Definition: xbfilter.h:68
xbIndex class
Definition: xbindex.h:63
#define XBDLLEXPORT
Definition: xbase64.h:86
short int xbShort
xbShort type
Definition: xbtypes.h:60
unsigned long int xbULong
xbULong type
Definition: xbtypes.h:50