Xbase64 Class Library
3.1.2
Main Page
Classes
Files
File List
File Members
xbase64
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
55
class
XBDLLEXPORT
xbFilter
56
{
57
public
:
58
xbFilter
(
xbDbf
* dbf,
xbIndex
* index,
char
* expression );
59
virtual
~
xbFilter
();
60
61
xbShort
GetFirstFilterRec();
62
xbShort
GetLastFilterRec();
63
xbShort
GetNextFilterRec();
64
xbShort
GetPrevFilterRec();
65
xbShort
GetStatus
() {
return
Status; }
66
67
protected
:
68
xbULong
CurFilterRecNo
;
69
xbShort
Status
;
70
xbExpn *
flExpn
;
71
xbDbf
*
d
;
72
xbIndex
*
i
;
73
};
74
75
#endif
Generated by
1.8.1.2