22#ifdef CMAKE_COMPILER_IS_GNUCC
32struct XBDLLEXPORT xbSqlFld{
45struct XBDLLEXPORT xbTblJoin {
60 xbLinkList<xbTblJoin *> llSubList;
66class XBDLLEXPORT xbStmt :
public xbSsv{
72 #ifdef XB_DEBUG_SUPPORT
73 xbInt16 DumpStmtInternals();
77 xbInt16 ExecuteQuery(
const xbString &sCmdLine );
89 xbInt16 AddQryTbl(
const xbString &sTable,
const xbString &sAlias,
const xbString &sExpression,
const char cJoinType );
90 xbInt16 CvtSqlExp2DbaseExp(
const xbString &sExpIn, xbString &sExpOut );
91 xbInt16 GetNextFromSeg(
const xbString &sLineIn, xbString &sFromSegOut );
92 xbUInt32 GetNextToken(
const xbString &sCmdLineIn, xbString &sTokenOut, xbUInt32 ulStartPos );
93 xbInt16 GetParenCnt(
const xbString &sToken );
94 xbInt16 ParseFromStmt(
const xbString &sFromLine );
95 xbInt16 ParseStmt(
const xbString &sCmdLine );
96 xbInt16 ProcessFromSeg(
const xbString &sFromStmtSeg );
97 xbInt16 UpdateJoinList(
char cType,
const xbString &sTableName,
const xbString &sAlias,
const xbString &sExp,
xbDbf *d, xbExp *e );
102 xbTblJoin * pTblList;
113 xbUInt32 ulOrderByPos;
114 xbUInt32 ulGroupByPos;
115 xbUInt32 ulHavingPos;
121class XBDLLEXPORT xbSql :
public xbSsv {
127 xbInt16 ExecuteNonQuery(
const xbString &sCmdLine );
134 xbInt16 SqlAlterTable(
const xbString &sCmdLine );
135 xbInt16 SqlCreateTable(
const xbString &sCmdLine );
136 xbInt16 SqlDelete(
const xbString &sCmdLine );
137 xbInt16 SqlDropTable(
const xbString &sCmdLine );
139 #ifdef XB_INDEX_SUPPORT
140 xbInt16 SqlCreateIndex(
const xbString &sCmdLine );
141 xbInt16 SqlDropIndex(
const xbString &sCmdLine );
149 void SqlHelp()
const;
150 xbInt16 SqlInsert(
const xbString &sCmLine );
151 xbInt16 SqlSet(
const xbString &sCmdLine );
152 xbInt16 SqlUse(
const xbString &sCmdLine );
Definition: xbdate.cpp:19
class XBDLLEXPORT xbXBase
Definition: xbssv.h:27
class XBDLLEXPORT xbDbf
Definition: xbtblmgr.h:28