vdkxdb 2.4.0
Main Page
Classes
Files
File List
include
vdkxdb2
vdkxparser.h
1
/*
2
* ===========================
3
* VDK Visual Development Kit
4
* xdb subsystem
5
* ===========================
6
*
7
* Copyright (C) 1998,2004, Mario Motta
8
* Developed by Mario Motta <mmotta@guest.net>
9
*
10
* This library is free software; you can redistribute it and/or
11
* modify it under the terms of the GNU Library General Public
12
* License as published by the Free Software Foundation; either
13
* version 2 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
* Library General Public License for more details.
19
*
20
* You should have received a copy of the GNU Library 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
23
* 02111-1307, USA.
24
*/
25
#ifndef _vdkxparser_h
26
#define _vdkxparser_h
27
28
#include <vdkxdb2/vdkxdb.h>
29
#include <vdkxdb2/vdkxtable.h>
30
class
VDKXParser
31
{
32
33
protected
:
34
VDKXDatabase
* xdb;
35
VDKXTable
* table;
36
char
type;
37
char
*expr;
38
public
:
39
VDKXParser(
VDKXDatabase
* xdb,
VDKXTable
* table = NULL);
40
virtual
~VDKXParser();
41
xbShort Parse(
char
* opnd1,
char
* opr = NULL,
char
* opnd2 = NULL );
42
char
* Expression();
43
char
ResultType();
44
int
GetIntResult();
45
double
GetDoubleResult();
46
const
char
* GetStringResult() ;
47
};
48
#endif
49
Generated on Sat Dec 1 2012 03:10:38 for vdkxdb 2.4.0 by
1.8.1.2