2 * Copyright (c) 1998-2005, Index Data.
3 * See the file LICENSE for details.
5 * $Id: z-query.h,v 1.3 2007-03-20 07:54:11 adam Exp $
8 #ifndef YAZPP_Z_QUERY_INCLUDED
9 #define YAZPP_Z_QUERY_INCLUDED
11 #include <yaz/proto.h>
12 #include <yazpp/query.h>
18 class YAZ_EXPORT Yaz_Z_Query : public Yaz_Query {
23 Yaz_Z_Query(const Yaz_Z_Query &q);
25 virtual ~Yaz_Z_Query();
27 int set_rpn (const char *rpn);
29 void set_Z_Query (Z_Query *z_query);
31 Z_Query *get_Z_Query ();
33 void print(char *str, size_t len);
35 int match(const Yaz_Z_Query *other);
37 Yaz_Z_Query &operator=(const Yaz_Z_Query &);
38 /// Assign RPN string to it
39 Yaz_Z_Query& operator=(const char *rpn);
52 * indent-tabs-mode: nil
54 * vim: shiftwidth=4 tabstop=8 expandtab