Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

xbfilter.h

Go to the documentation of this file.
00001 /*  xbfilter.h
00002 
00003     Xbase project source code
00004   
00005     This file conatains a header file for the xbFilter object which
00006     is used for filtering data.
00007 
00008     Copyright (C) 1997  Startech, Gary A. Kunkel   
00009 
00010     This library is free software; you can redistribute it and/or
00011     modify it under the terms of the GNU Lesser General Public
00012     License as published by the Free Software Foundation; either
00013     version 2.1 of the License, or (at your option) any later version.
00014 
00015     This library is distributed in the hope that it will be useful,
00016     but WITHOUT ANY WARRANTY; without even the implied warranty of
00017     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00018     Lesser General Public License for more details.
00019 
00020     You should have received a copy of the GNU Lesser General Public
00021     License along with this library; if not, write to the Free Software
00022     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
00023 
00024     Contact:
00025 
00026       Mail:
00027 
00028         Technology Associates, Inc.
00029         XBase Project
00030         1455 Deming Way #11
00031         Sparks, NV 89434
00032         USA
00033 
00034       Email:
00035 
00036         xbase@techass.com
00037 
00038       See our website at:
00039 
00040         xdb.sourceforge.net
00041 
00042 
00043     V 1.0   10/10/97   - Initial release of software
00044     V 1.5   1/2/97     - Added memo field support
00045     V 1.6a  4/1/98     - Added expression support
00046     V 1.6b  4/8/98     - Numeric index keys 
00047 */
00048 
00052 #ifndef __XB_FILTER_H__
00053 #define __XB_FILTER_H__
00054 
00055 #ifdef __GNUG__
00056 #pragma interface
00057 #endif
00058 
00060 
00063 class XBDLLEXPORT xbFilter {
00064   public:
00065    xbFilter( xbDbf * dbf, xbIndex * index, char * expression );
00066    xbShort GetFirstFilterRec();
00067    xbShort GetLastFilterRec();
00068    xbShort GetNextFilterRec();
00069    xbShort GetPrevFilterRec();
00070   protected:
00071    xbULong CurFilterRecNo;
00072    xbShort Status;
00073    xbExpNode *e;
00074    xbDbf *d;
00075    xbIndex *i;
00076 };
00077 
00078 #endif

Generated on Mon Aug 27 15:35:22 2007 for Xbase Class Library by  doxygen 1.3.9.1