NCBI C++ ToolKit
bdb_query_parser.hpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef BDB___QUERY_PARSER__HPP
2 #define BDB___QUERY_PARSER__HPP
3 /* $Id: bdb_query_parser.hpp 42205 2009-06-15 15:40:12Z ivanovp $
4  * ===========================================================================
5  *
6  * PUBLIC DOMAIN NOTICE
7  * National Center for Biotechnology Information
8  *
9  * This software/database is a "United States Government Work" under the
10  * terms of the United States Copyright Act. It was written as part of
11  * the author's official duties as a United States Government employee and
12  * thus cannot be copyrighted. This software/database is freely available
13  * to the public for use. The National Library of Medicine and the U.S.
14  * Government have not placed any restriction on its use or reproduction.
15  *
16  * Although all reasonable efforts have been taken to ensure the accuracy
17  * and reliability of the software and data, the NLM and the U.S.
18  * Government do not and cannot warrant the performance or results that
19  * may be obtained by using this software or data. The NLM and the U.S.
20  * Government disclaim all warranties, express or implied, including
21  * warranties of performance, merchantability or fitness for any particular
22  * purpose.
23  *
24  * Please cite the author in any work or product based on this material.
25  *
26  * ===========================================================================
27  *
28  * Author: Anatoliy Kuznetsov
29  *
30  * File Description:
31  * Query parser.
32  *
33  */
34 
35 /// @file bdb_query_parser.hpp
36 /// Query parser for BDB library.
37 
38 
39 #include <corelib/ncbistd.hpp>
40 #include <db/bdb/bdb_query.hpp>
41 
43 
44 /** @addtogroup BDB_Query
45  *
46  * @{
47  */
48 
49 /// Parse query string, build the correct the query statement.
50 ///
51 /// @param
52 /// query_str - source query string
53 /// @param
54 /// query - query object owns the statement (query clause tree) after
55 /// successful parsing.
56 void NCBI_BDB_EXPORT BDB_ParseQuery(const char* query_str, CBDB_Query* query);
57 
58 /* @} */
59 
61 
62 #endif
Queries for BDB library.
Query class incapsulates query tree (query clause) and implements set of utility methods to construct...
Definition: bdb_query.hpp:139
Include a standard set of the NCBI C++ Toolkit most basic headers.
void BDB_ParseQuery(const char *query_str, CBDB_Query *query)
Parse query string, build the correct the query statement.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
#define NCBI_BDB_EXPORT
Definition: ncbi_export.h:272
static string query
Modified on Tue May 21 10:53:32 2024 by modify_doxy.py rev. 669887