83aaa306b31ed29bee56b1f93ead238cf7a07b79
[yazpp-moved-to-github.git] / include / yazpp / cql2rpn.h
1 /*
2  * Copyright (c) 1998-2004, Index Data.
3  * See the file LICENSE for details.
4  * 
5  * $Id: cql2rpn.h,v 1.2 2007-01-12 10:09:25 adam Exp $
6  */
7
8 #include <yaz/cql.h>
9 #include <yaz/z-core.h>
10
11 namespace yazpp_1 {
12 class YAZ_EXPORT Yaz_cql2rpn {
13  public:
14     Yaz_cql2rpn();
15     ~Yaz_cql2rpn();
16     void set_pqf_file(const char *fname);
17     bool parse_spec_file(const char *fname, int *error);
18     int query_transform(const char *cql, Z_RPNQuery **rpnquery, ODR o,
19                         char **addinfop);
20  private:
21     cql_transform_t m_transform;
22 };
23 };
24
25 /*
26  * Local variables:
27  * c-basic-offset: 4
28  * indent-tabs-mode: nil
29  * End:
30  * vim: shiftwidth=4 tabstop=8 expandtab
31  */
32