BDB library queries
[BDB]

Collaboration diagram for BDB library queries:


Classes

class  CBDB_QueryNode
 Query node class. More...
class  CBDB_Query
 Query class incapsulates query tree (query clause) and implements set of utility methods to construct query trees. More...
class  CBDB_FileScanner
 Scans the BDB file, searches the matching records. More...

Functions

void BDB_PrintQueryTree (CNcbiOstream &os, const CBDB_Query &query)
 Function prints the query tree on the specified ostream (Intended more for debugging purposes).
void BDB_ParseQuery (const char *query_str, CBDB_Query *query)
 Parse query string, build the correct the query statement.


Function Documentation

void BDB_ParseQuery const char *  query_str,
CBDB_Query query
 

Parse query string, build the correct the query statement.

Parameters:
query_str - source query string
query - query object owns the statement (query clause tree) after successful parsing.

Definition at line 187 of file bdb_query_parser_main.cpp.

References CResourcePool_Base< Value, Lock, CF >::ForgetAll(), CResourcePool_Base< Value, Lock, CF >::GetFreeList(), query, and yyparse.

Referenced by CLDS_Query::FindSequences(), and CBDB_FileDumper::SetQuery().

void BDB_PrintQueryTree CNcbiOstream os,
const CBDB_Query query
 

Function prints the query tree on the specified ostream (Intended more for debugging purposes).

Definition at line 1112 of file bdb_query.cpp.

References query, and TreeDepthFirstTraverse().


Generated on Mon Dec 7 16:02:12 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:24:36 2009 by modify_doxy.py rev. 173732