X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Ffilter_cql_to_rpn.hpp;h=a61724a5a8701144d1b685ed5a23350d3af5e1e4;hb=13447dbaee9e465d4da72b8914810e8ee4f632c6;hp=d1c4de5585c828df2c30edc34537eb2002f8b75f;hpb=d625b10d219f5ece1aa7632e6cff2fcc5fcbd632;p=metaproxy-moved-to-github.git diff --git a/src/filter_cql_to_rpn.hpp b/src/filter_cql_to_rpn.hpp index d1c4de5..a61724a 100644 --- a/src/filter_cql_to_rpn.hpp +++ b/src/filter_cql_to_rpn.hpp @@ -1,8 +1,20 @@ -/* $Id: filter_cql_to_rpn.hpp,v 1.1 2007-01-12 10:16:21 adam Exp $ - Copyright (c) 2005-2006, Index Data. +/* This file is part of Metaproxy. + Copyright (C) 2005-2013 Index Data - See the LICENSE file for details - */ +Metaproxy is free software; you can redistribute it and/or modify it under +the terms of the GNU General Public License as published by the Free +Software Foundation; either version 2, or (at your option) any later +version. + +Metaproxy is distributed in the hope that it will be useful, but WITHOUT ANY +WARRANTY; without even the implied warranty of MERCHANTABILITY or +FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +*/ #ifndef FILTER_CQL_TO_RPN_HPP #define FILTER_CQL_TO_RPN_HPP @@ -10,34 +22,35 @@ #include #include -#include "filter.hpp" +#include namespace metaproxy_1 { namespace filter { - class CQL_to_RPN : public Base { - class Rep; + class CQLtoRPN : public Base { + class Impl; + boost::scoped_ptr m_p; public: - CQL_to_RPN(); - ~CQL_to_RPN(); + CQLtoRPN(); + ~CQLtoRPN(); void process(metaproxy_1::Package & package) const; - void configure(const xmlNode * ptr); + void configure(const xmlNode * ptr, bool test_only, + const char *path); private: - class Impl; - boost::scoped_ptr m_p; }; } } extern "C" { - extern struct metaproxy_1_filter_struct metaproxy_1_filter_cql_to_rpn; + extern struct metaproxy_1_filter_struct metaproxy_1_filter_cql_rpn; } #endif /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil - * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +