Xbase64 4.0.1
C++ Library for handling Xbase (DBF) format type files
Functions
xb_test_expression.cpp File Reference
#include "xbase.h"
#include "tstfuncs.cpp"

Functions

DOXYOFF xbInt16 DevTester (xbXBase *xb, xbDbf *dbf, const char *sExpIn)
 
xbInt16 TestWeight (xbXBase *xb, xbInt16 iPrintOption, const char *title, const char *sOperator, xbInt16 iExpectedWeight)
 
xbInt16 TestTokenMethod (xbXBase *xb, xbInt16 iPrintOption, const char *title, const char *sExpression, const char *sExpectedToken, const char *sExpectedRemainder, char cExpectedNodeType, char cExpectedReturnType, xbInt16 iErc, xbInt16 iTrc)
 
xbInt16 TestMethod (xbXBase *xb, xbDbf *d, xbInt16 PrintOption, const char *title, const xbString &sExpression, const char *sExpectedResult, xbInt16 iExpectedResultLen)
 
xbInt16 TestMethod (xbXBase *xb, xbDbf *d, xbInt16 PrintOption, const char *title, const xbString &sExpression, xbDouble dExpectedResult)
 
xbInt16 TestMethod (xbXBase *xb, xbDbf *d, xbInt16 PrintOption, const char *title, const xbString &sExpression, xbDate dtExpectedResult)
 
xbInt16 TestMethod (xbXBase *xb, xbDbf *d, xbInt16 PrintOption, const char *title, const xbString &sExpression, xbBool bExpectedResult)
 
int main (int argCnt, char **av)
 

Function Documentation

◆ DevTester()

DOXYOFF xbInt16 DevTester ( xbXBase xb,
xbDbf dbf,
const char *  sExpIn 
)

◆ main()

int main ( int  argCnt,
char **  av 
)

◆ TestMethod() [1/4]

xbInt16 TestMethod ( xbXBase xb,
xbDbf d,
xbInt16  PrintOption,
const char *  title,
const xbString sExpression,
const char *  sExpectedResult,
xbInt16  iExpectedResultLen 
)

◆ TestMethod() [2/4]

xbInt16 TestMethod ( xbXBase xb,
xbDbf d,
xbInt16  PrintOption,
const char *  title,
const xbString sExpression,
xbBool  bExpectedResult 
)

◆ TestMethod() [3/4]

xbInt16 TestMethod ( xbXBase xb,
xbDbf d,
xbInt16  PrintOption,
const char *  title,
const xbString sExpression,
xbDate  dtExpectedResult 
)

◆ TestMethod() [4/4]

xbInt16 TestMethod ( xbXBase xb,
xbDbf d,
xbInt16  PrintOption,
const char *  title,
const xbString sExpression,
xbDouble  dExpectedResult 
)

◆ TestTokenMethod()

xbInt16 TestTokenMethod ( xbXBase xb,
xbInt16  iPrintOption,
const char *  title,
const char *  sExpression,
const char *  sExpectedToken,
const char *  sExpectedRemainder,
char  cExpectedNodeType,
char  cExpectedReturnType,
xbInt16  iErc,
xbInt16  iTrc 
)

◆ TestWeight()

xbInt16 TestWeight ( xbXBase xb,
xbInt16  iPrintOption,
const char *  title,
const char *  sOperator,
xbInt16  iExpectedWeight 
)