Xbase Class Library
2.0.0
Main Page
Classes
Files
File List
File Members
xbase
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 Startech, Gary A. Kunkel
9
10
This library is free software; you can redistribute it and/or
11
modify it under the terms of the GNU Lesser General Public
12
License as published by the Free Software Foundation; either
13
version 2.1 of the License, or (at your option) any later version.
14
15
This library 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 GNU
18
Lesser General Public License for more details.
19
20
You should have received a copy of the GNU Lesser General Public
21
License along with this library; if not, write to the Free Software
22
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
23
24
Contact:
25
26
Mail:
27
28
Technology Associates, Inc.
29
XBase Project
30
1455 Deming Way #11
31
Sparks, NV 89434
32
USA
33
34
Email:
35
36
xbase@techass.com
37
38
See our website at:
39
40
xdb.sourceforge.net
41
42
43
V 1.0 10/10/97 - Initial release of software
44
V 1.5 1/2/97 - Added memo field support
45
V 1.6a 4/1/98 - Added expression support
46
V 1.6b 4/8/98 - Numeric index keys
47
*/
48
52
#ifndef __XB_FILTER_H__
53
#define __XB_FILTER_H__
54
55
#ifdef __GNUG__
56
#pragma interface
57
#endif
58
60
63
class
XBDLLEXPORT
xbFilter
{
64
public
:
65
xbFilter
(
xbDbf
* dbf,
xbIndex
* index,
char
* expression );
66
xbShort
GetFirstFilterRec();
67
xbShort
GetLastFilterRec();
68
xbShort
GetNextFilterRec();
69
xbShort
GetPrevFilterRec();
70
protected
:
71
xbULong
CurFilterRecNo
;
72
xbShort
Status
;
73
xbExpNode *
e
;
74
xbDbf
*
d
;
75
xbIndex
*
i
;
76
};
77
78
#endif
Generated by
1.8.2