dbCompiler Class Reference

#include <compiler.h>

List of all members.

Public Types

enum  {
  maxStrLen = 4096,
  maxFreeVars = 4
}

Public Member Functions

void compare (dbExprNode *expr, dbExprNode *list)
int scan ()
void ungetToken (int tkn)
void error (const char *msg, int pos=-1)
dbExprNodeconjunction ()
dbExprNodedisjunction ()
dbExprNodecomparison ()
dbExprNodeaddition ()
dbExprNodemultiplication ()
dbExprNodepower ()
dbExprNodeterm ()
dbExprNodebuildList ()
dbExprNodeuserDefinedOperator ()
dbExprNodefield (dbExprNode *expr, dbTableDescriptor *refTable, dbFieldDescriptor *fd)
bool compile (dbTableDescriptor *table, dbQuery &query)
dbExprNodecompileExpression (dbTableDescriptor *table, char const *expr, int startPos)
void compileOrderByPart (dbQuery &query)
void compileLimitPart (dbQuery &query)
void compileStartFollowPart (dbQuery &query)
void deleteNode (dbExprNode *node)
dbExprNoderectangleConstant (dbExprNode *head)
 dbCompiler ()

Public Attributes

dbTableDescriptortable
dbQueryElementqueryElement
int currPos
int firstPos
int offsetWithinStatement
int bvalue
db_int8 ivalue
real8 fvalue
dbStrLiteral svalue
bool hasToken
int lex
char * name
dbBindingbindings
int nFreeVars
int varType
void const * varPtr
dbTableDescriptorvarRefTable
jmp_buf abortCompilation

Static Public Attributes

static bool initialized

Friends

class dbQuery
class dbQueryElement


Member Enumeration Documentation

anonymous enum

Enumerator:
maxStrLen 
maxFreeVars 


Constructor & Destructor Documentation

dbCompiler (  ) 


Member Function Documentation

void compare ( dbExprNode expr,
dbExprNode list 
)

int scan (  ) 

void ungetToken ( int  tkn  )  [inline]

void error ( const char *  msg,
int  pos = -1 
)

dbExprNode * conjunction (  ) 

dbExprNode * disjunction (  ) 

dbExprNode * comparison (  ) 

dbExprNode * addition (  ) 

dbExprNode * multiplication (  ) 

dbExprNode * power (  ) 

dbExprNode * term (  ) 

dbExprNode * buildList (  ) 

dbExprNode * userDefinedOperator (  ) 

dbExprNode * field ( dbExprNode expr,
dbTableDescriptor refTable,
dbFieldDescriptor fd 
)

bool compile ( dbTableDescriptor table,
dbQuery query 
)

dbExprNode * compileExpression ( dbTableDescriptor table,
char const *  expr,
int  startPos 
)

void compileOrderByPart ( dbQuery query  ) 

void compileLimitPart ( dbQuery query  ) 

void compileStartFollowPart ( dbQuery query  ) 

void deleteNode ( dbExprNode node  ) 

dbExprNode * rectangleConstant ( dbExprNode head  ) 


Friends And Related Function Documentation

friend class dbQuery [friend]

friend class dbQueryElement [friend]


Member Data Documentation

int currPos

int firstPos

int bvalue

bool hasToken

int lex

char* name

int nFreeVars

int varType

void const* varPtr

bool initialized [static]


Online Library Docs

sipXecs home page

Version 4.2.1-018930 2010-07-31T01:13:23 build16 abuild